Learn R Programming

sits (version 1.1.0)

sits_to_csv: Export a sits tibble metadata to the CSV format

Description

Converts metadata from a sits tibble to a CSV file. The CSV file will not contain the actual time series. Its columns will be the same as those of a CSV file used to retrieve data from ground information ("latitude", "longitude", "start_date", "end_date", "cube", "label").

Usage

sits_to_csv(data, file)

Value

No return value, called for side effects.

Arguments

data

Time series.

file

Name of the exported CSV file.

Author

Gilberto Camara, gilberto.camara@inpe.br

Examples

Run this code
csv_file <- paste0(tempdir(), "/cerrado_2classes.csv")
sits_to_csv(cerrado_2classes, file = csv_file)

Run the code above in your browser using DataLab