Description Usage Arguments Value Author(s) See Also Examples
An interface for accessing a WPP indicator, where datasets with observed and predicted data are merged. The resulting data frame is in a "melted" format.
1 | wpp.indicator(what, ...)
|
what |
Name of indicator. Possible values are:
|
... |
Arguments passed to the underlying functions as described above. |
Data frame with columns charcode
(alpha-2 ISO 3166 country code), Year
, and value
.
Hana Sevcikova
1 2 3 4 5 6 7 8 9 10 | tfr <- wpp.indicator("fert")
## Not run:
# Histogram of TFR
print(qplot(value, data=tfr) + facet_wrap(~ Year))
## End(Not run)
## Not run:
mxM01 <- wpp.indicator("mortagesex", sex="M", age="0")
# Plot map
plot(gvisGeoMap(tfr, locationvar='charcode', numvar='value'))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.