I have a list of lists (you can see on the pic), and would like to export it as .csv. I tried to convert it into feature collection, and then run the following lines:
var feature = ee.Feature(null, lossperyearperelevation1);
var featureCollection = ee.FeatureCollection([feature]);
Export.table.toDrive({
collection: featureCollection,
description: 'exportTableExample',
fileFormat: 'CSV'});
it gives the following error: Error: Feature, argument 'metadata': Invalid type. Expected type: Dictionary. Actual type: List<List<Dictionary>>.
I am confused if it is a list of list, and how to export it in .csv. How can I solve this problem?
the link for the sample code is here: https://code.earthengine.google.com/40c2c24233a6119ee577fb05dd86a14e
Export
operation. We need more information — could you please edit your question to include the "converting" code, and preferably a sample list of lists of dictionaries to run it on? Also, what shape of CSV output are you hoping to get? An example CSV file written out would help.