research_briefings: research_briefings

Description Usage Arguments See Also Examples

View source: R/research_briefings.R

Description

Imports data on Parliamentary Research Briefings. To see a list of possible topics call research_topics_list or research_subtopics_list for both topics and subtopics. To see a list of briefing types, call research_types_list.

Usage

1
2
research_briefings(topic = NULL, subtopic = NULL, type = NULL,
  extra_args = NULL, tidy = TRUE)

Arguments

topic

The topic of the parliamentary briefing.

subtopic

The subtopic of the parliamentary briefing.

type

The type of research briefing.

extra_args

Additional parameters to pass to API. Defaults to NULL.

tidy

Fix the variable names in the data frame to remove extra characters, superfluous text and convert variable names to snake_case. Defaults to TRUE.

See Also

research_topics

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
## Not run: 
x <- research_briefings('Housing and planning')

# Requests can be made using lists created using `research_topics_list`
# and `research_subtopics_list`
x <- research_briefings(topic = research_topics_list[[7]])

x <- research_briefings(subtopic = research_subtopics_list[[7]][10])

# Requests for certain briefing types can also be made using lists
# created with 'research_types_list'.
x <- research_briefings(type = research_types_list[[3]])



## End(Not run)

hansard documentation built on May 19, 2017, 8:16 a.m.

Search within the hansard package
Search all R packages, documentation and source code