View source: R/get_project_leads.R
get_project_leads | R Documentation |
This function accesses the api endpoint for project leads and returns their names and usernames. It can fetch the entire table of active project leads, or it accepts the filter parameters to match all or part of a first name, last name, or username.
get_project_leads(filter_list = list(), show_id = FALSE, to_upper = TRUE)
filter_list |
list |
show_id |
include the fields the 'id' and 'slug' in the returned data frame |
to_upper |
|
See https://intra.glis.mnr.gov.on.ca/common/api/v1/swagger/ and filter by "project_leads" for a full list of available filter parameters.
See https://intra.glis.mnr.gov.on.ca/common/project_leads/ for the full list of current and former staff that can be entered as a project lead.
dataframe
Rachel Henderson rachel.henderson@ontario.ca
project_leads <- get_project_leads()
all_project_leads <- get_project_leads(list(all = TRUE))
all_steves <- get_project_leads(list(first_name__like = "ste", all = TRUE))
project_lead_slugs <- get_project_leads(show_id = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.