standard.divname {tapiR}R Documentation

Convert Hansard's Online Division Identifiers to a Standard Format

Description

Hansard, the official Parliamentary record, has a system of identifiers for divisions of the House. This function converts the Hansard identifier to one in the format div***.yymmdd, where *** is the 3-digit division number and yymmdd the date on which the division took place.

Usage

standard.divname(div.id)

Arguments

div.id a character vector containing one or more division identifiers as used in the online Hansard

Value

A character vector.

Author(s)

David Firth

References

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.stats.ox.ac.uk/~firth/tapiR/.

Examples

##  For division number 1 on 26 June 2001:
standard.divname("10626-30_div1")

[Package Contents]