{"action":"created","issue":{"url":"https://api.github.com/repos/USGS-R/mda.streams/issues/222","repository_url":"https://api.github.com/repos/USGS-R/mda.streams","labels_url":"https://api.github.com/repos/USGS-R/mda.streams/issues/222/labels{/name}","comments_url":"https://api.github.com/repos/USGS-R/mda.streams/issues/222/comments","events_url":"https://api.github.com/repos/USGS-R/mda.streams/issues/222/events","html_url":"https://github.com/USGS-R/mda.streams/pull/222","id":142710397,"number":222,"title":"code for using rds","user":{"login":"jread-usgs","id":2349007,"avatar_url":"https://avatars.githubusercontent.com/u/2349007?v=3","gravatar_id":"","url":"https://api.github.com/users/jread-usgs","html_url":"https://github.com/jread-usgs","followers_url":"https://api.github.com/users/jread-usgs/followers","following_url":"https://api.github.com/users/jread-usgs/following{/other_user}","gists_url":"https://api.github.com/users/jread-usgs/gists{/gist_id}","starred_url":"https://api.github.com/users/jread-usgs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jread-usgs/subscriptions","organizations_url":"https://api.github.com/users/jread-usgs/orgs","repos_url":"https://api.github.com/users/jread-usgs/repos","events_url":"https://api.github.com/users/jread-usgs/events{/privacy}","received_events_url":"https://api.github.com/users/jread-usgs/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/USGS-R/mda.streams/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-22T16:52:21Z","updated_at":"2016-03-22T18:53:47Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/USGS-R/mda.streams/pulls/222","html_url":"https://github.com/USGS-R/mda.streams/pull/222","diff_url":"https://github.com/USGS-R/mda.streams/pull/222.diff","patch_url":"https://github.com/USGS-R/mda.streams/pull/222.patch"},"body":"Note that `tsv` is still the default for all of these functions, and I think it should stay that way until we are ready to make the switch over. \r\n\r\nI have tested a number of cases here, including mixed versions on one ts (e.g., tsv and rds), using replace, merge, stop and skip on combinations. \r\n\r\n`tidyr` has been added to support the goofy thing we ran into with NWISweb services, where we can't assume a single column for data. This uses `gather` and figures out which data column actually has more data for that site, and uses it. Kind of goofy code in there, so if anyone has a better way of doing it...\r\n\r\nThis ended up touching a lot of code, so it will need a review. @aappling-usgs can you review?"},"comment":{"url":"https://api.github.com/repos/USGS-R/mda.streams/issues/comments/199960990","html_url":"https://github.com/USGS-R/mda.streams/pull/222#issuecomment-199960990","issue_url":"https://api.github.com/repos/USGS-R/mda.streams/issues/222","id":199960990,"user":{"login":"jread-usgs","id":2349007,"avatar_url":"https://avatars.githubusercontent.com/u/2349007?v=3","gravatar_id":"","url":"https://api.github.com/users/jread-usgs","html_url":"https://github.com/jread-usgs","followers_url":"https://api.github.com/users/jread-usgs/followers","following_url":"https://api.github.com/users/jread-usgs/following{/other_user}","gists_url":"https://api.github.com/users/jread-usgs/gists{/gist_id}","starred_url":"https://api.github.com/users/jread-usgs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jread-usgs/subscriptions","organizations_url":"https://api.github.com/users/jread-usgs/orgs","repos_url":"https://api.github.com/users/jread-usgs/repos","events_url":"https://api.github.com/users/jread-usgs/events{/privacy}","received_events_url":"https://api.github.com/users/jread-usgs/received_events","type":"User","site_admin":false},"created_at":"2016-03-22T18:53:47Z","updated_at":"2016-03-22T18:53:47Z","body":"working on fixing test that broke"}}