Add a Data Sharing page showing organizations searching Flock data #8
Loading…
Reference in a new issue
No description provided.
Delete branch "data-sharing"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Easthampton's Flock camera is part of a nationwide network, so
external organizations can search Easthampton's data. This adds the
data pipeline and a frontend page to make those search counts visible
to residents, porting logic already used for a companion blog post.
Data pipeline
deduplicated Network-Audit searches by requesting organization. It
reuses lib/csv_merge.merge for ID-based dedup instead of
reimplementing it, promoting csv_merge._column_index to public
column_index so both modules can look up columns the same way.
scripts now need the identical glob-handling logic.
derivation, packages.flock-network-org-search-counts,
packages.check-flock-network-org-search-counts, and
nix run .#update-flock-network-org-search-counts, mirroring the
existing update-flock-requests-data pattern.
4,219,292 total searches, matching the public figures already
reported for this data.
Frontend
organizations and their search counts, reusing the existing
flock-table/flock-sort CSS and flock-main.js rendering conventions
rather than porting the reference blog's separate chart/table
scripts. Export compareValues from flock-model.js so the new model
module can reuse the same sort comparison.
Match the master branch's move from single-letter placeholder names ('Officer A', 'Org A') to descriptive dummy values in test data (#14, #15). Applies the same style to the org search counts and network monthly summary tests added on this branch.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.