Learn R Programming

blocking (version 1.0.1)

census: Fictional census data

Description

This data set was created by Paula McLeod, Dick Heasman and Ian Forbes, ONS, for the ESSnet DI on-the-job training course, Southampton, 25-28 January 2011. It contains fictional data representing some observations from a decennial Census.

Usage

census

Arguments

Format

A data.table with 25343 records. Each row represents one record, with the following columns:

  • person_id -- a unique number for each person, consisting of postcode, house number and person number,

  • pername1 -- forename,

  • pername2 -- surname,

  • sex -- gender (M/F),

  • dob_day -- day of birth,

  • dob_mon -- month of birth,

  • dob_year -- year of birth,

  • hse_num -- house number, a numeric label for each house within a street,

  • enumcap -- an address consisting of house number and street name,

  • enumpc -- postcode,

  • str_nam -- street name of person's household's street,

  • cap_add -- full address, consisting of house number, street name and postcode,

  • census_id -- person ID with "CENS" added in front.

References

McLeod, P., Heasman, D., Forbes, I. (2011). Simulated data for the ESSnet DI on-the-job training course, Southampton, 25-28 January 2011. https://wayback.archive-it.org/12090/20231221144450/https://cros-legacy.ec.europa.eu/content/job-training_en

Examples

Run this code

data("census")
head(census)

Run the code above in your browser using DataLab