Description Usage Arguments Value Examples
Get population data and draw popuation pyramid
1 | PopPyramid(country, year, interactive = FALSE)
|
country |
a FIPS 10-4 country code for the country you want |
year |
The year you want to visualize. |
interactive |
A logical value. If TRUE, an interactive plot will be returned |
A population pyramid
1 2 3 4 | #PopPyramid("KS",2016)
#PopPyramid("NI",2015)
#PopPyramid("JA",2015)
#PopPyramid("VQ",2015)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.