Learn R Programming

hansard (version 0.3.4)

research_briefings: research_briefings

Description

Imports data on Parliamentary Research Briefings

Usage

research_briefings(resType = c("all", "topics", "types", "byTopic", "subTopic", "topicSubTopic"))

Arguments

resType
The type of data you want, allows the arguments 'all', 'topics', 'types', # 'byTopic','subTopic' and 'topicSubTopic'
all
Imports a data frame with all available Parliamentary Research Briefings.
topics
Imports a data frame with all Parliamentary Research Briefings topics.
types
Imports a data frame with all Parliamentary Research Briefings types.
byTopic
Requests a topic, and imports a data frame with all available Parliamentary Research Briefings on that topic
subTopic
Requests a topic, and imports a data frame with all of the possible sub-topics for that topic.
topicSubTopic
Requests a topic and a subtopic, and imports a data frame with all available Parliamentary Research Briefings on that subtopic

Examples

Run this code
## Not run: 
# x <- research_briefings('all')
# 
# x <- research_briefings('topics')
# 
# x <- research_briefings('types')
# 
# x <- research_briefings('byTopic')
# 
# x <- research_briefings('subTopic')
# 
# x <- research_briefings('topicSubTopic')
# ## End(Not run)

Run the code above in your browser using DataLab