Reading XML files in R

Learn to read nested and straightforward XML files in R using xml2

Renu Khandelwal
Geek Culture
Published in
5 min readDec 1, 2021

--

You have received data in a file with extension XML and you need to perform Exploratory data analysis(EDA) and for that you need to extract the data in a tabular format. This article will help you learn what an XML file is, understand its structure, and read a simple and nested XML file in R to perform EDA.

What is XML?

Extensible Markup Language (XML) is a markup language used to store and transmit data over any network…

--

--

Renu Khandelwal
Geek Culture

A Technology Enthusiast who constantly seeks out new challenges by exploring cutting-edge technologies to make the world a better place!