Digging into the GBD 2010 Risk Factors II

A follow-up on my recent adventure digging into the GBD 2010 risk factors, wherein I helped a fellow researcher find the specific diseases to which the risk factor DALYs are attributed (http://ihmeuw.org/2c6v ):

Capture

I helped find where to look at the risk factor attribution, but what if you want to download the numbers? The “download chart data as CSV” link gives you something, but it is not the risk factors, it is just the disease fractions of total DALYs:

Capture

Fortunately, a javascript guru with a few minute told me the incantation to get the risk factor fractions out, recorded here for posterity:

$.fileDownload(app.settings.baseURL+'php/risk_data.php',{ httpMethod: "POST", data:{ measure: app.getMeasure(1, 'percent'), sex: app.getSex(1), age: app.getAge(1), year: app.getYear(1), location: app.getLocation(1), cause: d3.keys(app.metadata.causes), risk: app.getRisk(1), format: 'csv', title: app.charts[1].getTitle(), } });

Comments Off on Digging into the GBD 2010 Risk Factors II

Filed under global health

Comments are closed.