Learn R Programming

sharpshootR (version 1.8)

CDEC_StationInfo: CDEC Sensor Details (by Station)

Description

Query CDEC Website for Sensor Details

Usage

CDEC_StationInfo(s)

Arguments

s

character, a single CDEC station ID (e.g. 'HHM')

Value

A list object containing site metadata, sensor metadata, and possibly comments about the site.

Details

This function requires the rvest package.

See Also

[CDECquery]

Examples

Run this code
# NOT RUN {
# }
# NOT RUN {
if(requireNamespace("curl") &
   curl::has_internet() 
) {

  # CDEC API needs a long timeout
  options(timeout = 60000)
  
  CDEC_StationInfo('HHM')  
  
}


# }
# NOT RUN {
# }

Run the code above in your browser using DataLab