buildSpatialDataset: buildSpatialDataset

View source: R/buildSpatialDataset.R

buildSpatialDatasetR Documentation

buildSpatialDataset

Description

A function to build a spatial dataset for a given factsheet domain.

Usage

buildSpatialDataset(
  host,
  domain,
  doc,
  ids = NULL,
  runParallel = FALSE,
  runCores = 1,
  exportPartialResults = FALSE,
  exportPath = getwd(),
  verbose = TRUE
)

Arguments

host

an object of class "character" giving the host

domain

an object of class "character" giving the FIRMS domain

doc

a FIRMS inventory doc (retrieved as JSON through web-service)

ids

a vector of resource IDs for which the computation has to be run

runParallel

To run code with parallel R interface. Default is FALSE

runCores

Number of cores to use when parallel = TRUE.

exportPartialResults

if partial shapefiles have to be exported Default is FALSE.

exportPath

the path were shapefiles should be exported

verbose

an object of class "logical" either logs have to be printed out. Default value is TRUE.

Value

an object of class "sf"

Note

end-user function

Author(s)

Emmanuel Blondel, emmanuel.blondel1@gmail.com


openfigis/RFirmsGeo documentation built on Dec. 18, 2024, 2:06 a.m.