get_country_polygons: checks that country boundaries exist and if they don't...

Description Usage Arguments Value Note

Description

checks that country boundaries exist and if they don't downloads them.

Usage

1
get_country_polygons(country_polygon_directory)

Arguments

country_polygon_directory

the directory where the shape files live

Value

Clarification that all the countries exist as expected in the designated location

Note

This function is pretty simplistic. It can be simplified by condensing the repeated code. This funciton lets people update the shape files from the GADM website.


one-acre-fund/soilgrids documentation built on May 16, 2019, 5:02 a.m.