Description Usage Arguments Value Author(s) See Also Examples
An interface for accessing the underlying data, 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 | migrate <- wpp.indicator("migrate")
## Not run:
# Histogram of migration rate
print(qplot(value, data=migrate) + facet_wrap(~ Year))
## End(Not run)
## Not run:
mxM01 <- wpp.indicator("mortagesex", sex="M", age="0")
# Plot map
plot(gvisGeoMap(wpp.by.year(mxM01, 2050), 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.