R/prepare_physical_area.R
prepare_physical_area.Rd
To estimate the physical crop area for each farming system harvest area (ha) statistics are combined with information on farmings sytem shares (fs) and cropping intensity (ci). Depending on how the model is solved, the physical area statistics are saved at the administrative unit level 0 (country) level (model solve level 0) or at the level 1 administrative unit level (model solve level 1).
prepare_physical_area(param)
Object of type spam_par
that bundles all SPAM parameters,
including core model folders, alpha-3 country code, year, spatial
resolution, most detailed level at which subnational statistics are
available, administrative unit level at which the model is solved and type of
model.
prepare_physical_area
combines ha, fs and ci statistics and saves two files in csv
format: (1) physical area (pa) and (2) physical area broken down by farming
systems (pa_fs). Results are saved in the subfolders that are located in the
the processed_data/intermediate
folder.