| sits_data_to_csv {sits} | R Documentation |
Converts time series data from a sits tibble to a CSV file. The CSV file will not contain the metadata, but only the actual time series, with a reference value. This function is useful to export the data to external apps.
sits_data_to_csv(data, file)
data |
A tibble with time series data and metadata. |
file |
Name of the exported CSV file. |
Status of the operation.
Gilberto Camara, gilberto.camara@inpe.br
# read a tibble with 400 samples of Cerrado and 346 samples of Pasture data(cerrado_2classes) # export a time series csv_file <- paste0(tempdir(), "/cerrado_2classes.csv") sits_data_to_csv(cerrado_2classes, file = csv_file)