SIDE Metadata Codebook
Carl Müller-Crepon
12 10 2017
Code Book of the SIDE Metadata
library(side_data)
side_meta_codebook() ## loads this codebook
Variables
side.metadata.df <- side_load_metadata()
colnames(side.metadata.df)
sideid
Unique ID for every map layer available. Identifies the data for an ethnic group in a given country, year, and DHS survey. Matches ascii-filename for that map. Structure: sideid = paste0("side_v1_",mapid,"_",groupid)
.
mapid
Unique ID for the ensemble of group-level maps created of one DHS survey in a given country and year.
layer
Layer-ID of one group-level map; nested within mapid.
country
Name of the country of a group-map.
cowcode
Correlates-of-war code of this country.
groupname
Name of the group as defined by the DHS. “Other” denotes ensemble of groups named “other” in the DHS data, and those that are too small to be effectively interpolates (see paper). If marker == "ethnic.religion
, then the groupname is the groups ethnic and religious name, separated by a dot.
marker
One of c("ethnic","religion","ethnic.religion")
, denoting the type of group.
year
The year of a DHS survey.
dhs.round; dhs.subround
The DHS survey round and subround. Sometimes, multiple sruveys were conducted in the same country during one wave of the DHS survey.
sample.size
The sample size of the geocoded DHS respondents used for interpolation.
fit.comb
The combined leave-one-out-cross-validation fit of the KNN and TPS models used for interpolation this mapid. See paper for further details.
tps.*
Parameters and fit of the Thin Plate Spline Model used for this mapid. See paper for further details.
knn.*
Parameters and fit of the K-Nearest-Neighbours Model used for this mapid. See paper for further details.