The returned list contains one list of length 2 for each PDL report. The 2 elements within each list are the content list, which has one element for each line within the report and the meta list, which has 7 elements. See get_pdl_meta_data_from_content().

get_pdl_reports(
  base_directory = "../inst/extdata/",
  pdl_report_directory = "PDL/",
  start_year,
  end_year,
  excluded_files = character(0)
)

Arguments

base_directory

character vector with path for directory in which the pdl_report_directory resides.

pdl_report_directory

character vector with name of directory in which the PDL reports reside.

start_year

integer value indicating the first calendar year as used in the name of the folders containing reports from the years indicated.

end_year

integer value indicating the last calendar year as used in the name of the folders containing reports from the years indicated.

excluded_files

character vector of files to ignore.