data = await FileAttachment("content/oildata.csv").csv()
data[0]
datacsv = await FileAttachment("content/oildata.csv").csv({ typed: true }) oils = datacsv.map(function(element){ return element; } ) Inputs.table(oils, { sort: "value", reverse: true })
dataoil = datacsv.map(function(element){ return element.author + ", " + element.title; }) dataoil[2]