This is an R Dataset that contains information on the UNESCO World Heritage Sites (current as of the 2014 audit). There are 1006 sites included in the dataset with the following variables:
natural
site, a cultural
site, or, a mixed
siteThis data-only package can be installed from GitHub with the devtools package:
devtools::install_github('rich-iannone/UWHS')
It's a data frame called uwhs
. Get the dimensions:
dim(uwhs)
#' [1] 1006 20
Find out how many sites are located or co-located in Germany.
c(just_de = nrow(subset(uwhs, grepl("^de$", country_iso_2))),
shared_with_de = abs(nrow(subset(uwhs, grepl("^de$", country_iso_2))) -
nrow(subset(uwhs, grepl("de", country_iso_2)))))
#' just_de shared_with_de
#' 34 5
Now go forth and explore these opulent sites that fulfil one (or many!) cultural and/or natural criteri(on|a)...
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.