NYCPlanning / labs-factfinder

New York City Census Reporting Tool
Other
40 stars 12 forks source link

User would like to download geographic selections as shapefile #717

Open emilyalice4 opened 5 years ago

emilyalice4 commented 5 years ago

<-- For Feature Requests/Enhancements -->

User Story

As a data analyst in a gov office, I want to be able to extract and hand-off geographic data aggregated in your tool so that we or the people we are assisting can perform other functions on those geographic aggregations in GIS software.

Specific use cases include delineating an intricate NoHo Study Area using Census Blocks, Eastern/Western/Northern/Southern portions of Manhattan CB 12 using Census Blocks, and ten "sectors" in Manhattan CB 3 using Census Tracts.

We could hand-off the URLs, which are a great start, but it would be even better if we could download the geographic selections as shapefiles.

allthesignals commented 4 years ago

Thanks for opening @emilyalice4!

I know this doesn't fully address your needs, but might help you: if you copy the id of your profile in the URL (https://popfactfinder.planning.nyc.gov/profile/`599`/economic for example), you can the raw GeoJSON data for it through this endpoint: https://factfinder-api.herokuapp.com/selection/599

The problem of course is that this only gives you the union of the geographic selections.

Can you help me understand how else this might be used?