read_xml_fchr: Read a DD Form 1921-1 XML File

Description Usage Arguments Value Examples

Description

Parse the data for a given file name with a valid extension (i.e., '1921_1.xml').

Usage

1
read_xml_fchr(file_path)

Arguments

file_path

The file to read.

Value

A list of two tables (tbl_df):

metadata

The document metadata (e.g., Program Name, Contract Number, Report As Of Date, etc.).

cost_report

The WBS level cost report data.

Examples

1
2
3
4
5
6
7
## Not run: \donttest{
file_path <- paste0(system.file("extdata", package = "costTools"), "/CCDR_Data/")
get_files_ccdr(file_path)

cost_report_2 <- read_xml_fchr(paste0(file_path, ccdr_files$dir[2], ccdr_files$file[2]))
}
## End(Not run)

daniel-r-germony/dstCSDR documentation built on Jan. 4, 2020, 12:16 a.m.