edm_text: Early Day Motion Text

Description Usage Arguments Value Examples

View source: R/early_day_motions.R

Description

A quick and dirty function for a specific use case, use with caution.

Usage

1
edm_text(id, tidy = TRUE, tidy_style = "snake", verbose = TRUE)

Arguments

id

The ID of an individual Early Day Motion, or a vector of IDs, as found in the about column of returns from early_day_motions()

tidy

Logical parameter. If TRUE, fixes the variable names in the tibble to remove special characters and superfluous text, and converts the variable names to a consistent style. Defaults to TRUE.

tidy_style

The style to convert variable names to, if tidy = TRUE. Accepts any style accepted by to_any_case. Defaults to 'snake'.

verbose

If TRUE, displayes messages on the console on the progress of the API request. Defaults to TRUE.

Value

A tibble of containing the EDM text and its ID.

Examples

1
2
3
4
## Not run: 
y <- edm_text(c("811291", "811292", "811293"))

## End(Not run)

evanodell/hansard documentation built on Oct. 10, 2021, 9:52 a.m.