Emissions data from the World Resources Institute, from their website: http://www.wri.org/resources/data-sets/cait-country-greenhouse-gas-emissions-data.
A seven column data frame.
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.