Skip to contents

Flatten Results: simplify satellite data and metadata structure by unnesting from list to tibble

Usage

flatten_results(
  sat_data_list,
  cols_unnest = "satellite_data_metadata",
  drop_cols = TRUE
)

Arguments

sat_data_list

satellite data list result as retrieved by for example gee_get_data_for_years_parallel

cols_unnest

vector with names of columns to unnest (default: "satellite_data_metadata")

drop_cols

should columns not used for unnesting be dropped (refers to the columns: "satellite_data_metadata", "satellite_data", "satellite_metadata"), default: TRUE

Value

tibble with column names satellite_data.xxx and satellite_metadata.xxx