README.md

cwdata

R-CMD-check

The goal of cwdata is to …

Installation

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

install.packages("cwdata")

And the development version from GitHub with:

# install.packages("remotes")
remotes::install_github("yli807/cwdata")

Example

This package provides many great datasets used in ETC5523:

library(cwdata)
head(key_crop_yields)
#>        entity code year     crop tonnes_per_hectare
#> 1 Afghanistan  AFG 1961    wheat             1.0220
#> 2 Afghanistan  AFG 1961     rice             1.5190
#> 3 Afghanistan  AFG 1961    maize             1.4000
#> 4 Afghanistan  AFG 1961 soybeans                 NA
#> 5 Afghanistan  AFG 1961 potatoes             8.6667
#> 6 Afghanistan  AFG 1961    beans                 NA
## basic example code


yli807/cwdata documentation built on Dec. 23, 2021, 8:12 p.m.