Learn R Programming


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")

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)

Copy Link

Version

Install

install.packages('Observation')

Monthly Downloads

170

Version

0.3.0

License

GPL-3 | file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Paul Hibbins

Last Published

September 5th, 2022

Functions in Observation (0.3.0)

manual_data_collection_program

Manually Collect Direct Observation Data
interactive_compendium_reference

Interactively Consult the Compendium of Physical Activities to Encode Direct Observation Intensities
compendium_reference

Consult the Compendium of Physical Activities to Encode Direct Observation Intensities
Observation

Collect and Process Physical Activity Direct Observation Data
data_collection_program

Collect Direct Observation Data
interactive_tree_intensity

Interactively Pre-Classify Activity Intensity
check_interactive

Verify Correctness of User-Specified Interactive Preference
manual_compendium_reference

example_data

Sample data collected interactively with direct observation program.
interactive_data_collection_program

Interactively Collect Direct Observation Data
manual_tree_intensity

Manually Pre-Classify Activity Intensity
interactive_comp_lookup

Helper Function for Interactive Intensity Coding Process.