SatcherInstitute / health-equity-tracker

Health Equity Tracker is a free-to-use data visualization platform that is enabling new insights into the impact of COVID-19 and other social and political determinants of health on historically underrepresented groups in the United States.
https://healthequitytracker.org/
MIT License
17 stars 24 forks source link

Search by city on data tracker #1117

Open benhammondmusic opened 3 years ago

benhammondmusic commented 3 years ago

search by city

Currently the tracker location search box is unable to handle city requests; this is suboptimal as many people might a) attempt a search by city as their first search and b) not even know the name of the county they live in or especially not know the names of their surrounding counties.

Proposal to implement a lookup and if there is a matching city (or cities) to display those as options with the containing county, which will then map on click to the corresponding county

jgonzalezmsm commented 3 years ago

This is a really cool idea and nice workaround to not having cities in the data

jgonzalezmsm commented 3 years ago

add the word "county" after every county name on region select.

jgonzalezmsm commented 3 years ago

can search not be an exact match?

benhammondmusic commented 2 years ago

mui autocomplete allows different variables for the value and the displayValue; this could be one implementation, where city names are entries that contain the displayValue of the city but the value of the parent county (since county level is the lowest level we can show on the tracker)

benhammondmusic commented 2 years ago

add the word "county" after every county name on region select.

Addressed in #1310

benhammondmusic commented 2 years ago

can search not be an exact match?

Filed as new issue #1311