See licenses_data_sources.csv for data licenses and terms of use.
The “One Health and Veterinary Systems in Africa: Taking stock of current coverage, needs, and opportunities to meet present and changing threats and optimize collaboration” is reviewing current capacity and programmatic status, gaps, and operations in each country and by sub-regions of Africa.
This repository combines datasets from multiple sources to produce a single One Health database containing all the selected indicators. The database encompasses 54 countries across the continent (according the UN).
Downloaded data files are stored in the data folder. The sources of each data file and their associated indicators are listed in the 'OHDAfrica_indicators_metadata.csv' file. This file also contains links to the relevant webpages.
The column entitled 'manual update needed' idenitifes those datasets for which an api call/direct download wasn't available and that will need manually updating as required.
Definitions for columns in metadata file
Individual functions for extracting the data for individual indicators are available in the 'R_api' folders
'R_api' contains functions to retrieve data using direct downloads or api calls where available. For those where a direct download/api call is not possible, the functions use the data stored in the 'data' folder.
'top_script_api' uses direct downloads or api calls where they are available. When not available it draws on the downloaded data in the 'data' folder.
There are three outputs from each of these scripts:
'top_script_api_clean' merges duplicate vet data and cleans SPAR indicator names.
'country.report.Rmd' produces a report for a specified year and country which the user specifies in lines 21 and 23 of the script. Only variables for which data are available for the specified country and years will appear in the report.