get_counties: Get list of MPs in a given parliamentary period

View source: R/get_counties.R

get_countiesR Documentation

Get list of MPs in a given parliamentary period

Description

A function for retrieving Norwegian MPs for a given parliamentary period from the parliament API.

Usage

get_counties(historical = FALSE)

Arguments

historical

Logical. Whether or not to include historical counties.

Value

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

Examples

## Not run:  
# Request one MP by id
get_counties()

# With historical counties
get_counties(historical = TRUE)

## End(Not run)


stortingscrape documentation built on March 31, 2023, 10:30 p.m.