Learn R Programming

dataRetrieval (version 2.7.11)

setAccess: Set data endpoint

Description

access Indicate which dataRetrieval access code you want to use options: c('public','internal')

Usage

setAccess(access = "public")

Arguments

access

code for data access. Options are: "public","internal","cooperator", or "USGS".

  • "internal" represents Access=3 ...for a single water science center

  • "USGS" represents Access=2 ...for all water science centers

  • "cooperator" represents Access=1

  • "public" represents Access=0, public access

Examples

Run this code
# NOT RUN {
# }
# NOT RUN {
setAccess('internal')

setAccess('public')

# }
# NOT RUN {
# }

Run the code above in your browser using DataLab