getLU: Return LU geometries for a given country.

View source: R/geometries.R

getLUR Documentation

Return LU geometries for a given country.

Description

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

Usage

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 Oct. 3, 2023, 8:48 a.m.