Package: capl 1.42

capl: Compute and Visualize CAPL-2 Scores and Interpretations

A toolkit for computing and visualizing CAPL-2 (Canadian Assessment of Physical Literacy, Second Edition; <https://www.capl-eclp.ca>) scores and interpretations from raw data.

Authors:Joel Barnes [aut, cre], Michelle Guerrero [aut]

capl_1.42.tar.gz
capl_1.42.zip(r-4.5)capl_1.42.zip(r-4.4)capl_1.42.zip(r-4.3)
capl_1.42.tgz(r-4.4-any)capl_1.42.tgz(r-4.3-any)
capl_1.42.tar.gz(r-4.5-noble)capl_1.42.tar.gz(r-4.4-noble)
capl_1.42.tgz(r-4.4-emscripten)capl_1.42.tgz(r-4.3-emscripten)
capl.pdf |capl.html
capl/json (API)

# Install 'capl' in R:
install.packages('capl', repos = c('https://barnzilla.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/barnzilla/capl/issues

Datasets:

On CRAN:

40 exports 1 stars 1.10 score 44 dependencies 1 mentions 2 scripts 242 downloads

Last updated 2 years agofrom:26111b01dd. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 30 2024
R-4.5-winOKAug 30 2024
R-4.5-linuxOKAug 30 2024
R-4.4-winOKAug 30 2024
R-4.4-macOKAug 30 2024
R-4.3-winOKAug 30 2024
R-4.3-macOKAug 30 2024

Exports:capitalize_characterexport_capl_dataget_24_hour_clockget_adequacy_scoreget_binary_scoreget_camsa_scoreget_camsa_skill_time_scoreget_camsa_time_scoreget_caplget_capl_bar_plotget_capl_demo_dataget_capl_domain_statusget_capl_interpretationget_capl_scoreget_db_scoreget_fill_in_the_blanks_scoreget_intrinsic_motivation_scoreget_ku_scoreget_mc_scoreget_missing_capl_variablesget_pa_competence_scoreget_pacer_20m_lapsget_pacer_scoreget_pc_scoreget_pedometer_wear_timeget_plank_scoreget_predilection_scoreget_self_report_pa_scoreget_step_averageget_step_scoreimport_capl_datarename_variablevalidate_agevalidate_charactervalidate_domain_scorevalidate_gendervalidate_integervalidate_numbervalidate_scalevalidate_steps

Dependencies:cellrangerclicolorspacecpp11crayondplyrfansifarvergenericsggplot2gluegtablehmsisobandlabelinglatticelifecyclelubridatemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigprettyunitsprogressR6RColorBrewerreadxlrematchrlangscalesstringistringrtibbletidyselecttimechangeutf8vctrsviridisLitewithrwritexl

Introduction to the capl R package

Rendered fromintroduction-to-the-capl-r-package.Rmdusingknitr::rmarkdownon Aug 30 2024.

Last update: 2020-12-05
Started: 2020-07-11

Readme and manuals

Help Manual

Help pageTopics
Capitalize a character vector.capitalize_character
CAPL demo raw data.capl_demo_data
Export CAPL-2 data to an Excel workbook.export_capl_data
Convert 12-hour clock values to 24-hour clock values.get_24_hour_clock
Compute an adequacy score.get_adequacy_score
Compute a binary score.get_binary_score
Select the maximum CAMSA skill + time score.get_camsa_score
Compute the CAMSA skill + time score.get_camsa_skill_time_score
Compute the CAMSA time score.get_camsa_time_score
Compute all CAPL-2 scores and interpretations at once.get_capl
Render a bar plot for a given CAPL-2 domain score, grouped by CAPL-2 interpretative categories.get_capl_bar_plot
Generate CAPL-2 demo (fake) raw data.get_capl_demo_data
Compute the status of a CAPL domain.get_capl_domain_status
Compute a CAPL-2 interpretation for a given CAPL-2 protocol or domain score.get_capl_interpretation
Compute an overall physical literacy score.get_capl_score
Compute a daily behaviour domain score.get_db_score
Compute a fill in the blanks score.get_fill_in_the_blanks_score
Compute an intrinsic motivation score.get_intrinsic_motivation_score
Compute a knowledge and understanding domain score.get_ku_score
Compute a motivation and confidence domain score.get_mc_score
Add required CAPL-2 variables to a data frame of raw data if they are missing.get_missing_capl_variables
Compute a physical activity competence score.get_pa_competence_score
Convert PACER shuttle run laps to their equivalent in 20-metre laps.get_pacer_20m_laps
Compute a PACER score.get_pacer_score
Compute a physical competence domain score.get_pc_score
Compute pedometer wear time in decimal hours for a given day.get_pedometer_wear_time
Compute a plank score.get_plank_score
Compute a predilection score.get_predilection_score
Compute a score for a response to the self-reported physical activity question.get_self_report_pa_score
Compute average daily steps taken.get_step_average
Compute a step score.get_step_score
Import CAPL-2 data from an Excel workbook.import_capl_data
Rename variables in a data frame.rename_variable
Check whether an age is valid for CAPL-2.validate_age
Check whether a vector is a character and not of length zero or "".validate_character
Check whether a CAPL-2 domain score is valid.validate_domain_score
Check whether a vector can be classified as "girl" or "boy".validate_gender
Check whether a vector is an integer.validate_integer
Check whether a vector is numeric.validate_number
Check whether a response to a given questionnaire item or scale is valid.validate_scale
Check whether daily steps as measured by a pedometer are valid.validate_steps