eodf_import_data: Import the data in R

View source: R/eodf_import_data.R

eodf_import_dataR Documentation

Import the data in R

Description

Function to import a data / time series that was downloaded with one of the packages opendapr, getremotedata or shub4r

Usage

eodf_import_data(df_data_to_import, collection, variable = NULL,
  roi = NULL, output = "RasterBrick")

Arguments

df_data_to_import

data.frame. Contains the path to the data that were downloaded. Typically output of odr_get_url, grd_get_url or shr_get_url. See Details for the structure

collection

character string the name of a collection

variable

character string the name of a variables

roi

sf the ROI. Mandatory for SMAP collection, else, not necessary

output

character string the output. "RasterBrick" or "stars". At now stars is implemented only for MODIS and VIIRS collections


ptaconet/eodataflow documentation built on June 14, 2024, 6:43 p.m.