CRAN_Status_Badge

Observation

The goal of Observation is to provide a free and convenient way of collecting and processing physical activity-specific direct observation data.

Installation

You can install Observation from GitHub with:

# install.packages("devtools")
# devtools::install_github("paulhibbing/Observation")
install.packages("Observation", repos = c('https://paulhibbing.r-universe.dev', 'https://cloud.r-project.org'))

Example

You can run the program with:

observation_data <- data_collection_program()

This will collect direct observation data as you direct. It will also pre-classify the intensity of each activity based on the decision tree described by Hibbing et al. You can then update the classification by cross-referencing the Compendium of Physical Activities using the following:

observation_data_complete <- compendium_reference(observation_data)