Skip to content

Instantly share code, notes, and snippets.

@akshat3096
Last active November 8, 2019 18:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save akshat3096/e3d206828d4735afb11d180910a3901a to your computer and use it in GitHub Desktop.
Save akshat3096/e3d206828d4735afb11d180910a3901a to your computer and use it in GitHub Desktop.
install.packages("XML")
library(XML)
xml <- xmlParse("export.xml")
summary(xml)
#convert the XML object to data frame
df <- XML:::xmlAttrsToDataFrame(xml["//Record"])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment