get_salaries
get_salaries.Rd
This function gets the publicly available DFO salary information from https://www.tbs-sct.canada.ca/pubs_pol/hrpubs/coll_agre/rates-taux-eng.asp.
Arguments
- groups
character vector with the groups listed here: https://www.tbs-sct.canada.ca/pubs_pol/hrpubs/coll_agre/rates-taux-eng.asp Note that this function only supports select groups. Use "all" (default) to download all supported groups
Details
Disclaimer: If you're obtaining salary information for group="TC", subgroup=TI this function obtains the first classification tables and ignores ones that are specific to Aviation, Marine, and Railway Safety.
Examples
# getting salaries for the SP (Applied Science and Patent Examination) group
SP_salaries <- get_salaries("SP")
#> Warning: There were 5 warnings in `dplyr::mutate()`.
#> The first warning was:
#> ℹ In argument: `dplyr::across(...)`.
#> Caused by warning:
#> ! NAs introduced by coercion
#> ℹ Run `dplyr::last_dplyr_warnings()` to see the 4 remaining warnings.
if (FALSE) {
# getting all supported salaries
all_salaries <- get_salaries()}