find.divisions {tapiR} | R Documentation |
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.
find.divisions(session, dates)
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. |
Requires internet access.
A two-column character matrix.
Columns are debate
and URL
.
Rows are indexed by division identifiers.
David Firth
~put references to the literature/web site here ~
## Not run: myURLs <- find.divisions(0203, 030715:030716) myDivs <- get.divisions(myURLs) ## End(Not run)