Obtain time series from brick based on SHP file
# S3 method for shp_raster_cube
sits_get_data(
cube,
file,
...,
start_date = NULL,
end_date = NULL,
bands = NULL,
label = "NoClass",
shp_attr = NULL,
impute_fn = sits_impute_linear(),
.n_shp_pol = 30
)
Data cube from where data is to be retrieved.
SHP File with information on the data to be retrieved.
Other parameters to be passed for specific types.
Start of the interval for the time series in "YYYY-MM-DD" format (optional)
End of the interval for the time series in "YYYY-MM-DD" format (optional).
Bands to be retrieved (optional)
Label to be assigned to the time series (optional)
Attribute in the shapefile to be used as a polygon label (for shapefiles only.
Imputation function for NA values
Number of samples per polygon to be read (for POLYGON or MULTIPOLYGON shapes).
A tibble with time series data and metadata.