mkoohafkan / cder

R Interface to the CDEC Web API
https://mkoohafkan.github.io/cder/
2 stars 0 forks source link

improve documentation regarding default values of sensor number and duration code #7

Closed mkoohafkan closed 4 years ago

mkoohafkan commented 4 years ago

The vignette should point out that not specifying a sensor number and/or duration code can yield unexpected results. The default sensor selected by the web service can vary from station to station, and sometimes empty results are returned if no sensor number or duration code is specified.

The duration codes appear to be limited to "Event", "Hourly", "Daily", and "Monthly" (based on the radio buttons available in the station search page. This should be noted in the documentation of cdec_query() and cdec_query_group() as well as in the vignette.