create_spam_folders
creates the folder structure that is needed store raw
data, processed data and parameters for SPAM.
create_spam_folders(param = NULL)
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.
create_spam_folders
creates two folders in the spam_path
set by the user:
mappings and processed_data, and creates a raw_data
folder in the location
as set in spam_par
. In addition, it copies a number of cvs files into the
mappings folder, which contain several data tables that are needed to run the
model and, if needed can be adjusted by the user.
if (FALSE) {
create_spam_folders(param)
}