codeforkansascity / Neighborhood-Dashboard

We're working to help neighborhoods help themselves by giving them easy access to useful data to allow them to identify and track problem areas in their neighborhood.
https://neighborhood-dashboard.codeforkc.org/
MIT License
18 stars 9 forks source link

Ability to Export Search Results #110

Closed AmandaWilsonKC closed 7 years ago

AmandaWilsonKC commented 7 years ago

It would be really helpful if users can export the results from their queries. I think just exporting the information that's in the tooltip would suffice.

JakeLaCombe commented 7 years ago

That should be possible. How would you like the output to display?

AmandaWilsonKC commented 7 years ago

I guess the export could just display the information in the tooltip as the columns? Was there anything else you were looking for?

JakeLaCombe commented 7 years ago

I was thinking you wanted a spreadsheet, csv file, json endpoint, something like that.

AmandaWilsonKC commented 7 years ago

Ah, yes, I suppose a xls or csv would be standard. Could we also export a pdf or jpg of the map and key? I would imagine being able to export a map that lists property addresses would be really helpful. That doable??

JakeLaCombe commented 7 years ago

@AmandaWilsonKC I've exported the PDF of the map with the various tooltips in this commit. https://github.com/codeforkansascity/Neighborhood-Dashboard/commit/a7c147a9c842032d72f09980adde21b177072d7f Try it out! Just go to a vacancy tab, check some filters, and hit export!

I do have some caveats though. Google Maps will only allow for so many markers to be produced at once, so if there are too many data points, then an image will not be produced. Would you have an alternative solution that you would like for this scenario?

JakeLaCombe commented 7 years ago

Closing with limitation. If other issues persist, we can just open a new one.