Retrieves the identifier columns for a given study and release version.
In addition to the main get_id_cols()
function, there are two
study-specific variations:
get_id_cols_abcd()
: for the ABCD study.get_id_cols_hbcd()
: for the HBCD study.
They have the same arguments as the get_id_cols()
function, except
that the study
argument is set to the respective study by default, and
should not be set by the user.
Examples
get_id_cols("abcd")
#> Error in check_pkgs(pkgs = list(NBDCtoolsData = list(remote = "nbdc-datahub/NBDCtoolsData")), abort_msg = "NBDCtoolsData package is not installed", quiet = quiet): NBDCtoolsData package is not installed
#> ✖ `NBDCtoolsData`
#> ℹ Please install the missing packages with:
#>
#> renv::install(c("nbdc-datahub/NBDCtoolsData"))
get_id_cols("hbcd")
#> Error in check_pkgs(pkgs = list(NBDCtoolsData = list(remote = "nbdc-datahub/NBDCtoolsData")), abort_msg = "NBDCtoolsData package is not installed", quiet = quiet): NBDCtoolsData package is not installed
#> ✖ `NBDCtoolsData`
#> ℹ Please install the missing packages with:
#>
#> renv::install(c("nbdc-datahub/NBDCtoolsData"))
get_id_cols_abcd(release = "6.0")
#> Error in check_pkgs(pkgs = list(NBDCtoolsData = list(remote = "nbdc-datahub/NBDCtoolsData")), abort_msg = "NBDCtoolsData package is not installed", quiet = quiet): NBDCtoolsData package is not installed
#> ✖ `NBDCtoolsData`
#> ℹ Please install the missing packages with:
#>
#> renv::install(c("nbdc-datahub/NBDCtoolsData"))
get_id_cols_hbcd(release = "1.0")
#> Error in check_pkgs(pkgs = list(NBDCtoolsData = list(remote = "nbdc-datahub/NBDCtoolsData")), abort_msg = "NBDCtoolsData package is not installed", quiet = quiet): NBDCtoolsData package is not installed
#> ✖ `NBDCtoolsData`
#> ℹ Please install the missing packages with:
#>
#> renv::install(c("nbdc-datahub/NBDCtoolsData"))