Skip to content

Add filter option #51

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ppinchuk opened this issue Mar 5, 2025 · 0 comments
Open

Add filter option #51

ppinchuk opened this issue Mar 5, 2025 · 0 comments
Assignees
Labels
new computation Update that adds a new computation method p-medium Priority: medium topic-rust-cli Issues/pull requests related to rust CLI

Comments

@ppinchuk
Copy link
Collaborator

ppinchuk commented Mar 5, 2025

When exporting data, we want to be able to filter based on some criteria. Likely, this could be implemented as a subcommand like

compass-db export [export-OPTIONALS] filter [filter-OPTIONALS])

We want to be able to filter on the following:

  • Given a shape (point or maybe some sort of bounding box), export only ordinances with jurisdictions that intersect that
  • Given a state name, export only ordinances for that state
  • Given a county name, export ordinances only for that county
  • Given a time range, export ordinances enacted within that range
  • Given a time range, export ordinances scraped by our tool within that range
@ppinchuk ppinchuk added new computation Update that adds a new computation method p-medium Priority: medium topic-rust-cli Issues/pull requests related to rust CLI labels Mar 5, 2025
@ppinchuk ppinchuk added this to the Finalize database export milestone Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new computation Update that adds a new computation method p-medium Priority: medium topic-rust-cli Issues/pull requests related to rust CLI
Projects
None yet
Development

No branches or pull requests

2 participants