viewof fileselection = {
const files = new Map([
FileAttachment("Course Level-&&-Course Topics@4.csv"),
FileAttachment("Disciplinary Perspectives-&&-Instructor Name@3.csv"),
FileAttachment("Course Level-&&-Disciplinary Perspectives@4.csv"),
FileAttachment("Instructional Modality-&&-Instructor Name@1.csv"),
FileAttachment("Course Level-&&-Instructional Modality@2.csv"),
FileAttachment("Instructor Name-&&-Instructional Modality@6.csv"),
FileAttachment("Course Level-&&-Instructor Name@2.csv"),
FileAttachment("Instructor Name-&&-Course Topics@8.csv"),
FileAttachment("Disciplinary Perspectives-&&-Course Topics@2.csv"),
FileAttachment("Disciplinary Perspectives-&&-Instructional Modality@3.csv")
].map(f => [f.name, f]));
const form = select({
description: "Select Dataset",
options: Array.from(files.keys()),
value: "Disciplinary Perspectives-&&-Course Topics--03252022.csv"
});
return Object.defineProperty(html`<div>${form}`, 'value', {get() { return files.get(form.value) }});
}