{
  "_id": "6a229bfdcd65a98ecbd57ab7",
  "Package": "capl",
  "Title": "Compute and Visualize CAPL-2 Scores and Interpretations",
  "Version": "1.42",
  "Authors@R": "c(person(given = \"Joel\",\nfamily = \"Barnes\",\nrole = c(\"aut\", \"cre\"),\nemail = \"j@barnzilla.ca\",\ncomment = c(ORCID = \"0000-0002-7621-9020\")),\nperson(given = \"Michelle\",\nfamily = \"Guerrero\",\nrole = \"aut\",\nemail = \"mguerrero@cheo.on.ca\",\ncomment = c(ORCID = \"0000-0001-8169-5040\")))",
  "Maintainer": "Joel Barnes <j@barnzilla.ca>",
  "Description": "A toolkit for computing and visualizing CAPL-2 (Canadian\nAssessment of Physical Literacy, Second Edition;\n<https://www.capl-eclp.ca>) scores and interpretations from raw\ndata.",
  "License": "GPL (>= 3)",
  "URL": "https://github.com/barnzilla/capl",
  "BugReports": "https://github.com/barnzilla/capl/issues",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "Language": "en",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.1.1",
  "Config/pak/sysreqs": "libicu-dev zlib1g-dev",
  "Repository": "https://barnzilla.r-universe.dev",
  "Date/Publication": "2022-03-26 03:26:57 UTC",
  "RemoteUrl": "https://github.com/barnzilla/capl",
  "RemoteRef": "HEAD",
  "RemoteSha": "26111b01dd5be9df316beb4b87a8454984355c6d",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-05 09:47:04 UTC",
    "User": "root"
  },
  "Author": "Joel Barnes [aut, cre] (ORCID: <https://orcid.org/0000-0002-7621-9020>),\nMichelle Guerrero [aut] (ORCID:\n<https://orcid.org/0000-0001-8169-5040>)",
  "MD5sum": "7261cef8f206181127cadc31ee6303f9",
  "_user": "barnzilla",
  "_type": "src",
  "_file": "capl_1.42.tar.gz",
  "_fileid": "3311ba62e36168083a3087750e0b136796865c310d3115eb13af4302c8605657",
  "_filesize": 2909003,
  "_sha256": "3311ba62e36168083a3087750e0b136796865c310d3115eb13af4302c8605657",
  "_created": "2026-06-05T09:47:04.000Z",
  "_published": "2026-06-05T09:50:53.855Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79703863220,
      "time": 147,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7433716682"
    },
    {
      "job": 79703863324,
      "time": 141,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7433714805"
    },
    {
      "job": 79703863258,
      "time": 145,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7433709979"
    },
    {
      "job": 79703863264,
      "time": 192,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7433718011"
    },
    {
      "job": 79703305579,
      "time": 211,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7433668516"
    },
    {
      "job": 79703863221,
      "time": 112,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7433705750"
    },
    {
      "job": 79703863248,
      "time": 100,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7433701991"
    },
    {
      "job": 79703863296,
      "time": 101,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7433702038"
    },
    {
      "job": 79703863216,
      "time": 107,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7433705078"
    }
  ],
  "_buildurl": "https://github.com/r-universe/barnzilla/actions/runs/27007676643",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/barnzilla/capl",
  "_commit": {
    "id": "26111b01dd5be9df316beb4b87a8454984355c6d",
    "author": "Joel Barnes <j@barnzilla.ca>",
    "committer": "Joel Barnes <j@barnzilla.ca>",
    "message": "Regenerate docs/vignettes where crt_means was referenced\n",
    "time": 1648265217
  },
  "_maintainer": {
    "name": "Joel Barnes",
    "email": "j@barnzilla.ca",
    "login": "barnzilla",
    "description": "",
    "uuid": 4693889,
    "orcid": "0000-0002-7621-9020"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "lubridate",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "readxl",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "writexl",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "barnzilla",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 2,
  "_contributors": [
    {
      "user": "barnzilla",
      "count": 65,
      "uuid": 4693889
    },
    {
      "user": "mdguerrero",
      "count": 15,
      "uuid": 54075904
    }
  ],
  "_userbio": {
    "uuid": 4693889,
    "type": "user",
    "name": "Joel Barnes"
  },
  "_downloads": {
    "count": 217,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/capl"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/barnzilla/capl",
  "_searchresults": 2,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/capl.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/barnzilla/capl",
  "_realowner": "barnzilla",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.39",
      "date": "2021-03-16"
    },
    {
      "version": "1.42",
      "date": "2022-04-08"
    }
  ],
  "_exports": [
    "capitalize_character",
    "export_capl_data",
    "get_24_hour_clock",
    "get_adequacy_score",
    "get_binary_score",
    "get_camsa_score",
    "get_camsa_skill_time_score",
    "get_camsa_time_score",
    "get_capl",
    "get_capl_bar_plot",
    "get_capl_demo_data",
    "get_capl_domain_status",
    "get_capl_interpretation",
    "get_capl_score",
    "get_db_score",
    "get_fill_in_the_blanks_score",
    "get_intrinsic_motivation_score",
    "get_ku_score",
    "get_mc_score",
    "get_missing_capl_variables",
    "get_pa_competence_score",
    "get_pacer_20m_laps",
    "get_pacer_score",
    "get_pc_score",
    "get_pedometer_wear_time",
    "get_plank_score",
    "get_predilection_score",
    "get_self_report_pa_score",
    "get_step_average",
    "get_step_score",
    "import_capl_data",
    "rename_variable",
    "validate_age",
    "validate_character",
    "validate_domain_score",
    "validate_gender",
    "validate_integer",
    "validate_number",
    "validate_scale",
    "validate_steps"
  ],
  "_datasets": [
    {
      "name": "capl_demo_data",
      "title": "CAPL demo raw data.",
      "object": "capl_demo_data",
      "class": [
        "data.frame"
      ],
      "fields": [
        "age",
        "gender",
        "pacer_lap_distance",
        "pacer_laps",
        "plank_time",
        "camsa_skill_score1",
        "camsa_time1",
        "camsa_skill_score2",
        "camsa_time2",
        "steps1",
        "time_on1",
        "time_off1",
        "non_wear_time1",
        "steps2",
        "time_on2",
        "time_off2",
        "non_wear_time2",
        "steps3",
        "time_on3",
        "time_off3",
        "non_wear_time3",
        "steps4",
        "time_on4",
        "time_off4",
        "non_wear_time4",
        "steps5",
        "time_on5",
        "time_off5",
        "non_wear_time5",
        "steps6",
        "time_on6",
        "time_off6",
        "non_wear_time6",
        "steps7",
        "time_on7",
        "time_off7",
        "non_wear_time7",
        "self_report_pa",
        "csappa1",
        "csappa2",
        "csappa3",
        "csappa4",
        "csappa5",
        "csappa6",
        "why_active1",
        "why_active2",
        "why_active3",
        "feelings_about_pa1",
        "feelings_about_pa2",
        "feelings_about_pa3",
        "pa_guideline",
        "crf_means",
        "ms_means",
        "sports_skill",
        "pa_is",
        "pa_is_also",
        "improve",
        "increase",
        "when_cooling_down",
        "heart_rate"
      ],
      "rows": 500,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "capitalize_character",
      "title": "Capitalize a character vector.",
      "topics": [
        "capitalize_character"
      ]
    },
    {
      "page": "capl_demo_data",
      "title": "CAPL demo raw data.",
      "topics": [
        "capl_demo_data"
      ]
    },
    {
      "page": "export_capl_data",
      "title": "Export CAPL-2 data to an Excel workbook.",
      "topics": [
        "export_capl_data"
      ]
    },
    {
      "page": "get_24_hour_clock",
      "title": "Convert 12-hour clock values to 24-hour clock values.",
      "topics": [
        "get_24_hour_clock"
      ]
    },
    {
      "page": "get_adequacy_score",
      "title": "Compute an adequacy score.",
      "topics": [
        "get_adequacy_score"
      ]
    },
    {
      "page": "get_binary_score",
      "title": "Compute a binary score.",
      "topics": [
        "get_binary_score"
      ]
    },
    {
      "page": "get_camsa_score",
      "title": "Select the maximum CAMSA skill + time score.",
      "topics": [
        "get_camsa_score"
      ]
    },
    {
      "page": "get_camsa_skill_time_score",
      "title": "Compute the CAMSA skill + time score.",
      "topics": [
        "get_camsa_skill_time_score"
      ]
    },
    {
      "page": "get_camsa_time_score",
      "title": "Compute the CAMSA time score.",
      "topics": [
        "get_camsa_time_score"
      ]
    },
    {
      "page": "get_capl",
      "title": "Compute all CAPL-2 scores and interpretations at once.",
      "topics": [
        "get_capl"
      ]
    },
    {
      "page": "get_capl_bar_plot",
      "title": "Render a bar plot for a given CAPL-2 domain score, grouped by CAPL-2 interpretative categories.",
      "topics": [
        "get_capl_bar_plot"
      ]
    },
    {
      "page": "get_capl_demo_data",
      "title": "Generate CAPL-2 demo (fake) raw data.",
      "topics": [
        "get_capl_demo_data"
      ]
    },
    {
      "page": "get_capl_domain_status",
      "title": "Compute the status of a CAPL domain.",
      "topics": [
        "get_capl_domain_status"
      ]
    },
    {
      "page": "get_capl_interpretation",
      "title": "Compute a CAPL-2 interpretation for a given CAPL-2 protocol or domain score.",
      "topics": [
        "get_capl_interpretation"
      ]
    },
    {
      "page": "get_capl_score",
      "title": "Compute an overall physical literacy score.",
      "topics": [
        "get_capl_score"
      ]
    },
    {
      "page": "get_db_score",
      "title": "Compute a daily behaviour domain score.",
      "topics": [
        "get_db_score"
      ]
    },
    {
      "page": "get_fill_in_the_blanks_score",
      "title": "Compute a fill in the blanks score.",
      "topics": [
        "get_fill_in_the_blanks_score"
      ]
    },
    {
      "page": "get_intrinsic_motivation_score",
      "title": "Compute an intrinsic motivation score.",
      "topics": [
        "get_intrinsic_motivation_score"
      ]
    },
    {
      "page": "get_ku_score",
      "title": "Compute a knowledge and understanding domain score.",
      "topics": [
        "get_ku_score"
      ]
    },
    {
      "page": "get_mc_score",
      "title": "Compute a motivation and confidence domain score.",
      "topics": [
        "get_mc_score"
      ]
    },
    {
      "page": "get_missing_capl_variables",
      "title": "Add required CAPL-2 variables to a data frame of raw data if they are missing.",
      "topics": [
        "get_missing_capl_variables"
      ]
    },
    {
      "page": "get_pa_competence_score",
      "title": "Compute a physical activity competence score.",
      "topics": [
        "get_pa_competence_score"
      ]
    },
    {
      "page": "get_pacer_20m_laps",
      "title": "Convert PACER shuttle run laps to their equivalent in 20-metre laps.",
      "topics": [
        "get_pacer_20m_laps"
      ]
    },
    {
      "page": "get_pacer_score",
      "title": "Compute a PACER score.",
      "topics": [
        "get_pacer_score"
      ]
    },
    {
      "page": "get_pc_score",
      "title": "Compute a physical competence domain score.",
      "topics": [
        "get_pc_score"
      ]
    },
    {
      "page": "get_pedometer_wear_time",
      "title": "Compute pedometer wear time in decimal hours for a given day.",
      "topics": [
        "get_pedometer_wear_time"
      ]
    },
    {
      "page": "get_plank_score",
      "title": "Compute a plank score.",
      "topics": [
        "get_plank_score"
      ]
    },
    {
      "page": "get_predilection_score",
      "title": "Compute a predilection score.",
      "topics": [
        "get_predilection_score"
      ]
    },
    {
      "page": "get_self_report_pa_score",
      "title": "Compute a score for a response to the self-reported physical activity question.",
      "topics": [
        "get_self_report_pa_score"
      ]
    },
    {
      "page": "get_step_average",
      "title": "Compute average daily steps taken.",
      "topics": [
        "get_step_average"
      ]
    },
    {
      "page": "get_step_score",
      "title": "Compute a step score.",
      "topics": [
        "get_step_score"
      ]
    },
    {
      "page": "import_capl_data",
      "title": "Import CAPL-2 data from an Excel workbook.",
      "topics": [
        "import_capl_data"
      ]
    },
    {
      "page": "rename_variable",
      "title": "Rename variables in a data frame.",
      "topics": [
        "rename_variable"
      ]
    },
    {
      "page": "validate_age",
      "title": "Check whether an age is valid for CAPL-2.",
      "topics": [
        "validate_age"
      ]
    },
    {
      "page": "validate_character",
      "title": "Check whether a vector is a character and not of length zero or \"\".",
      "topics": [
        "validate_character"
      ]
    },
    {
      "page": "validate_domain_score",
      "title": "Check whether a CAPL-2 domain score is valid.",
      "topics": [
        "validate_domain_score"
      ]
    },
    {
      "page": "validate_gender",
      "title": "Check whether a vector can be classified as \"girl\" or \"boy\".",
      "topics": [
        "validate_gender"
      ]
    },
    {
      "page": "validate_integer",
      "title": "Check whether a vector is an integer.",
      "topics": [
        "validate_integer"
      ]
    },
    {
      "page": "validate_number",
      "title": "Check whether a vector is numeric.",
      "topics": [
        "validate_number"
      ]
    },
    {
      "page": "validate_scale",
      "title": "Check whether a response to a given questionnaire item or scale is valid.",
      "topics": [
        "validate_scale"
      ]
    },
    {
      "page": "validate_steps",
      "title": "Check whether daily steps as measured by a pedometer are valid.",
      "topics": [
        "validate_steps"
      ]
    }
  ],
  "_readme": "https://github.com/barnzilla/capl/raw/HEAD/README.md",
  "_rundeps": [
    "cellranger",
    "cli",
    "cpp11",
    "crayon",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "hms",
    "isoband",
    "labeling",
    "lifecycle",
    "lubridate",
    "magrittr",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "R6",
    "RColorBrewer",
    "readxl",
    "rematch",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyselect",
    "timechange",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "writexl"
  ],
  "_vignettes": [
    {
      "source": "introduction-to-the-capl-r-package.Rmd",
      "filename": "introduction-to-the-capl-r-package.html",
      "title": "Introduction to the capl R package",
      "author": "Joel D. Barnes, M.Sc. and Michelle D. Guerrero, Ph.D.",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Installation",
        "GitHub",
        "Getting started",
        "Importing raw data",
        "Required variables",
        "Loading the pre-installed dataset",
        "Generating demo raw data",
        "Exporting data to Excel",
        "Renaming variables",
        "Eliminating noisy errors with validation",
        "Validation functions in the capl package",
        "Validation of age",
        "Validation of gender",
        "Computing CAPL-2 scores and interpretations",
        "Forty variables computed by get_capl()",
        "Computing CAPL-2 scores and interpretations manually",
        "Physical competence functions",
        "PACER 20-metre laps",
        "PACER score",
        "PACER interpretation",
        "Plank score",
        "Plank interpretation",
        "CAMSA time score",
        "CAMSA skill + time score",
        "CAMSA score",
        "CAMSA interpretation",
        "Physical competence score",
        "Physical competence interpretation",
        "Physical competence domain status",
        "Daily behaviour functions",
        "Step average",
        "Step score",
        "Self-reported physical activity score",
        "Daily behaviour score",
        "Daily behaviour interpretation",
        "Daily behaviour domain status",
        "Motivation and confidence functions",
        "Predilection score",
        "Adequacy score",
        "Intrinsic motivation score",
        "Physical activity competence score",
        "Motivation and confidence score",
        "Motivation and confidence interpretation",
        "Motivation and confidence domain status",
        "Knowledge and understanding functions",
        "Physical activity guideline score",
        "Cardiorespiratory fitness definition score",
        "Muscular strength definition score",
        "Sports skill score",
        "Fill in the blanks score",
        "Knowledge and understanding score",
        "Knowledge and understanding interpretation",
        "Knowledge and understanding domain status",
        "Overall physical literacy functions",
        "Overall physical literacy score",
        "Overall physical literacy interpretation",
        "Overall physical literacy domain status",
        "Data visualization",
        "Plots",
        "Export results"
      ],
      "created": "2020-07-11 17:44:35",
      "modified": "2020-12-05 21:36:55",
      "commits": 18
    }
  ],
  "_score": 4,
  "_indexed": true,
  "_nocasepkg": "capl",
  "_universes": [
    "barnzilla"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.42",
      "date": "2026-06-05T09:49:17.000Z",
      "distro": "noble",
      "commit": "26111b01dd5be9df316beb4b87a8454984355c6d",
      "fileid": "5a6d8950c5529a4291087a2e8185ed283e25cb36ec4c11050c06be1784d2b22f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/barnzilla/actions/runs/27007676643"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.42",
      "date": "2026-06-05T09:49:13.000Z",
      "distro": "noble",
      "commit": "26111b01dd5be9df316beb4b87a8454984355c6d",
      "fileid": "0f506b8edf03a13d47657dc05f366432131cf37a840b37c1184ea75939b9eea1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/barnzilla/actions/runs/27007676643"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.42",
      "date": "2026-06-05T09:49:09.000Z",
      "commit": "26111b01dd5be9df316beb4b87a8454984355c6d",
      "fileid": "1053dc6cb47f4662da20b7765d4a632e1addd04c8ce6aa19f036de37d0fef3a8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/barnzilla/actions/runs/27007676643"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.42",
      "date": "2026-06-05T09:49:27.000Z",
      "commit": "26111b01dd5be9df316beb4b87a8454984355c6d",
      "fileid": "ab6d4d8dcb4f1a57fa44dd1380bcda6a340ec82a54ed8fbae968b89e33e47b64",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/barnzilla/actions/runs/27007676643"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.42",
      "date": "2026-06-05T09:49:13.000Z",
      "commit": "26111b01dd5be9df316beb4b87a8454984355c6d",
      "fileid": "b62308e73b58fe6ab0f5fc32aa3aaaf8d71bd049e6eccc1ea2667cc9b5a015d5",
      "status": "success",
      "buildurl": "https://github.com/r-universe/barnzilla/actions/runs/27007676643"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.42",
      "date": "2026-06-05T09:48:25.000Z",
      "commit": "26111b01dd5be9df316beb4b87a8454984355c6d",
      "fileid": "c91392514426f46bf240c9c4089ad121167481a7ff220c39c8b200bc4191b2ca",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/barnzilla/actions/runs/27007676643"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.42",
      "date": "2026-06-05T09:48:23.000Z",
      "commit": "26111b01dd5be9df316beb4b87a8454984355c6d",
      "fileid": "e61b22f135cc84a5b1ed93406bd757e2a9d1f0b4aecdeffeacbc435506600cd7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/barnzilla/actions/runs/27007676643"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.42",
      "date": "2026-06-05T09:48:32.000Z",
      "commit": "26111b01dd5be9df316beb4b87a8454984355c6d",
      "fileid": "af058bee8a491b1481cb017d0ff940d4ab0dc27d3d60567166524ec2cdf6af94",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/barnzilla/actions/runs/27007676643"
    }
  ]
}