find.divisions {tapiR}R Documentation

Locate division lists for the UK House of Commons

Description

Searches the online parliamentary record, Hansard, for the URLs of pages containing division lists. For each division found, returns the URL and Hansard's textual tag indicating the topic under debate.

Usage

find.divisions(session, dates)

Arguments

session A 4-digit identifier for the parliamentary session to be searched, e.g., 0203 for the year 2002-3.
dates A numeric vector of dates in the format yymmdd. Ranges may be specified, e.g., 030515:030716 for the period May 15 to July 16 2003.

Details

Requires internet access.

Value

A two-column character matrix. Columns are debate and URL. Rows are indexed by division identifiers.

Author(s)

David Firth

References

~put references to the literature/web site here ~

See Also

get.divisions

Examples


myURLs <- find.divisions(0203, 030715:030716)
myDivs <- get.divisions(myURLs)

[Package Contents]