All Projects → afrimapr → afrihealthsites

afrimapr / afrihealthsites

Licence: GPL-3.0 license
access to geographic locations of african health sites from different sources

Programming Languages

r
7636 projects

Projects that are alternatives of or similar to afrihealthsites

africastalking-node.js
Official Node.js SDK for Africa's Talking
Stars: ✭ 113 (+303.57%)
Mutual labels:  africa
oscafrica.org-v1
First Version of OSCA Official Website
Stars: ✭ 25 (-10.71%)
Mutual labels:  africa
mozambique
Who are the people behind the mining industry in Mozambique? A partial answer can be found by connecting minerals concessions to the people who control the licensed exploration and mining companies. Accessible at: https://ancir.github.io/mozambique/bigshots/
Stars: ✭ 16 (-42.86%)
Mutual labels:  africa
edliz
This 7th essential medicines list and standard treatment guidelines for the most common health conditions in Zimbabwe has been endorsed by the National Medicine & Therapeutics Policy Advisory Committee [NMTPAC]. It is the product of many years of combined efforts by hundreds of health workers at all levels of the health care system in Zimbabwe. …
Stars: ✭ 25 (-10.71%)
Mutual labels:  africa
CodeForAfrica.org
The @CodeForAfrica landing page. Built with Jekyll and hosted on Github Pages. Accessible at https://codeforafrica.org/
Stars: ✭ 20 (-28.57%)
Mutual labels:  africa
ClimateChangeProjections
An embeddable map that shows climate change projections. How hot will it be by 2070 if we don't do something about it? Accessible at https://climatechange.codeforafrica.org
Stars: ✭ 29 (+3.57%)
Mutual labels:  africa
DevOps
DevOps code to deploy eScience services
Stars: ✭ 19 (-32.14%)
Mutual labels:  africa
Vibranium
Web template for and by DSC chapters worldwide because we are a Wakanda of student developers and future technology leaders from all across the world. 🎉
Stars: ✭ 89 (+217.86%)
Mutual labels:  africa
Language Time
A library that converts Time to its equivalent local languages starting with some basic Nigeria languages(Yoruba, Hausa, Igbo, Efik and English)
Stars: ✭ 51 (+82.14%)
Mutual labels:  africa
made-in-cameroon
A curated list of awesome tools and projects built by Cameroonian developers
Stars: ✭ 14 (-50%)
Mutual labels:  africa
covid19africa
Africa open COVID-19 data working group
Stars: ✭ 47 (+67.86%)
Mutual labels:  africa

afrihealthsites

access to geographic locations of african health facilities from different sources.

See web interface and paper demonstrating these components.

Part of the afrimapr project.

In early development, will change, contact Andy South with questions.

Install afrihealthsites

Install the development version from GitHub :

# install.packages("remotes") # if not already installed

remotes::install_github("afrimapr/afrihealthsites")

First Usage

library(afrihealthsites)
library(sf)

## WHO database 

# with interactive map
sfken <- afrihealthsites("kenya", datasource='who', plot='mapview')

# static map
sfeth <- afrihealthsites("ethiopia", datasource='who', plot='sf')

## healthsites.io

# pre-downloaded data

# with interactive map
sfmali <- afrihealthsites("mali", datasource='healthsites', plot='mapview')

## compare locations from different sources

compare_hs_sources('togo')

# these are defaults
compare_hs_sources('togo', datasources=c('who', 'healthsites'), plot='mapview')

# run a shiny application allowing you to select any country
runviewer()

# live data - requires a free API key from https://healthsites.io/
library(rhealthsites)
#rhealthsites::hs_set_api_key('[requires a free API key from https://healthsites.io/]')

# with interactive map
sfmali <- afrihealthsites("mali", datasource='healthsites_live', plot='mapview')

Find National Master Facility Lists

# all countries list of available MFLs
df <- national_list_avail()

# availability for a single country
national_list_avail("Togo")

# url for data (if available)
national_list_url("Ghana")

# example of reading in data direct from a url and mapping
# will only work for countries where "machine_readable" is TRUE
dfgha <- read.csv(national_list_url("Ghana"))
sfgha <- sf::st_as_sf(dfgha, coords=c("Longitude","Latitude"), crs=4326, na.fail=FALSE)
afrihealthsites('gha',datasource=sfgha, type_column='Type')

specifying countries

The following can be used :

  • capitalisation (as you would write the country name in normal text e.g. "South Africa"
  • all lower caps (e.g. "south africa")
  • 3 letter country iso3c code (e.g. "zaf")
sfzaf1 <- afrihealthsites("south africa", datasource='who', plot=FALSE)
sfzaf2 <- afrihealthsites("ZAF", datasource='healthsites', plot='sf')
sfzaf3 <- afrihealthsites("South Africa", datasource='who', plot='mapview')

Research notice

Please note that this repository is participating in a study into sustainability of open source projects. Data will be gathered about this repository for approximately the next 12 months, starting from June 2021.

Data collected will include number of contributors, number of PRs, time taken to close/merge these PRs, and issues closed.

For more information, please visit the informational page or download the participant information sheet.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].