getCR: Return CR geometries for a given country.

getCRR Documentation

Return CR geometries for a given country.

Description

Return all ColRows of a given country as a set of simple feature polygons, using the geometries of their respective SimUs.

Usage

getCR(countryNames, dataDirectory, cache = TRUE, simu = NULL)

Arguments

countryNames

Names of the countries as a string vector. It can have one or more values.

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.


pedro-andrade-inpe/colrow documentation built on Oct. 3, 2023, 8:48 a.m.