fetch_lords_divisions_remote: Fetch key details on all Lords remote divisions

Description Usage Arguments Details Value

View source: R/divisions_lords.R

Description

fetch_lords_divisions_remote fetches a dataframe from the Lords Votes API showing key details about each remote division, with one row per remote division.

Usage

1
fetch_lords_divisions_remote(from_date = NULL, to_date = NULL, on_date = NULL)

Arguments

from_date

A string or Date representing a date. If a string is used it should specify the date in ISO 8601 date format e.g. '2000-12-31'. The default value is NULL, which means no records are excluded on the basis of the from_date.

to_date

A string or Date representing a date. If a string is used it should specify the date in ISO 8601 date format e.g. '2000-12-31'. The default value is NULL, which means no records are excluded on the basis of the to_date.

on_date

A string or Date representing a date. If a string is used it should specify the date in ISO 8601 date format e.g. '2000-12-31'. The default value is NULL, which means no records are excluded on the basis of the on_date.

Details

The from_date and to_date arguments can be used to filter divisions based on the dates they occurred. The on_date argument is a convenience that sets the from_date and to_date to the same given date. The on_date has priority: if the on_date is set, the from_date and to_date are ignored.

Value

A tibble of key details of remote Lords divisions, with one row per remote division.


houseofcommonslibrary/clvotes documentation built on March 31, 2021, 2:38 a.m.