GBD papers normally use a number of tools to produce figures and table to be used by journal. One major journal requirement is to have Vector Editable figures. This means that figures pulled directly from GBD Compare cannot be used for Publications. We use the programming Language R, and Python to produce our Figures and Tables. Figures are outputed in the form of Vector PDFs. Tables are exported as Excel Workbooks.
Basic figures that can be found on GBD Compare or in previous Journal articles are found here.
This figure displays the ranking of causes between years. Included Percent Change and the "residual" causes (Causes that appeared in the top causes in one year but not in other years) Figure is produced using R to prepare the data for use and in Python to produce the figure
A global map using the same color pallette as GBD Compare. Included in this subfolder is a GBD Shapefile with location_ids so that the shapefile can be matched to GBD data.
Plot of risk attributable health loss and how risk/cause pairs contribute to health loss. Included the proper color hexes to match colors used to represent causes in GBD Compare and other GBD Publications
Function to produce full Lancet Tables with formatting for hierarchy, including indentation for different causes or locations on the hierarchy.
- Clone or download this repository.
- Select Needed Data from GBD Results Tool (For example change location to location of interest, or age_group to needed age_group)
- Each Figure Code contains a link to the data that was used in the creation of the sample Figure.
- Replace Sample Data used in figure and Table production with downloaded data.
- Replace
user_dir
with where you saved the code - Replace
out_dir
with where you would like the figure saved. - Run code!