Skip to content

climacell/tomorrowio_r

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tomorrowio_r

Tomorrow.io Weather Data API R package.

To read more about the underlying API, and get a license key see the Tomorrow.io documentation.

Installation

library("remotes")
install_github("climacell/tomorrowio_r")

Example

library("tomorrowior")

api_key = "REPLACE WITH YOUR API KEY"
start_time <- Sys.time() - (60 * 60 * 24 * 30)
end_time <- Sys.time() + (60 * 60 * 24 * 10)
location <- c(42.3478, -71.0466)
fields <- c("temperature", "windSpeed")
timesteps <- c("1h", "1d")

df <- tomorrowio_api(api_key = api_key, location = location, fields = fields, timesteps = timesteps, start_time = start_time, end_time = end_time)

License

MIT

Releases

No releases published

Packages

No packages published