Query station information from the applied climate information system (ACIS) API. findACIS returns a SpatailPointsDataframe of all stations within an AOI. Some stations are a part of multiple networks. As such each SpatialPoint is marked by all networks and unique station ids within each. Data comes from the ACIS and includes the following attributes:

  • 'uid' : character Unique station ID

  • 'NAME' : character Station name

  • 'state' : integer USA state

  • 'elev' : integer Station Elevation (feet)

  • 'staidX' : character Unique station id within network

  • 'network_typeX' : integer Station network

  • 'minDate' : integer Year of first observation

  • 'maxDate' : integer Year of last observation


findACIS(AOI, ids = FALSE)

Arguments

AOI

A Spatial* or simple features geometry, can be piped from getAOI

ids

If TRUE, a vector of unique acis station IDs is added to retuned list (default = FALSE)

Value

a list() of minimum length 2: AOI and and acis

Examples

# NOT RUN {
sta = getAOI(state = "CO", county = "El Paso") %>% findACIS()
# }