Skip to content

capl v1.42

Latest
Compare
Choose a tag to compare
@barnzilla barnzilla released this 19 Dec 22:07
  • [Bugfix]: fixed unexpected vector naming behaviour (e.g., age.age, gender.gender) in the get_missing_capl_variables() function.
  • [Bugfix]: in the get_24_hour_clock() function, formatted the x parameter accordingly -- if in seconds -- to prevent return of NA values.
  • [Bugfix]: changed how time data are formatted in the get_24_hour_clock() function depending on whether seconds are present.
  • [Bugfix]: fixed error that is thrown in the get_capl_domain_status() function when only one row of data is being processed.
  • [Bugfix]: added a condition in the get_pedometer_wear_time() function to evaluate whether wear time is NA (e.g., when wear time = non-wear time).
  • [Bugfix]: replaced crt_means with crf_means.
  • [New feature]: added an optional version parameter in the get_capl() function so that the fill_in_the_blanks_score can be computed with CAPL-1 data in the absence of the flexibility item.
  • [New feature]: adjusted how pa_guideline_score is computed in the get_capl() function depending on whether CAPL-1 data is being processed.