function renderSchoolProperties(school) {
const propertiesToExclude = ["School", "CountyName", "Latitude", "Longitude", "ReportDate", "Address", "City", "reportDate"]
const outerContainer = html`<div>${style()}</div>`
const updatedNames = new Map([
["School", ""],
["CaseCountDefinition", "Potential exposures"],
["CaseCount", "Outbreak status"],
["CaseCategory", "Cases among"],
["CaseSource", "Source"],
["CountyName", "County"],
["SchoolCategory", "School type"],
["Confirmed Cases", "Confirmed cases"],
["Close Contacts Identified", "Close contacts identified"]
])
if (Array.from(mergedIDPHData.keys()).includes(autoSelectSchool)) {
let properties = mergedIDPHData.get(school)
renderSchoolAndCounty(properties, outerContainer)
properties.forEach((val, key) => {
if (propertiesToExclude.includes(key)) {
} else {
renderProperty(updatedNames.get(key), val, outerContainer)
}
})
}
return outerContainer
}