Query and Orchestrate the Davis WeatherLink API
Davis Instruments provides a public API (https://weatherlink.github.io/v2-api/) for owners and users of their weather datalogger products. Tools are provided to query and orchestrate the Davis WeatherLink API (V2).
The following functions are implemented:
wl_conditions
: Get current conditions data for one stationwl_historic_conditions
: Get historic conditions data for one
stationwl_nodes
: Get all nodes attached to all weather stations
associated with your API Keywl_sensor_activity
: Get latest reporting times for all sensors
attached to all weather stations associated with your API Keywl_sensors
: Get a catalog of all types of sensorswl_stations
: Get all weather stations associated with your API KeyAdd coverage for the following API endpoints:
/stations/{station-ids}
/nodes/{node-ids}
/sensors/{sensor-ids}
/sensor-activity/{sensor-ids}
remotes::install_git("https://git.rud.is/hrbrmstr/weatherlink.git")
# or
remotes::install_git("https://git.sr.ht/~hrbrmstr/weatherlink")
# or
remotes::install_bitbucket("hrbrmstr/weatherlink")
# or
remotes::install_github("hrbrmstr/weatherlink")
NOTE: To use the ‘remotes’ install options you will need to have the {remotes} package installed.
library(weatherlink)
# current version
packageVersion("weatherlink")
## [1] '0.1.0'
| Lang | # Files | (%) | LoC | (%) | Blank lines | (%) | # Lines | (%) | | :--- | -------: | ---: | --: | ---: | ----------: | ---: | -------: | ---: | | R | 10 | 0.42 | 179 | 0.43 | 66 | 0.38 | 101 | 0.37 | | YAML | 1 | 0.04 | 22 | 0.05 | 2 | 0.01 | 2 | 0.01 | | Rmd | 1 | 0.04 | 8 | 0.02 | 18 | 0.10 | 34 | 0.12 | | SUM | 12 | 0.50 | 209 | 0.50 | 86 | 0.50 | 137 | 0.50 |
clock Package Metrics for weatherlink
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.