Get admin2 polygons from API
f_get_admin2_cod.Rd
Queries the COD API sever to return admin2 geometry and pcode for a specific country based on iso name. As the resulting data is expected to be used in a shinyApp, the geomtry is simplified
Arguments
- ISO3
ISO3 code of country
- simplify
Logical: whether to simplify or not
- dTolerance
parameter passed to
sf::st_simplify()