View source: R/create_statistics_template.R
create_statistics_template | R Documentation |
To support the preparation of the subnational statistics,
create_statistics_template()
can create three types of data templates:
ha for harvest area statistics
ps for production system share
ci for cropping intensity.
create_statistics_template(type, param)
type |
Character vector that refers to the type of template that needs to be created. See details for allowed input. |
param |
Object of type |
The function requires information on how the different administrative unit
levels are nested. This file needs to be created first by running
create_adm_list()
.
The dimensions of the templates are determined by the parameters set by means of
mapspamc_par()
. The ha template dimension is determined by adm level parameter,
while the dimensions of the ps and cs templates (which are identical) are determined
by the solve level parameter.
## Not run:
create_statistics_template(type = "ha", param)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.