Data Wrangling of XML file using Jupyter Notebook
- study examples of accessing nodes in XML tree structure
- work on exercise to be completed and submitted reference: https://docs.python.org/2.7/library/xml.etree.elementtree.html data source: http://www.dbis.informatik.uni-goettingen.de/Mondial
for details about tree traversal and iterators, see https://docs.python.org/2.7/library/xml.etree.elementtree.html
Using data in 'data/mondial_database.xml', the examples above, and refering to https://docs.python.org/2.7/library/xml.etree.elementtree.html, find
- 10 countries with the lowest infant mortality rates
- 10 cities with the largest population
- 10 ethnic groups with the largest overall populations (sum of best/latest estimates over all countries)
- name and country of a) longest river, b) largest lake and c) airport at highest elevation