get_mp: Search all the MPs serving, or who served the Flemish...

View source: R/main_script.R

get_mpR Documentation

Search all the MPs serving, or who served the Flemish parliament

Description

Search all the MPs serving, or who served the Flemish parliament

Usage

get_mp(
  selection = "current",
  fact = "bio",
  date_at = NULL,
  use_parallel = TRUE
)

Arguments

selection

Select either "current", at a certain date "date" or "former".

fact

Options of facts to return are 'raw', 'bio', 'education', 'career','political_info', 'presences_commissions' or 'presences_plenary'.

date_at

When selecting "date" in selection, provide the date, using the following format "yyyy-mm-dd".

use_parallel

Boolean: should parallel workers be used to call the API?

Examples

## Not run: 

get_mp(use_parallel = TRUE, fact = "bio", date_at = "1998-01-01", selection = "date")

## End(Not run)

PolscienceAntwerp/Flempar documentation built on Jan. 3, 2025, 4:03 p.m.