Description Usage Arguments Value Examples
View source: R/national_list_url.r
returns urls for 'all' available countries or url for a single country
1 | national_list_url(country = "all")
|
country |
'all' (default) or a single country name or iso3c character code. |
dataframe or single value
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | national_list_url('South Sudan')
#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)
#mapview::mapview(sfgha, zcol='Type')
#afrihealthsites('gha',datasource=sfgha, type_column='Type')
#compare_hs_sources("ghana", datasources=list(sfgha,"who"), type_column='Type')
#3756 facilities from mfl
#facility_types('gha',datasource=sfgha, type_column='Type')
#1878 facilities in who-kemri data
#facility_types('gha',datasource='who', type_column='Type')
#to return a dataframe with all countries that have urls
national_list_url()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.