Description Usage Arguments Value Examples
IN DEVELOPMENT aim is to help identify and remove duplicates
1 2 3 4 5 6 7 | near_points(
country,
datasources = c("healthsites", "who"),
hs_amenity = c("clinic", "doctors", "pharmacy", "hospital"),
dist_same_m = 50,
toreturn = "summary"
)
|
country |
a character vector of country names or iso3c character codes. |
datasources |
vector of 2 datasources from 'healthsites' predownloaded, 'who', 'healthsites_live' needs API, 'hdx' not working yet |
hs_amenity |
filter healthsites data by amenity. 'all', 'clinic', 'dentist', 'doctors', 'pharmacy', 'hospital' to exclude dentist hs_amenity=c('clinic', 'doctors', 'pharmacy', 'hospital') |
dist_same_m |
distance below which a site from source 1 and 2 is considered same |
toreturn |
whether to return 'summary' or the merged 'sf' object |
sf
1 | #near_points("burundi", datasources=c('who', 'healthsites'), plot='mapview')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.