ghg_ems: Worldwide emissions of greenhouse gases (ghg) by sector,...

Description Format Examples

Description

Emissions data from the World Resources Institute, from their website: http://www.wri.org/resources/data-sets/cait-country-greenhouse-gas-emissions-data.

Format

A seven column data frame.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
# After completing the form,
# and downloading the .zip file into the working directory:
unzip("CAIT_Country_GHG_Emissions_-_csv_0.zip")
f <- "CAIT_Country_GHG_Emissions_-_All_Data.xlsx"
ghg_ems <- readxl::read_excel(f, sheet = 4)
head(ghg_ems)
names(ghg_ems) = stringr::word(names(ghg_ems), sep = " |/")
devtools::use_data(ghg_ems, overwrite = TRUE)

## End(Not run)

csgillespie/efficient_pkg documentation built on Jan. 26, 2020, 4:03 a.m.