Findex global maps
Description
Creates static global maps that show mean threat to basins by major threat category and sub-threat category. Each map consists of two pngs. One is the map, and one is the legend.
Changes Made
In the findex sub-directory, p2 (processing) and p3 (plotting) targets have been added to _targets.R with functions added to the src/data_utils.R and src/plot_utils.R. The final output pngs have been pushed to the parent src/assets/images/ directory.
How to Test
To generate these maps, navigate to the findex sub-directory, and run the targets pipeline with targets::tar_make(). The images will be written to the parent src/assets/images/ directory.
An example of the major threat category map and legend naming convention is: Pollution_map.png where Pollution is the major threat category. Sub-threat categories utilize the same color palette as their parent major threat. An example of the sub-threat category map and legend naming convention is: P_Plastics_map.png where P stands for pollution and Plastics is the sub-threat category.
Below is the expected output from the 5 major threat categories.








