The world is flat The new R package flatxml provides functions to easily deal with XML files. When parsing an XML document fxml_importXMLFlat produces a special dataframe that is 'flat' by its very nature but contains all necessary information about the hierarchical structure of the underlying XML document (for details on the dataframe see the reference for the fxml_importXMLFlat function). flatxml offers a set of functions to work with this dataframe. Apart from representing the XML document in a dataframe structure, there is yet another way in which flatxml relates to dataframes: the fxml_toDataFrame function can be used to extract data from an XML document into a dataframe, e.g. to work on the data with statistical functions. Because in this case there is no need to represent the XML document structure as such (it's all about the data contained in the document), there is no representation of the hierarchical structure of the document any more, it's just a
Showing posts from June, 2018
- Other Apps
As I am preparing for the next version of my package 'xplain' (see http://www.zuckarelli.de/xplain/index.html for more details) I invite everybody to share their ideas for improvements and new features. I'm currently planning to release the new version in August. Your ideas are highly appreciated! Leave your comments on GitHub ( https://github.com/jsugarelli/xplain ) or contact me via Twitter or e-mail . Thank you for your contribution!
- Other Apps