read_xml_ccdr: Read a DD Form 1921 XML File

Description Usage Arguments Value Examples

Description

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

Usage

1
read_xml_ccdr(file_path)

Arguments

file_path

The file to read.

Value

A list of three 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.

cost_summary

The summary level cost report data (e.g., Subtotal, G&A, Fee).

Examples

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

cost_report_1 <- read_xml_ccdr(paste0(file_path, ccdr_files$file[1]))
}
## End(Not run)

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