Description Usage Arguments Value Author(s) See Also Examples
Returns the unique XML elements included in an XML document.
1 | fxml_getUniqueElements(xmlflat.df)
|
xmlflat.df |
A flat XML dataframe created with |
A vector with all the names of the elements included in the XML document xmlflat.df
. Every tag is only returned once, even if it occurs multiple times in the document. The return vector is empty (NULL
) if no elements exist.
Joachim Zuckarelli joachim@zuckarelli.de
1 2 3 4 5 6 7 | # Load example file with population data from United Nations Statistics Division
# and create flat dataframe
example <- system.file("worldpopulation.xml", package="flatxml")
xml.dataframe <- fxml_importXMLFlat(example)
# Identify the unique XML elements
fxml_getUniqueElements(xml.dataframe)
|
[1] "ROOT" "data" "record" "field" "footnotes" "footnote"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.