{"action":"created","issue":{"url":"https://api.github.com/repos/USGS-R/dataRetrieval/issues/219","repository_url":"https://api.github.com/repos/USGS-R/dataRetrieval","labels_url":"https://api.github.com/repos/USGS-R/dataRetrieval/issues/219/labels{/name}","comments_url":"https://api.github.com/repos/USGS-R/dataRetrieval/issues/219/comments","events_url":"https://api.github.com/repos/USGS-R/dataRetrieval/issues/219/events","html_url":"https://github.com/USGS-R/dataRetrieval/issues/219","id":154118956,"number":219,"title":"15 minutes intervals","user":{"login":"FelipeCarrillo","id":130116,"avatar_url":"https://avatars.githubusercontent.com/u/130116?v=3","gravatar_id":"","url":"https://api.github.com/users/FelipeCarrillo","html_url":"https://github.com/FelipeCarrillo","followers_url":"https://api.github.com/users/FelipeCarrillo/followers","following_url":"https://api.github.com/users/FelipeCarrillo/following{/other_user}","gists_url":"https://api.github.com/users/FelipeCarrillo/gists{/gist_id}","starred_url":"https://api.github.com/users/FelipeCarrillo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FelipeCarrillo/subscriptions","organizations_url":"https://api.github.com/users/FelipeCarrillo/orgs","repos_url":"https://api.github.com/users/FelipeCarrillo/repos","events_url":"https://api.github.com/users/FelipeCarrillo/events{/privacy}","received_events_url":"https://api.github.com/users/FelipeCarrillo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-10T22:13:46Z","updated_at":"2016-05-12T14:32:42Z","closed_at":null,"body":"Hi;\r\nCould you show me how to download flow data in 15 minutes, hourly intervals from a site near Sacramento CA?"},"comment":{"url":"https://api.github.com/repos/USGS-R/dataRetrieval/issues/comments/218775865","html_url":"https://github.com/USGS-R/dataRetrieval/issues/219#issuecomment-218775865","issue_url":"https://api.github.com/repos/USGS-R/dataRetrieval/issues/219","id":218775865,"user":{"login":"ldecicco-USGS","id":1105215,"avatar_url":"https://avatars.githubusercontent.com/u/1105215?v=3","gravatar_id":"","url":"https://api.github.com/users/ldecicco-USGS","html_url":"https://github.com/ldecicco-USGS","followers_url":"https://api.github.com/users/ldecicco-USGS/followers","following_url":"https://api.github.com/users/ldecicco-USGS/following{/other_user}","gists_url":"https://api.github.com/users/ldecicco-USGS/gists{/gist_id}","starred_url":"https://api.github.com/users/ldecicco-USGS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ldecicco-USGS/subscriptions","organizations_url":"https://api.github.com/users/ldecicco-USGS/orgs","repos_url":"https://api.github.com/users/ldecicco-USGS/repos","events_url":"https://api.github.com/users/ldecicco-USGS/events{/privacy}","received_events_url":"https://api.github.com/users/ldecicco-USGS/received_events","type":"User","site_admin":false},"created_at":"2016-05-12T14:32:42Z","updated_at":"2016-05-12T14:32:42Z","body":"You can only retrieve the data that is available, so if the discharge sensor is set for 15-minute intervals, that is what the `readNWISuv` function will return. You can use R to aggregate the 15 minute data to hourly, but `dataRetrieval` wouldn't do that directly.\r\n\r\nI'm not sure exactly how you'd want to do the calculations, there are a lot of ways to go about it in R. `dplyr` is my go-to package for that kind of stuff. You could create a new column that is hours, group_by hours, and mutate to make a mean....but there are lots of other ways to do it too, pick your favorite.\r\n\r\n"}}