setBaseURL: Set CCHP endpoint

Description Usage Arguments Author(s) Examples

View source: R/setBaseURL.R

Description

Sets the internal URLS used to either the production, QA, or dev server. URLS are stored internally to the package

Usage

1
setBaseURL(endpoint = "prod")

Arguments

endpoint

Indicate which CCHP endpoint you want to use options: c('prod','qa','dev'). Fully qualified urls are also allowed (i.e. https://localhost:8080/coastal-hazards-portal/)

Author(s)

Luke Winslow, Jordan S Read

Examples

1
2
3
4
5
6
## Not run: 
setBaseURL('prod')
setBaseURL('qa')
setBaseURL('dev')

## End(Not run)

USGS-R/hazardItems documentation built on Aug. 15, 2020, 11:28 a.m.