~hrbrmstr/weatherlink

rookie mistake
initial commit
initial commit

refs

batman
browse  log 

clone

read-only
https://git.sr.ht/~hrbrmstr/weatherlink
read/write
git@git.sr.ht:~hrbrmstr/weatherlink

You can also use your local clone with git send-email.

Project Status: Active – The project has reached a stable, usablestate and is being activelydeveloped. Signedby Signed commit% R-CMD-check Linux buildStatus Minimal RVersion License

Query and Orchestrate the Davis WeatherLink API

#Description

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).

#What’s Inside The Tin

The following functions are implemented:

  • wl_conditions: Get current conditions data for one station
  • wl_historic_conditions: Get historic conditions data for one station
  • wl_nodes: Get all nodes attached to all weather stations associated with your API Key
  • wl_sensor_activity: Get latest reporting times for all sensors attached to all weather stations associated with your API Key
  • wl_sensors: Get a catalog of all types of sensors
  • wl_stations: Get all weather stations associated with your API Key

#TODO

Add coverage for the following API endpoints:

  • /stations/{station-ids}
  • /nodes/{node-ids}
  • /sensors/{sensor-ids}
  • /sensor-activity/{sensor-ids}

#Installation

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.

#Usage

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

#Code of Conduct

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.