get_all_ee: get_all_ee

Description Usage Arguments Value

View source: R/load_principle_datasets.R

Description

Load one or more All Employee reports from csv source. Optionally, save the compiled RDS file for faster loading in the future.

Usage

1
2
get_all_ee(folderpath, most_recent_only = TRUE, opt_start_date, opt_end_date,
  supplement = TRUE)

Arguments

folderpath

the folderpath containing the csv files.

most_recent_only

Boolean. Simplest way to specify loading the most recent csv file only for performance reasons.

opt_start_date

An optional start date if only certain files should be loaded. If not specified and most_recent_only == TRUE, then will load all files found in folderpath.

opt_end_date

An optional end date if only certain files should be loaded. If not specified and most_recent_only == TRUE, then will load all files found in folderpath.

supplement

Boolean value indicating if the dataframes should have additional derived columns added. Examples of columns include EMR Job Type, Fiscal Year, and Longevity Bonus.

Value

a single dataframe containing one or more all employees reports. report data can be distinguished by the added 'date' column.


iancj88/msuopa documentation built on May 17, 2019, 7:07 p.m.