get_counties | R Documentation |
A function for retrieving current and/or historical electoral districts (counties) for the Norwegian parliament.
get_counties(historical = FALSE)
historical |
Logical. Whether or not to include historical counties. |
A data frame with the following variables:
response_date | Date of data retrieval |
version | Data version from the API |
historical_county | Whether the county is historical (no longer exists) |
id | Id of the county |
name | Name of the county |
## Not run:
# Request one MP by id
get_counties()
# With historical counties
get_counties(historical = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.