{"action":"created","issue":{"url":"https://api.github.com/repos/ropensci/osmdata/issues/73","repository_url":"https://api.github.com/repos/ropensci/osmdata","labels_url":"https://api.github.com/repos/ropensci/osmdata/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/ropensci/osmdata/issues/73/comments","events_url":"https://api.github.com/repos/ropensci/osmdata/issues/73/events","html_url":"https://github.com/ropensci/osmdata/issues/73","id":240474722,"number":73,"title":"add_feature, value_exact = FALSE, missing?","user":{"login":"sytpp","id":8035937,"avatar_url":"https://avatars1.githubusercontent.com/u/8035937?v=3","gravatar_id":"","url":"https://api.github.com/users/sytpp","html_url":"https://github.com/sytpp","followers_url":"https://api.github.com/users/sytpp/followers","following_url":"https://api.github.com/users/sytpp/following{/other_user}","gists_url":"https://api.github.com/users/sytpp/gists{/gist_id}","starred_url":"https://api.github.com/users/sytpp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sytpp/subscriptions","organizations_url":"https://api.github.com/users/sytpp/orgs","repos_url":"https://api.github.com/users/sytpp/repos","events_url":"https://api.github.com/users/sytpp/events{/privacy}","received_events_url":"https://api.github.com/users/sytpp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-07-04T17:47:59Z","updated_at":"2017-07-05T10:16:43Z","closed_at":null,"body":"I had some trouble getting my head around the key_exact parameter in the add_feature function. If I'd like to add various street types, say everything with the key='highway' and value = anything ending in \"-ary\":\r\n\r\n`q <- add_feature(q, key=\"highway\", value=\"ary\", key_exact = TRUE)\r\n`\r\nUsing this query my resulting OSM object is empty.\r\n\r\nI have to overwrite the q$feature element explicitly to get the output I want.\r\n\r\n`q$features[1] <- \"[\\\"highway\\\"~\\\"ary\\\"]\"`\r\n  \r\nIs there a different way to achieve basically value_exact=FALSE ?\r\n"},"comment":{"url":"https://api.github.com/repos/ropensci/osmdata/issues/comments/313062696","html_url":"https://github.com/ropensci/osmdata/issues/73#issuecomment-313062696","issue_url":"https://api.github.com/repos/ropensci/osmdata/issues/73","id":313062696,"user":{"login":"sytpp","id":8035937,"avatar_url":"https://avatars1.githubusercontent.com/u/8035937?v=3","gravatar_id":"","url":"https://api.github.com/users/sytpp","html_url":"https://github.com/sytpp","followers_url":"https://api.github.com/users/sytpp/followers","following_url":"https://api.github.com/users/sytpp/following{/other_user}","gists_url":"https://api.github.com/users/sytpp/gists{/gist_id}","starred_url":"https://api.github.com/users/sytpp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sytpp/subscriptions","organizations_url":"https://api.github.com/users/sytpp/orgs","repos_url":"https://api.github.com/users/sytpp/repos","events_url":"https://api.github.com/users/sytpp/events{/privacy}","received_events_url":"https://api.github.com/users/sytpp/received_events","type":"User","site_admin":false},"created_at":"2017-07-05T10:16:42Z","updated_at":"2017-07-05T10:16:42Z","body":"Oh, right I had the wrong version - thanks a lot!\n\n\n> On 5 Jul 2017, at 10:35, mark padgham <notifications@github.com> wrote:\n> \n> Oh, but this was only implemented in 0.0.3 (i think), so maybe just make sure you've got latest version installed (0.0.4)?\n> \n> —\n> You are receiving this because you authored the thread.\n> Reply to this email directly, view it on GitHub <https://github.com/ropensci/osmdata/issues/73#issuecomment-313052999>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AHqeYSvPvXBRhaKDgPT1l-xqtLGNq2m7ks5sK1jRgaJpZM4ONlk0>.\n> \n\n"}}
{"actor":{"display_login":"sytpp"}}