Retrieves a time series from an xml file
Arguments
- file
The xml file.
- collection
The name or the 1-based position of the collection containing the requested data.
- series
The name or the 1-based position of the series in the selected collection.
- charset
The character set used in the file.
- fullName
Specifies if a full name (containing the name of the collection and the name of the series) is used or not.
Examples
set_xml_paths(system.file("extdata", package = "rjd3providers"))
xml_1_5 <- xml_series("Prod.xml", 1, 5, charset = "iso-8859-1")
xml_cn <- xml_series("Prod.xml", "industrial production",
"Construction navale", charset = "iso-8859-1")