Description Usage Arguments Details Value Examples
NOTE I changed ZBM to ZMB for Zambia
1 2 3 4 5 6 7 8 9 10 11 |
country |
a character vector of country names |
level |
which admin level to return |
colr_hdx |
colour for hdx boundaries in plots defaults blue semi-transparent |
colr_gadm |
colour for gadm boundaries in plots defaults red semi-transparent |
lwd |
line width in plots |
legend |
legend in sf plots TRUE/FALSE |
add |
whether to add sf plot to existing plot |
alpha |
transparency in mapview plots |
plot |
option to display map 'mapview' for interactive, 'sf' for static, 'compare' to sf compare with gadm |
start by checking whether I can open a few geojson files copied across
not sure yet
1 2 3 4 5 | #hdxlive("angola")
#hdxlive('benin',level=2)
#hdxlive('zimbabwe',level=2)
#to compare gadm and hdx
#hdxlive('malawi',level=2, plot='compare_mapview')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.