View source: R/match_name_to_id.R
match_name_to_id | R Documentation |
Query BPFS database for latest Detailed Fund, Service, Activity, Fund, Agency, Object, and/or Subobject names. Useful for pulling the most recent names when working with historical data.
match_name_to_id(df, cols, incl.higher, fy = 22)
df |
dataframe to match |
cols |
a vector of strings of the column names to be matched |
incl.higher |
logical, should the returned dataframe include the level of detail above certain columns (ex: should Fund ID be included with a Detailed Fund match?) |
fy |
latest fiscal year, for database schema |
a dataframe with Name columns added
Lillian Nguyen
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.