side_load: Open a set of SIDE maps

Description Usage Arguments Details

View source: R/side_data.R

Description

Facilitates the loading of SIDE data.

Usage

1
2
3
side_load(sideid = c(), mapid = NULL, country = NULL, year = NULL,
  dhs.round = NULL, dhs.subround = NULL, groupname = c(), marker = c(),
  source.dir = getwd(), conv.hull = FALSE)

Arguments

sideid

Vector of sideid.

mapid

Single mapid as listed in 'side_metadata()'.

country

Single country

year

Single year

dhs.round

Single DHS round

dhs.subround

Single DHS subroud; needed if multiple DHS survey in the same country and survey wave

groupname

Name of group

marker

Type of group; one of 'c("ethnic","religion","ethnic.religion")'

source.dir

Directory in which SIDE data is stored

conv.hull

Download convex hull of DHS points used for interpolation?

Details

Specify the subset of SIDE maps you want to load using the above parameters. To guarantee that maps form a raster-stack, parameters must specify a subset of maps that is based on a single DHS round from one country and year. The inner join of all parameters determines which maps are loaded.


carl-mc/sidedata documentation built on Dec. 17, 2019, 9:49 p.m.