get_pdl_reports: Returns a list of lists of length two containing $content and...

Description Usage Arguments

View source: R/get_pdl_reports.R

Description

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

Usage

1
2
3
4
5
6
7
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.


rmsharp/snprcspf documentation built on June 15, 2020, 11:21 a.m.