Skip to content
/ atus Public

R package for the American Time Use Survey 2003-2016 dataset

Notifications You must be signed in to change notification settings

swang87/atus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

atus

Statistics from CRAN:

An R package for abridged data from the American Time Use Survey.

Last update: July 19, 2017

Latest update significantly condensed the dataset, so as to pass CRAN's checks for upload.

This package contains partial data from the American Time Use Survey (ATUS) for years 2003-2016. The ATUS is an annual survey conducted on a sample of individuals across the United States studying how individuals spent their time over the course of a day. Individual respondents were interviewed about what activities they did, during what times (rounded to 15 minute increments), at what locations, and in the presence of which individuals. The activities are subsequently encoded based on 3 separate tier codes for classification. All rows from the multiyear ATUS Activities and ATUS Respondents files were included, but only a subset of the columns. Rows from ATUS-CPS corresponding to ATUS respondents were included. Columns were selected based on completeness of data as well as presence on the Frequently Used Variables list provided by the ATUS website. However, all activity codes (other than code 50, for "Unable to Code") were included. Permission was obtained from the Bureau of Labor Statistics for inclusion in this R package. The full data can be obtained from http://www.bls.gov/tus/.

Installation

To install this package in R, you can now install it directly from CRAN!

install.packages("atus")

Or you can install it via the devtools package:

devtools::install_github("swang87/atus")

Usage

The package can then be loaded using:

library(atus)

The package contains 3 data frames that can be loaded with:

data(atusact)
data(atusresp)
data(atuscps)

Each of these also has its own help file, e.g.:

?atusact

About

R package for the American Time Use Survey 2003-2016 dataset

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages