get_ecoregions: Download terrestrial ecoregions of the world polygon

View source: R/get_ecoregions.R

get_ecoregionsR Documentation

Download terrestrial ecoregions of the world polygon

Description

It is a one-time downloadable data. The function first downloads the zip file, unzip it... ...load the shapefile, convert the shapefile to geopackage and write the geopackage to file.

Usage

get_ecoregions(file_path = NULL)

Arguments

file_path

path location

Value

teow gpkg

Examples



file_path <- ".." # path to the folder where you want to download the polygon
# Download teow polygon
get_ecoregions(file_path=file_path)



Ohm-Np/openRspat documentation built on June 23, 2022, 3:03 p.m.