Skip to content
/ awapi Public

awapi (AccuWeather.com API) is an R package providing convenient access to the AccuWeather.com API. You can use it to get historical weather conditions, hourly and daily forecasts for any location.

Notifications You must be signed in to change notification settings

tayoso2/awapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

awapi

Summary

awapi (AccuWeather.com API) is an R package providing convenient access to the AccuWeather.com API. You can use it to get historical weather conditions, hourly and daily forecasts for any location.

The AccuWeather API offers a free limited trial package (limited to 50 API calls a day).

Installation

There are a variety of methods for installing packages directly from github. You may want to research these and find the most appropriate for you.

# install devtools libraries from cran
install.packages("devtools")

# install awapi package
devtools::install_github("tayoso2/awapi")

Alternatively, you could clone the entire repo and build manually.

Getting Started

library(awapi)

You will need an API key to use AccuWeather API. You can register for an API key at https://developer.accuweather.com.

Unit testing

Pre-requisites

R must be installed and Rscript should be in the search path.

Running the tests

  • open RStudio
  • change your working directory to this directory
  • call testthat::test_dir('test')

Project Information

Authors

Core components

  • awapi.R - daily forecast, hourly forecast, historical condition, temperature unit converter.

Requirements

  • R installation

Tags

R, weather, API, AccuWeather, elevation, postcode


Copyright and metadata

Copyright

Copyright (c) 2020 Arcadis Nederland B.V.

Without prior written consent of Arcadis Nederland B.V., this code may not be published or duplicated.

About

awapi (AccuWeather.com API) is an R package providing convenient access to the AccuWeather.com API. You can use it to get historical weather conditions, hourly and daily forecasts for any location.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •