Skip to contents

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.

Usage

get_salaries(groups = "all")

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

Value

dataframe with public service pay rates

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()}