Skip to content
This repository has been archived by the owner on Oct 17, 2023. It is now read-only.

Latest commit

 

History

History
61 lines (41 loc) · 1.96 KB

README.md

File metadata and controls

61 lines (41 loc) · 1.96 KB

kenyaweather

Lifecycle: experimental CRAN status R-CMD-check

The goal of kenyaweather is to …

Installation

You can install the released version of kenyaweather from CRAN with:

remotes::install_github("merely-useful/kenyaweather")

Example

This is a basic example which shows you how to solve a common problem:

library(kenyaweather)

weather_report("Mombasa")
#> `geom_smooth()` using method = 'gam' and formula 'y ~ s(x, bs = "cs")'

weather_summary("Lodwar")
variable precipitation average_temp max_temp min_tmp
Maximum Year 2021.00000 2009.000000 2021.000000 2016.000000
Minimum Year 2003.00000 2012.000000 2020.000000 2021.000000
Average across Years 81.10627 301.285028 238.887486 358.295071
Standard Deviation across Years 184.39357 6.079021 6.367616 4.502842

Repository Structure

  • R/ contains the package functions.

  • dev-scripts/ contains a script to re-generate this repository. > Don’t run unless you want to overwrite things in the repo.

  • tests/ contains the tests.

  • .github/ is where both the community files such as CONTRIBUTING.md and the GitHub Actions live.