EasieR XML data collection

XML2R is a framework that reduces the effort required to transform XML content into number of tables while preserving parent to child relationships.


EasieR XML data collection. For an introduction to the package, see here

To install the CRAN version use: install.packages("XML2R"); library(XML2R)

To install the github version use: library(devtools); install_github("XML2R", "cpsievert"); library(XML2R)

TO DO:

(1) Fix naming of observations when no children exist
(2) Add some tests using testthat

News

CHANGES IN XML2R VERSION 0.0.6

MINOR FIX

  • In version 0.5, the url column does not contain the file name (instead, it contains integers). This has consequences for pitchRx, but is now fixed.

    CHANGES IN XML2R VERSION 0.0.5

MAJOR CHANGES/IMPROVEMENTS

  • A dependency to RCurl was added so asynchronous downloads can be done via getURL. This dependency also has the benefit of more robust HTTP downloads.

    CHANGES IN XML2R VERSION 0.0.4

MAJOR CHANGES/IMPROVEMENTS

  • The collapse() function was changed to collapse_obs() to avoid namespace clashing with dplyr's collapse().

  • The child argument was removed from add_key(). The recycle argument was added to add_key() which allows one to use an existing value in the parent node as a key to connect the parent observation to its descendents (thanks Carlos Scheidegger)

  • Better garbage collection

    CHANGES IN XML2R VERSION 0.0.3

IMPROVEMENTS

  • url.map option was added to XML2Obs.

    CHANGES IN XML2R VERSION 0.0.2

MAJOR CHANGES

  • Function rename() was changed to re_name() to avoid NAMESPACE issue conflicts with plyr.

MINOR FIXES

  • quiet option added to several functions

    CHANGES IN XML2R VERSION 0.0.1

NEW FEATURES

  • First version of XML2R. See the package tutorial

  • This package was born out of an effort to abstract the functionality of pitchRx::urlsToDataFrame so that other projects can be built on top of this framework.

MISC

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("XML2R")

0.0.6 by Carson Sievert, 7 years ago


http://cpsievert.github.com/XML2R


Report a bug at http://github.com/cpsievert/XML2R/issues


Browse source code at https://github.com/cran/XML2R


Authors: Carson Sievert <[email protected]>


Documentation:   PDF Manual  


Task views: Web Technologies and Services


GPL (>= 2) license


Imports RCurl, plyr

Depends on XML


Imported by pitchRx.

Depended on by VarfromPDB.


See at CRAN