Code
= FileAttachment("LEA-20230424.csv").csv({ typed: true })
data
= Inputs.search(data,
viewof search placeholder: "Enter a zip code, county, city, or police department name",
{width: 900,
label: "Search LEAs"
})
This is a list of California law enforcement agencies that we have gathered and curated for the purpose of finding and tracking policy manuals and military equipment inventories. This list of LEAs was obtained from the California’s Commision on Police Officer Standards and Training
viewof rows = Inputs.table(search, {
header: {
Ref: "Reference Number",
LEA_Name: "LEA Name",
Exact_Address: "Exact Address",
Zip_Code: "Zip Code",
LEA_Type: "LEA Type",
Site: "LEA Website",
Policy_Manual_Exists: "Policy Manual Exists?",
Mil_Equip_Policy_Exists: "MEP Exists?",
"Military Equipment Inventory Exists": "MEI Exists?",
QA_Policy_Manual: "QA Policy Manual Link",
QA_Mil_Equip_Policy: "QA MEP Link",
"QA Mil_Equip_Inventory (if separate)": "QA MEI Link (if separate)"
},
format: {
Zip_Code: x => x.toFixed(0),
Site: x => htl.html`<a href=${x} target=_blank>${x}</a>`,
QA_Policy_Manual: x => htl.html`<a href=${x} target=_blank>${x}</a>`,
QA_Mil_Equip_Policy: x => htl.html`<a href=${x} target=_blank>${x}</a>`,
"QA Mil_Equip_Inventory (if separate)": x => htl.html`<a href=${x} target=_blank>${x}</a>`,
},
})