dp.output.bigpop | R Documentation |
Get Spectrum's calculated population by age, sex, and year in long or wide format
dp.output.bigpop(
dp.raw,
direction = "wide",
first.year = NULL,
final.year = NULL
)
dp.raw |
DemProj module data in raw format, as returned by
|
direction |
Request "wide" (default) or "long" format data. |
first.year |
First year of the projection. If |
final.year |
Final year of the projection. If |
A data frame.
If you plan to extract multiple, time-dependent DemProj variables, it is
more efficient to save the first year and final year of the projection,
then pass those values to subsequent function calls. If you leave the first
and final year NULL
, the code will call
dp.inputs.first.year()
and dp.inputs.final.year()
each time
you request a variable.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.