example file with population data from United Nations Statistics Division</span>
<span class='co'># and create flat dataframe</span>
<span class='no'>example</span> <span class='kw'>&lt;-</span> <span class='fu'><a href='https://rdrr.io/r/base/system.file.html'>system.file</a></span>(<span class='st'>"worldpopulation.xml"</span>, <span class='kw'>package</span><span class='kw'>=</span><span class='st'>"flatxml"</span>)
<span class='no'>xml.dataframe</span> <span class='kw'>&lt;-</span> <span class='fu'><a h