Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
dataRetrieval
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
Maintenance scheduled for Thursday, February 27, from 5 PM to 6 PM ET.
Show more breadcrumbs
Water
dataRetrieval
Commits
2374fd65
Commit
2374fd65
authored
3 months ago
by
Laura A DeCicco
Browse files
Options
Downloads
Patches
Plain Diff
Add some documentation
parent
a4a3e0a2
No related branches found
No related tags found
No related merge requests found
Pipeline
#512254
failed
3 months ago
Stage: build
Stage: check
Stage: test
Stage: end
Changes
4
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
DESCRIPTION
+1
-1
1 addition, 1 deletion
DESCRIPTION
NEWS
+4
-0
4 additions, 0 deletions
NEWS
R/getWebServiceData.R
+2
-1
2 additions, 1 deletion
R/getWebServiceData.R
man/getWebServiceData.Rd
+2
-1
2 additions, 1 deletion
man/getWebServiceData.Rd
with
9 additions
and
3 deletions
DESCRIPTION
+
1
−
1
View file @
2374fd65
Package: dataRetrieval
Type: Package
Title: Retrieval Functions for USGS and EPA Hydrology and Water Quality Data
Version: 2.7.17
Version: 2.7.17
.9000
Authors@R: c(
person("Laura", "DeCicco", role = c("aut","cre"),
email = "ldecicco@usgs.gov",
...
...
This diff is collapsed.
Click to expand it.
NEWS
+
4
−
0
View file @
2374fd65
dataRetrieval 2.7.18
===================
* Added a way to include a custom user-agent suffix via an enviornmental variable "CUSTOM_DR_UA"
dataRetrieval 2.7.17
===================
* Fixed bug with server problems causing errors.
...
...
This diff is collapsed.
Click to expand it.
R/getWebServiceData.R
+
2
−
1
View file @
2374fd65
#' Function to return data from web services
#'
#' This function accepts a url parameter, and returns the raw data. The function enhances
#' \code{\link[httr]{GET}} with more informative error messages.
#' \code{\link[httr]{GET}} with more informative error messages. To add a
#' custom user agent, create an environmental variable: CUSTOM_DR_UA
#'
#' @param obs_url character containing the url for the retrieval
#' @param \dots information to pass to header request
...
...
This diff is collapsed.
Click to expand it.
man/getWebServiceData.Rd
+
2
−
1
View file @
2374fd65
...
...
@@ -16,7 +16,8 @@ raw data from web services
}
\description{
This function accepts a url parameter, and returns the raw data. The function enhances
\code{\link[httr]{GET}} with more informative error messages.
\code{\link[httr]{GET}} with more informative error messages. To add a
custom user agent, create an environmental variable: CUSTOM_DR_UA
}
\examples{
\dontshow{if (is_dataRetrieval_user()) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment