Skip to content

Commit 5ac2869

Browse files
authored
Merge pull request #3 from Big-Life-Lab/social-isolation
Add derive_sii, update CLSA reference in docs
2 parents 9730b17 + 79d7284 commit 5ac2869

30 files changed

Lines changed: 1513 additions & 17 deletions

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ Description: What the package does (one paragraph).
1111
License: MIT + file LICENSE
1212
Encoding: UTF-8
1313
Roxygen: list(markdown = TRUE)
14-
RoxygenNote: 7.3.2
1514
Imports:
1615
dplyr,
1716
glue,
@@ -27,3 +26,4 @@ Suggests:
2726
Config/testthat/edition: 3
2827
URL: https://big-life-lab.github.io/clsatools/, https://github.com/Big-Life-Lab/clsatools
2928
VignetteBuilder: knitr
29+
Config/roxygen2/version: 8.0.0

NAMESPACE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ export(derive_adl_dcls)
55
export(derive_cag_fpas)
66
export(derive_cr1_frhc)
77
export(derive_cr2_frhc)
8+
export(derive_sii)
89
export(derive_sls_dcls)
910
export(find_matching_pairs)
1011
export(recode_missing)

R/derive_adl_dcls.R

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@
1212
#' Intended for use with Follow-up 2 data, for which this variable was not
1313
#' derived by the data provider.
1414
#'
15-
#' @references [Derived Variables - Basic Activities of Daily Living (ADL) &
16-
#' Instrumental Activities of Daily Living
17-
#' (IAL)](https://www.clsa-elcv.ca/wp-content/uploads/2023/06/dv_adl_10aug2018.pdf)
15+
#' @references
16+
#' Canadian Longitudinal Study on Aging. Derived Variables — Basic
17+
#' Activities of Daily Living (ADL) & Instrumental Activities of Daily
18+
#' Living (IAL). 2018.
19+
#' \url{https://www.clsa-elcv.ca/wp-content/uploads/2023/06/dv_adl_10aug2018.pdf}
1820
#'
1921
#' @export
2022
#' @examples

R/derive_cag_fpas.R

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,10 @@
2929
#' `CAG_HLT_HC`) are excluded from the function because they are unavailable at
3030
#' Follow-up 2.
3131
#'
32-
#' @references [Derived Variables – Care Giving
33-
#' (CAG)](https://www.clsa-elcv.ca/wp-content/uploads/2023/06/dv_caregiv_v1.4_2019feb01.pdf)
32+
#' @references
33+
#' Canadian Longitudinal Study on Aging. Derived Variables — Care Giving
34+
#' (CAG). 2019.
35+
#' \url{https://www.clsa-elcv.ca/wp-content/uploads/2023/06/dv_caregiv_v1.4_2019feb01.pdf}
3436
#'
3537
#' @export
3638
#' @examples

R/derive_cr1_frhc.R

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,11 @@
2727
#' algorithm (`CR1_PRO_MC` and `CR1_PRO_MISSING`) are excluded from the function
2828
#' because they are unavailable at Follow-up 2.
2929
#'
30-
#' @references [Derived Variables – Care Receiving 1/Formal Care
31-
#' (CR1)](https://www.clsa-elcv.ca/wp-content/uploads/2023/06/dv_cr_4dec2017.pdf)
30+
#' @references
31+
#' Canadian Longitudinal Study on Aging. Derived Variables — Care
32+
#' Receiving 1/Formal Care (CR1) & Care Receiving 2/Informal Care (CR2).
33+
#' 2017.
34+
#' \url{https://www.clsa-elcv.ca/wp-content/uploads/2023/06/dv_cr_4dec2017.pdf}
3235
#'
3336
#' @export
3437
#' @examples

R/derive_cr2_frhc.R

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,11 @@
2525
#' algorithm (`CR2_FAM_CS`, `CR2_FAM_MB`, `CR2_FAM_MISSING`, and `CR2_FAM_MN`)
2626
#' are excluded from the function because they are unavailable at Follow-up 2.
2727
#'
28-
#' @references [Derived Variables – Care Receiving 2/Informal Care (CR2)
29-
#' ](https://www.clsa-elcv.ca/wp-content/uploads/2023/06/dv_cr_4dec2017.pdf)
28+
#' @references
29+
#' Canadian Longitudinal Study on Aging. Derived Variables — Care
30+
#' Receiving 1/Formal Care (CR1) & Care Receiving 2/Informal Care (CR2).
31+
#' 2017.
32+
#' \url{https://www.clsa-elcv.ca/wp-content/uploads/2023/06/dv_cr_4dec2017.pdf}
3033
#'
3134
#' @export
3235
#' @examples

0 commit comments

Comments
 (0)