get_map: get_map

Description Usage Arguments Value Examples

Description

Obtain district map data by state, country, district type, and district id.

Usage

1
get_map(state, country = "US", district_id, district_type)

Arguments

state

string indicating state (e.g. "CA", "MA", "MZ", etc.)

country

string indicating country (e.g. "MX", "CN", "UK")

district_id

string indicating district id (obtainable through get_official(), get_legislative_district())

district_type

string indicating district type (e.g. "NATIONAL_LOWER", "NATIONAL_UPPER", "STATE_LOWER", etc.)

Value

list

Examples

1
#' map <- get_map(state = "CA", district_type = "NATIONAL_LOWER", district_id = 5)

daranzolin/rcicero documentation built on May 14, 2019, 6:07 p.m.