get.divisions {tapiR} | R Documentation |
Visits a list of URLs and extracts division lists in the standard format used by Hansard online.
get.divisions(URLs)
URLs |
A character vector of URLs (uniform resource locators). These may be local files or Hansard web pages. |
A single URL may point to a file or page containing more than one division list.
A list, with one component for each division list found.
For the format see Divs0105
.
David Firth
Firth, D and Spirling, A (2003) Divisions of the United Kingdom House of Commons, from 1992 to 2003 and beyond. Submitted for publication. At http://www.warwick.ac.uk/go/tapir.
## Not run: ## Get the first two divisions for the session starting in June 2001: myURLs <- c( "http://www.parliament.the-stationery-office.co.uk/pa/cm200102/cmhansrd/vo010626/debtext/10626-30.htm", "http://www.parliament.the-stationery-office.co.uk/pa/cm200102/cmhansrd/vo010627/debtext/10627-29.htm") first.two.divs <- get.divisions(myURLs) ## End(Not run)