cfr_part: Parse the Relevant Details for CFR xml files

Description Usage Arguments Details Value

View source: R/functions.R

Description

cfr_part returns a data_frame year, title, volume, chapters, parts, and file path for each xml file

Usage

1
cfr_part(file_path, verbose = FALSE)

Arguments

file_path

file path coming from the bulk download

verbose

logical. Will return "helpful" messages regarding the status of the file path.

Details

cfr_part

Since we're after more refined data than a single volume, we need to figure out what chapters and parts are associated with each volume. This function parses the xml and scrapes the Table of Contents for the information held in each volume.

Value

Numeric (year, title, volume, and chapters) and characters (parts and file path).


slarge/fedregs documentation built on May 29, 2020, 5:13 p.m.