{"action":"created","issue":{"url":"https://api.github.com/repos/marinasirk/Iskalnik-pesmi/issues/7","repository_url":"https://api.github.com/repos/marinasirk/Iskalnik-pesmi","labels_url":"https://api.github.com/repos/marinasirk/Iskalnik-pesmi/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/marinasirk/Iskalnik-pesmi/issues/7/comments","events_url":"https://api.github.com/repos/marinasirk/Iskalnik-pesmi/issues/7/events","html_url":"https://github.com/marinasirk/Iskalnik-pesmi/issues/7","id":342441814,"node_id":"MDU6SXNzdWUzNDI0NDE4MTQ=","number":7,"title":"Ponovljene pesmi","user":{"login":"jaanos","id":6708236,"node_id":"MDQ6VXNlcjY3MDgyMzY=","avatar_url":"https://avatars3.githubusercontent.com/u/6708236?v=4","gravatar_id":"","url":"https://api.github.com/users/jaanos","html_url":"https://github.com/jaanos","followers_url":"https://api.github.com/users/jaanos/followers","following_url":"https://api.github.com/users/jaanos/following{/other_user}","gists_url":"https://api.github.com/users/jaanos/gists{/gist_id}","starred_url":"https://api.github.com/users/jaanos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaanos/subscriptions","organizations_url":"https://api.github.com/users/jaanos/orgs","repos_url":"https://api.github.com/users/jaanos/repos","events_url":"https://api.github.com/users/jaanos/events{/privacy}","received_events_url":"https://api.github.com/users/jaanos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-07-18T18:28:40Z","updated_at":"2018-08-19T22:45:44Z","closed_at":null,"author_association":"NONE","body":"Če v zavihku **Iskanje po pesmi** vpišem naslov pesmi, ki se v bazi pojavi večkrat (npr. *Thriller*), potem pride do napake. Svetujem, da podatke raje pridobite z eno samo poizvedbo (npr. z ustrezno uporabo `inner_join`) - rezultate lahko potem prikažete kot tabelo z vsemi relevantnimi podatki (ta ima lahko seveda več vrstic).\r\n\r\nSvetoval bi še, da namesto točnih poizvedb dovolite delna ujemanja - v ta namen lahko uporabite Postgresov operator `ILIKE`, ki poskrbi, da se velikost črk ne upošteva. Niz za primerjavo pripravite tako, da z `||` na začetek in konec dodaste `%`. Postgresove operatorje lahko v R uporabite tako, da jih daste med procente, npr.\r\n```R\r\ntbl.pesem %>% filter(naslov %ILIKE% \"%\" %||% input$pesem1 %||% \"%\")\r\n```\r\n\r\nTudi v ostalih zavihkih svetujem, da prikažete vse podatke (torej še izvajalca, album in zvrst). Da se ne bi hkrati prikazalo preveč podatkov, lahko omejite največje število prikazanih zadetkov (uporabite `head`)."},"comment":{"url":"https://api.github.com/repos/marinasirk/Iskalnik-pesmi/issues/comments/414161406","html_url":"https://github.com/marinasirk/Iskalnik-pesmi/issues/7#issuecomment-414161406","issue_url":"https://api.github.com/repos/marinasirk/Iskalnik-pesmi/issues/7","id":414161406,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDE2MTQwNg==","user":{"login":"jaanos","id":6708236,"node_id":"MDQ6VXNlcjY3MDgyMzY=","avatar_url":"https://avatars3.githubusercontent.com/u/6708236?v=4","gravatar_id":"","url":"https://api.github.com/users/jaanos","html_url":"https://github.com/jaanos","followers_url":"https://api.github.com/users/jaanos/followers","following_url":"https://api.github.com/users/jaanos/following{/other_user}","gists_url":"https://api.github.com/users/jaanos/gists{/gist_id}","starred_url":"https://api.github.com/users/jaanos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaanos/subscriptions","organizations_url":"https://api.github.com/users/jaanos/orgs","repos_url":"https://api.github.com/users/jaanos/repos","events_url":"https://api.github.com/users/jaanos/events{/privacy}","received_events_url":"https://api.github.com/users/jaanos/received_events","type":"User","site_admin":false},"created_at":"2018-08-19T22:45:44Z","updated_at":"2018-08-19T22:45:44Z","author_association":"NONE","body":"Še to: opazil sem, da v tabelah `ima`, `izvaja`, `nahaja` in `nosi` nimate nastavljenih glavnih ključev. V vseh primerih bi seveda bilo smiselno, da glavni ključ sestoji iz obeh stolpcev tabele."}}
{"actor":{"display_login":"jaanos"}}