0 ×

01_​Data_​API_​Using_​REST_​Nodes

Workflow

World Health Organisation - Data API using the new REST nodes The World Health Organisation (WHO) provides a wide range of data on health related topics. Here we show howto access data from their RESTful webservice that provides data on causes of death. The data is retrieved as XML,and the relevant data is extracted using the XPath nodes. After some processing, and aggregation statistics asubset of the data is plotted using a Tag cloud to show differences in the top 10 causes of death for men andwomen. We also plot a Bar Chart showing how these rates of death have changed between 2000, and 2012.We also show how to do combine multiple calls to a webservice using the GET Request node, once again theXML data is processed using the XPath nodes, and then the leading causes of death are plotted in a bar chart,that highlights the differences between regions of the world.Full details about the WHO data API is available here: http://apps.who.int/gho/data/node.resources.apiSpecifically we used the data from this part of the API: http://apps.who.int/gho/data/node.main.RCODWBDCP?lang=en Get WHO data oncause of death for'High Income' countriesConvert from XMLto table formLook at 2012 data onlyPlot high-income country top 10 causes of deathQuery multiple URLsat onceTake the list ofURLs and do each queryConvert from XMLto table formPlot cause of deathper region for 2000 and 2012Generate Tag Cloud(Blue: Male, Pink: Female)Apply differentcolours to diseasesthat affect men and women differentlyFilter out'All Causes'Filter out'communicable' and'non-communicable'disease superclassesPivot and Tag GET Request XPath Row Filter Bar Chart(JavaScript) Table Creator GET Request XPath Bar Chart(JavaScript) Tag Cloud Color Manager Row Filter Row Filter Prepare forTag Cloud Data Processing Data Processing World Health Organisation - Data API using the new REST nodes The World Health Organisation (WHO) provides a wide range of data on health related topics. Here we show howto access data from their RESTful webservice that provides data on causes of death. The data is retrieved as XML,and the relevant data is extracted using the XPath nodes. After some processing, and aggregation statistics asubset of the data is plotted using a Tag cloud to show differences in the top 10 causes of death for men andwomen. We also plot a Bar Chart showing how these rates of death have changed between 2000, and 2012.We also show how to do combine multiple calls to a webservice using the GET Request node, once again theXML data is processed using the XPath nodes, and then the leading causes of death are plotted in a bar chart,that highlights the differences between regions of the world.Full details about the WHO data API is available here: http://apps.who.int/gho/data/node.resources.apiSpecifically we used the data from this part of the API: http://apps.who.int/gho/data/node.main.RCODWBDCP?lang=en Get WHO data oncause of death for'High Income' countriesConvert from XMLto table formLook at 2012 data onlyPlot high-income country top 10 causes of deathQuery multiple URLsat onceTake the list ofURLs and do each queryConvert from XMLto table formPlot cause of deathper region for 2000 and 2012Generate Tag Cloud(Blue: Male, Pink: Female)Apply differentcolours to diseasesthat affect men and women differentlyFilter out'All Causes'Filter out'communicable' and'non-communicable'disease superclassesPivot and Tag GET Request XPath Row Filter Bar Chart(JavaScript) Table Creator GET Request XPath Bar Chart(JavaScript) Tag Cloud Color Manager Row Filter Row Filter Prepare forTag Cloud Data Processing Data Processing

Download

Get this workflow from the following link: Download

Nodes

01_​Data_​API_​Using_​REST_​Nodes consists of the following 53 nodes(s):

Plugins

01_​Data_​API_​Using_​REST_​Nodes contains nodes provided by the following 6 plugin(s):