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

Make a GeoJSON file of Census tracts with certain attributes #37

Open
stevevance opened this issue Apr 1, 2015 · 1 comment
Open

Make a GeoJSON file of Census tracts with certain attributes #37

stevevance opened this issue Apr 1, 2015 · 1 comment
Assignees

Comments

@stevevance
Copy link
Collaborator

It should have these attributes:

Primary

  • Median income
  • % Black
  • % White
  • % Hispanic
  • Hypertension
  • Miles of bike lane:
SELECT sum(ST_Length(bikelanes.geom)) 
FROM bikelanes LEFT JOIN censustracts 
ON ST_Intersects(bikelanes.geom, censustracts.geom) GROUP BY tractid

Secondary

  • Vehicles available
  • Mode share: Bike
  • Mode share: Transit
  • Mode share: SOV
  • Mode share: Carpool
@stevevance
Copy link
Collaborator Author

@easherma Thanks for creating this file!

Can you make some changes to it?

  • Export as EPSG:4326
  • Remove SHAPE_AREA and SHAPE_LEN fields
  • Amend how Census tracts are identified
  • Change bikelanelength_BikeLENGTH to something shorter

Census tract identification:
I think it would be sufficient to identify the Census tract by truncating the GEOID field to just the digits on the right side of "US" and then drop the NAME field.

What is the DATA_VALUE field?

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

No branches or pull requests

2 participants