XML
XML, like JSON, is an absolutely ubiquitous format for data transfer over the Internet. In addition to being used on the web, XML is also a popular data format for application configuration files and the list. In fact, newer Microsoft Office documents (with the extension .docx
or .xlsx
) are stored as XML files.
Here's what our simple Beatles dataset may look like in XML:
example_xml1 <- ' <the_beatles> <formed>1960</formed> <members> <member> <first_name>George</first_name> <last_name>Harrison</last_name> </member> <member> <first_name>Ringo</first_name> <last_name>Starr</last_name> </member> <member> <first_name>Paul</first_name> <last_name>McCartney</last_name> </member> <member> <first_name>John</first_name> <last_name>Lennon</last_name> ...
Get R: Predictive Analysis now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.