Description Usage Arguments Author(s) References Examples
This function pulls what are the available datatypes from WorldPop UK for a given country. It returns a not available message if the country typed does not exist on WorldPop. As a bonus and to make matching WorldPop sets easier, this function contains correction algorithms to standardize country names to match WorldPop UK sets (i.e. WorldPop has "Côte d'Ivoire", you can type "Ivory Coast" and it will return the WorldPop Côte d'Ivoire set). This function adds a dataframe of the available sets called WPdata.types to your working environment.
1 | getWPdatatypes(countryname)
|
countryname |
(character), the name of a country you want to see what data is avaialble from WorldPop for. e.g. |
Neal Thomas Barsch
WorldPop UK data are attained through the WorldPop UK website. These data are licensensed under the Creative Commons Attribution 4.0 License. http://www.worldpop.org.uk/.
Eternal grattitude to StackOverflow member hrbrmstr without whom this function would not have been possible.
1 | getWPdatatypes("Nigeria")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.