Skip to content

mps9506/rnoaahelpers

Repository files navigation

Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public.licenseLast-changedate

rnoaahelpers

Just some functions I use to help bulk download and summarize data with 'rnoaa'

Installation

There are no plans to release to CRAN. You can install from Github via

install.packages("remotes")
remotes::install_github("mps9506/rnoaahelpers")

Example

You will need an API key to use the function below. Visit https://github.com/ropensci/rnoaa to see how to access and store your key.

Download multiple years of NCDC data:

library(rnoaahelpers)

start_date <- as.Date("2000-01-01")
end_date <- as.Date("2018-12-31")
station_id <- "GHCND:USC00419101"
data_type_id <- "PRCP"
token <- Sys.getenv("noaakey")

df <- download_ncdc(start_date, end_date, station_id, data_type_id, token)
df

About

Help Me Use rnoaa

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages