parse_fry9c | R Documentation |
Parse a FR Y-9c XML schema
parse_fry9c(xml_filename, xsd_filename = NA)
xml_filename |
The full filename of the FR Y-9c schema |
xsd_filename |
(Default NA) An optional parameter defining the xml schema document |
Need to add ... to pass arguments to read_xml
an FRY9c object
xml <- ' <FRY9C date="20160101" omb_number="1" title="Test FR Y-9C"> <schedule desig="A" title="B"> <component num="1." name="Name1" key="NA"> <component num="1.a." name="Name1a" key="NA"> </component> </component> <component num="2." name="Name2" key="NA"> </component> </schedule> </FRY9C> ' tmpfilename <- tempfile(fileext = ".xml") tmpfile <- file(tmpfilename, encoding = "UTF-8") cat(xml, file = tmpfile) close(tmpfile) fry_9c <- parse_fry9c(tmpfilename) unlink(tmpfilename)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.