atus (version 0.2)

atusresp: ATUS Respondent Information (2003-2016)

Description

This is a 181,335 by 22 data frame containing information on the respondents, including their employment, household, and the diary day (day on which they were interviewed). The data frame here is taken from the ATUS 2003-2016 Respondent file. Variables containing no more than 90% values missing were considered for inclusion, especially those found on the ATUS Frequently Used Variables list.

Usage

data(atusresp)

Arguments

Format

A data frame with 181,335 observations. The following variables (with lower-case original variable name in parentheses, if different from the variable name here, for ease of matching to the official codebook):

tucaseid

respondent id

tuyear

ATUS year

diary_mo

1-12, month of diary day in (derived from 'tudiarydate')

diary_day

1-31, day of diary day in (derived from 'tudiarydate')

holiday

whether the diary day was a holiday ('trholiday')

occup_code

occupation code ('trmjocc1'), see codebook for full unabbreviated list of categories

ind_code

industry code ('trmjind1'), see codebook for full unabbreviated list of categories

labor_status

labor force status ('telfs')

student_status

whether or not the respondent is currently enrolled in a high school, college, or university ('teschenr')

ptft

whether the respondent works part-time or full-time ('trdpftpt')

work_class

class of work ('teio1cow')

hourly_wage

hourly earnings at main job ('trernhly')

weekly_earn

weekly earnings at main job ('trernwa')

work_hrs_week

number of hours worked per week ('tehruslt')

mult_jobs

had more than 1 jobs in 7 days prior to interview ('temjot')

partner_hh

presence of respondent's spouse/unmarried partner in the household ('trsppres')

partner_works

employment status of spouse/partner ('tespempnot')

partner_ptft

whether the spouse/partner works part-time or full-time ('trspftpt')

hh_size

number of people living in household ('trnumhou')

hh_child

presence of household children aged < 18 ('trhhchild')

hh_child_youngest_age

age of youngest household child < 18 ('tryhhchild')

wt

ATUS final weight ('tufnwgtp')

Examples

Run this code
# NOT RUN {
data(atusresp)

hist(atusresp$weekly_earn, main="Distribution of Weekly Earnings of ATUS Respondents (all years)")
boxplot(weekly_earn ~ tuyear, data=atusresp, horizontal=TRUE, las=1,
        main="Weekly Earnings by Year", xlab="Year", ylab="Weekly Earnings")
# }

Run the code above in your browser using DataLab