Skip to content
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

Allow filtering by category type #3

Open
jasonlally opened this issue Apr 11, 2016 · 5 comments
Open

Allow filtering by category type #3

jasonlally opened this issue Apr 11, 2016 · 5 comments

Comments

@jasonlally
Copy link

Add a filter for the high level categories (multiple select). This can be optional. There are fewer of these, it'll make it easier to limit the returns. Could also just be implemented as a checkbox on the legend after the initial data is returned.

@jasonlally
Copy link
Author

API docs here: https://dev.socrata.com/foundry/data.sfgov.org/cuks-n6tp

You can see the categories + counts with this query for example: http://data.sfgov.org/resource/cuks-n6tp.json?$select=count(*),category&$group=category

@paulhennings
Copy link
Collaborator

Cross reference to issue #48

@sarah-clements
Copy link

I'll take a stab at this.

@paulhennings
Copy link
Collaborator

paulhennings commented Feb 26, 2017

This is dependent on Issue #48 being completed first, so that the "Clery Category" is available for reporting.
Update 3/15/17: Issue #48 is complete. This can proceed.

@paulhennings
Copy link
Collaborator

Research on this didn't find a fully functional filter option. Options in "vanilla javascript" don't allow multi-select. Multi-select would require React or another advanced framework. For now, let's follow our "keep is sweet and simple" rule. Moving this to the Parking Lot and we can research again in a few months to see if there are new library options that might work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants