{"action":"created","comment":{"url":"https://api.github.com/repos/USGS-R/dataRetrieval/pulls/comments/64923768","id":64923768,"diff_hunk":"@@ -161,6 +161,13 @@ readWQPdata <- function(..., zip=FALSE, querySummary=FALSE){\n   if(querySummary){\n     queryHEAD <- HEAD(urlCall)\n     retquery <- headers(queryHEAD)\n+    countNames <- c('total-site-count', 'nwis-site-count', 'total-result-count', 'nwis-result-count')","path":"R/readWQPdata.R","position":4,"original_position":4,"commit_id":"6052c3d73567ccec335e5b203f0f357a527b7b7d","original_commit_id":"6052c3d73567ccec335e5b203f0f357a527b7b7d","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},"body":"So, can you make this a function (a la getWebServices), and then both functions can call it. Then, we only need to edit the one file if we want to modify the returned header output","created_at":"2016-05-27T15:35:47Z","updated_at":"2016-05-27T15:35:47Z","html_url":"https://github.com/USGS-R/dataRetrieval/pull/228#discussion_r64923768","pull_request_url":"https://api.github.com/repos/USGS-R/dataRetrieval/pulls/228","_links":{"self":{"href":"https://api.github.com/repos/USGS-R/dataRetrieval/pulls/comments/64923768"},"html":{"href":"https://github.com/USGS-R/dataRetrieval/pull/228#discussion_r64923768"},"pull_request":{"href":"https://api.github.com/repos/USGS-R/dataRetrieval/pulls/228"}}},"pull_request":{"url":"https://api.github.com/repos/USGS-R/dataRetrieval/pulls/228","id":71730948,"html_url":"https://github.com/USGS-R/dataRetrieval/pull/228","diff_url":"https://github.com/USGS-R/dataRetrieval/pull/228.diff","patch_url":"https://github.com/USGS-R/dataRetrieval/pull/228.patch","issue_url":"https://api.github.com/repos/USGS-R/dataRetrieval/issues/228","number":228,"state":"open","locked":false,"title":"format head request results","user":{"login":"lindsaycarr","id":13220910,"avatar_url":"https://avatars.githubusercontent.com/u/13220910?v=3","gravatar_id":"","url":"https://api.github.com/users/lindsaycarr","html_url":"https://github.com/lindsaycarr","followers_url":"https://api.github.com/users/lindsaycarr/followers","following_url":"https://api.github.com/users/lindsaycarr/following{/other_user}","gists_url":"https://api.github.com/users/lindsaycarr/gists{/gist_id}","starred_url":"https://api.github.com/users/lindsaycarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lindsaycarr/subscriptions","organizations_url":"https://api.github.com/users/lindsaycarr/orgs","repos_url":"https://api.github.com/users/lindsaycarr/repos","events_url":"https://api.github.com/users/lindsaycarr/events{/privacy}","received_events_url":"https://api.github.com/users/lindsaycarr/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-27T15:27:55Z","updated_at":"2016-05-27T15:35:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"899548e3317a3be605ef5fd6affa7454d28871af","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/USGS-R/dataRetrieval/pulls/228/commits","review_comments_url":"https://api.github.com/repos/USGS-R/dataRetrieval/pulls/228/comments","review_comment_url":"https://api.github.com/repos/USGS-R/dataRetrieval/pulls/comments{/number}","comments_url":"https://api.github.com/repos/USGS-R/dataRetrieval/issues/228/comments","statuses_url":"https://api.github.com/repos/USGS-R/dataRetrieval/statuses/6052c3d73567ccec335e5b203f0f357a527b7b7d","head":{"label":"lindsaycarr:master","ref":"master","sha":"6052c3d73567ccec335e5b203f0f357a527b7b7d","user":{"login":"lindsaycarr","id":13220910,"avatar_url":"https://avatars.githubusercontent.com/u/13220910?v=3","gravatar_id":"","url":"https://api.github.com/users/lindsaycarr","html_url":"https://github.com/lindsaycarr","followers_url":"https://api.github.com/users/lindsaycarr/followers","following_url":"https://api.github.com/users/lindsaycarr/following{/other_user}","gists_url":"https://api.github.com/users/lindsaycarr/gists{/gist_id}","starred_url":"https://api.github.com/users/lindsaycarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lindsaycarr/subscriptions","organizations_url":"https://api.github.com/users/lindsaycarr/orgs","repos_url":"https://api.github.com/users/lindsaycarr/repos","events_url":"https://api.github.com/users/lindsaycarr/events{/privacy}","received_events_url":"https://api.github.com/users/lindsaycarr/received_events","type":"User","site_admin":false},"repo":{"id":59311516,"name":"dataRetrieval","full_name":"lindsaycarr/dataRetrieval","owner":{"login":"lindsaycarr","id":13220910,"avatar_url":"https://avatars.githubusercontent.com/u/13220910?v=3","gravatar_id":"","url":"https://api.github.com/users/lindsaycarr","html_url":"https://github.com/lindsaycarr","followers_url":"https://api.github.com/users/lindsaycarr/followers","following_url":"https://api.github.com/users/lindsaycarr/following{/other_user}","gists_url":"https://api.github.com/users/lindsaycarr/gists{/gist_id}","starred_url":"https://api.github.com/users/lindsaycarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lindsaycarr/subscriptions","organizations_url":"https://api.github.com/users/lindsaycarr/orgs","repos_url":"https://api.github.com/users/lindsaycarr/repos","events_url":"https://api.github.com/users/lindsaycarr/events{/privacy}","received_events_url":"https://api.github.com/users/lindsaycarr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lindsaycarr/dataRetrieval","description":"This R package is designed to obtain its water quality sample data, streamflow data, and metadata directly from either the USGS  or EPA, as well as user-supplied text files.","fork":true,"url":"https://api.github.com/repos/lindsaycarr/dataRetrieval","forks_url":"https://api.github.com/repos/lindsaycarr/dataRetrieval/forks","keys_url":"https://api.github.com/repos/lindsaycarr/dataRetrieval/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lindsaycarr/dataRetrieval/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lindsaycarr/dataRetrieval/teams","hooks_url":"https://api.github.com/repos/lindsaycarr/dataRetrieval/hooks","issue_events_url":"https://api.github.com/repos/lindsaycarr/dataRetrieval/issues/events{/number}","events_url":"https://api.github.com/repos/lindsaycarr/dataRetrieval/events","assignees_url":"https://api.github.com/repos/lindsaycarr/dataRetrieval/assignees{/user}","branches_url":"https://api.github.com/repos/lindsaycarr/dataRetrieval/branches{/branch}","tags_url":"https://api.github.com/repos/lindsaycarr/dataRetrieval/tags","blobs_url":"https://api.github.com/repos/lindsaycarr/dataRetrieval/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lindsaycarr/dataRetrieval/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lindsaycarr/dataRetrieval/git/refs{/sha}","trees_url":"https://api.github.com/repos/lindsaycarr/dataRetrieval/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lindsaycarr/dataRetrieval/statuses/{sha}","languages_url":"https://api.github.com/repos/lindsaycarr/dataRetrieval/languages","stargazers_url":"https://api.github.com/repos/lindsaycarr/dataRetrieval/stargazers","contributors_url":"https://api.github.com/repos/lindsaycarr/dataRetrieval/contributors","subscribers_url":"https://api.github.com/repos/lindsaycarr/dataRetrieval/subscribers","subscription_url":"https://api.github.com/repos/lindsaycarr/dataRetrieval/subscription","commits_url":"https://api.github.com/repos/lindsaycarr/dataRetrieval/commits{/sha}","git_commits_url":"https://api.github.com/repos/lindsaycarr/dataRetrieval/git/commits{/sha}","comments_url":"https://api.github.com/repos/lindsaycarr/dataRetrieval/comments{/number}","issue_comment_url":"https://api.github.com/repos/lindsaycarr/dataRetrieval/issues/comments{/number}","contents_url":"https://api.github.com/repos/lindsaycarr/dataRetrieval/contents/{+path}","compare_url":"https://api.github.com/repos/lindsaycarr/dataRetrieval/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lindsaycarr/dataRetrieval/merges","archive_url":"https://api.github.com/repos/lindsaycarr/dataRetrieval/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lindsaycarr/dataRetrieval/downloads","issues_url":"https://api.github.com/repos/lindsaycarr/dataRetrieval/issues{/number}","pulls_url":"https://api.github.com/repos/lindsaycarr/dataRetrieval/pulls{/number}","milestones_url":"https://api.github.com/repos/lindsaycarr/dataRetrieval/milestones{/number}","notifications_url":"https://api.github.com/repos/lindsaycarr/dataRetrieval/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lindsaycarr/dataRetrieval/labels{/name}","releases_url":"https://api.github.com/repos/lindsaycarr/dataRetrieval/releases{/id}","deployments_url":"https://api.github.com/repos/lindsaycarr/dataRetrieval/deployments","created_at":"2016-05-20T16:58:19Z","updated_at":"2016-05-20T16:58:20Z","pushed_at":"2016-05-27T15:27:12Z","git_url":"git://github.com/lindsaycarr/dataRetrieval.git","ssh_url":"git@github.com:lindsaycarr/dataRetrieval.git","clone_url":"https://github.com/lindsaycarr/dataRetrieval.git","svn_url":"https://github.com/lindsaycarr/dataRetrieval","homepage":"","size":32127,"stargazers_count":0,"watchers_count":0,"language":"R","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"USGS-R:master","ref":"master","sha":"8737a291826e6d9699feb607943973d15b8356a4","user":{"login":"USGS-R","id":3188813,"avatar_url":"https://avatars.githubusercontent.com/u/3188813?v=3","gravatar_id":"","url":"https://api.github.com/users/USGS-R","html_url":"https://github.com/USGS-R","followers_url":"https://api.github.com/users/USGS-R/followers","following_url":"https://api.github.com/users/USGS-R/following{/other_user}","gists_url":"https://api.github.com/users/USGS-R/gists{/gist_id}","starred_url":"https://api.github.com/users/USGS-R/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/USGS-R/subscriptions","organizations_url":"https://api.github.com/users/USGS-R/orgs","repos_url":"https://api.github.com/users/USGS-R/repos","events_url":"https://api.github.com/users/USGS-R/events{/privacy}","received_events_url":"https://api.github.com/users/USGS-R/received_events","type":"Organization","site_admin":false},"repo":{"id":7611595,"name":"dataRetrieval","full_name":"USGS-R/dataRetrieval","owner":{"login":"USGS-R","id":3188813,"avatar_url":"https://avatars.githubusercontent.com/u/3188813?v=3","gravatar_id":"","url":"https://api.github.com/users/USGS-R","html_url":"https://github.com/USGS-R","followers_url":"https://api.github.com/users/USGS-R/followers","following_url":"https://api.github.com/users/USGS-R/following{/other_user}","gists_url":"https://api.github.com/users/USGS-R/gists{/gist_id}","starred_url":"https://api.github.com/users/USGS-R/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/USGS-R/subscriptions","organizations_url":"https://api.github.com/users/USGS-R/orgs","repos_url":"https://api.github.com/users/USGS-R/repos","events_url":"https://api.github.com/users/USGS-R/events{/privacy}","received_events_url":"https://api.github.com/users/USGS-R/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/USGS-R/dataRetrieval","description":"This R package is designed to obtain its water quality sample data, streamflow data, and metadata directly from either the USGS  or EPA, as well as user-supplied text files.","fork":false,"url":"https://api.github.com/repos/USGS-R/dataRetrieval","forks_url":"https://api.github.com/repos/USGS-R/dataRetrieval/forks","keys_url":"https://api.github.com/repos/USGS-R/dataRetrieval/keys{/key_id}","collaborators_url":"https://api.github.com/repos/USGS-R/dataRetrieval/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/USGS-R/dataRetrieval/teams","hooks_url":"https://api.github.com/repos/USGS-R/dataRetrieval/hooks","issue_events_url":"https://api.github.com/repos/USGS-R/dataRetrieval/issues/events{/number}","events_url":"https://api.github.com/repos/USGS-R/dataRetrieval/events","assignees_url":"https://api.github.com/repos/USGS-R/dataRetrieval/assignees{/user}","branches_url":"https://api.github.com/repos/USGS-R/dataRetrieval/branches{/branch}","tags_url":"https://api.github.com/repos/USGS-R/dataRetrieval/tags","blobs_url":"https://api.github.com/repos/USGS-R/dataRetrieval/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/USGS-R/dataRetrieval/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/USGS-R/dataRetrieval/git/refs{/sha}","trees_url":"https://api.github.com/repos/USGS-R/dataRetrieval/git/trees{/sha}","statuses_url":"https://api.github.com/repos/USGS-R/dataRetrieval/statuses/{sha}","languages_url":"https://api.github.com/repos/USGS-R/dataRetrieval/languages","stargazers_url":"https://api.github.com/repos/USGS-R/dataRetrieval/stargazers","contributors_url":"https://api.github.com/repos/USGS-R/dataRetrieval/contributors","subscribers_url":"https://api.github.com/repos/USGS-R/dataRetrieval/subscribers","subscription_url":"https://api.github.com/repos/USGS-R/dataRetrieval/subscription","commits_url":"https://api.github.com/repos/USGS-R/dataRetrieval/commits{/sha}","git_commits_url":"https://api.github.com/repos/USGS-R/dataRetrieval/git/commits{/sha}","comments_url":"https://api.github.com/repos/USGS-R/dataRetrieval/comments{/number}","issue_comment_url":"https://api.github.com/repos/USGS-R/dataRetrieval/issues/comments{/number}","contents_url":"https://api.github.com/repos/USGS-R/dataRetrieval/contents/{+path}","compare_url":"https://api.github.com/repos/USGS-R/dataRetrieval/compare/{base}...{head}","merges_url":"https://api.github.com/repos/USGS-R/dataRetrieval/merges","archive_url":"https://api.github.com/repos/USGS-R/dataRetrieval/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/USGS-R/dataRetrieval/downloads","issues_url":"https://api.github.com/repos/USGS-R/dataRetrieval/issues{/number}","pulls_url":"https://api.github.com/repos/USGS-R/dataRetrieval/pulls{/number}","milestones_url":"https://api.github.com/repos/USGS-R/dataRetrieval/milestones{/number}","notifications_url":"https://api.github.com/repos/USGS-R/dataRetrieval/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/USGS-R/dataRetrieval/labels{/name}","releases_url":"https://api.github.com/repos/USGS-R/dataRetrieval/releases{/id}","deployments_url":"https://api.github.com/repos/USGS-R/dataRetrieval/deployments","created_at":"2013-01-14T20:02:58Z","updated_at":"2016-04-19T22:36:26Z","pushed_at":"2016-05-27T15:27:56Z","git_url":"git://github.com/USGS-R/dataRetrieval.git","ssh_url":"git@github.com:USGS-R/dataRetrieval.git","clone_url":"https://github.com/USGS-R/dataRetrieval.git","svn_url":"https://github.com/USGS-R/dataRetrieval","homepage":"","size":34448,"stargazers_count":37,"watchers_count":37,"language":"R","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":21,"mirror_url":null,"open_issues_count":10,"forks":21,"open_issues":10,"watchers":37,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/USGS-R/dataRetrieval/pulls/228"},"html":{"href":"https://github.com/USGS-R/dataRetrieval/pull/228"},"issue":{"href":"https://api.github.com/repos/USGS-R/dataRetrieval/issues/228"},"comments":{"href":"https://api.github.com/repos/USGS-R/dataRetrieval/issues/228/comments"},"review_comments":{"href":"https://api.github.com/repos/USGS-R/dataRetrieval/pulls/228/comments"},"review_comment":{"href":"https://api.github.com/repos/USGS-R/dataRetrieval/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/USGS-R/dataRetrieval/pulls/228/commits"},"statuses":{"href":"https://api.github.com/repos/USGS-R/dataRetrieval/statuses/6052c3d73567ccec335e5b203f0f357a527b7b7d"}}}}
{"actor":{"display_login":"ldecicco-USGS"}}