Description Usage Arguments Value Examples
Obtain district map data by state, country, district type, and district id.
1 |
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.) |
list
1 | #' map <- get_map(state = "CA", district_type = "NATIONAL_LOWER", district_id = 5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.