getLU: Return LU geometries for a given country.

Description Usage Arguments

View source: R/geometries.R

Description

Return all Large Units of a given country as a simple feature.

Usage

1
2
3
4
5
6
7
getLU(
  countryNames = NULL,
  dataDirectory,
  cache = TRUE,
  simu = NULL,
  as.cr = NULL
)

Arguments

countryNames

Names of the countries as a string vector. It can have one or more values. As default, it will return all countries in the World as LU.

dataDirectory

Directory where input data is located. This directory needs to have files available at https://www.dropbox.com/sh/sqocqe45jwmug2p/AAAbv-IAg24a_R4vYsP9zqV_a?dl=0.

cache

If true (default), use the LUs precomputed. Otherwise, it will compute from the original data.

simu

A simple feature with loaded SimUs. Default is NULL, which means that the SimU data will be loaded from dataDirectory.

as.cr

A list of countries to be loaded as CR instead of LU.


pedro-andrade-inpe/colrow documentation built on Dec. 17, 2020, 11:21 p.m.