-
Notifications
You must be signed in to change notification settings - Fork 25
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
#3292 ClusterSize & #3293 Neighborhood Name #3323
#3292 ClusterSize & #3293 Neighborhood Name #3323
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @1kechen! Just a few requests in addition to the comments:
- Looks like you made the changes for the JSON and CSV APIs, but not for the Shapefile APIs. You should make the changes there too! It's probably easiest to test the shapefiles by looking for some website that will visualize small shapefiles for you :)
- Are you creating the PR through the Github website or on the command line? If you're not already, you should do it through the website and use the provided template!
- Next time I would suggest splitting this into two separate PRs so that we can merge one of them even if there are problems with the other, but this is fine for now!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added one comment in the code. Also looks like you forgot to change from region to neighborhood in the shapefiles!
0d23a8a
to
7213090
Compare
…Webpage into 3292-3293-neighborhood-name-and-cluster-size-properties
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@1kechen Did you check that the shapefiles worked? The max number of characters for a field in a shapefile is 10 characters. Your field names "clusterSize" and "neighborhoodID" had 11 and 14 characters respectively, which corrupted the actual data and turned it to null. I've renamed them to "clusterSze" and "nghborhdId" and they work now.
Please make sure to test all of your code!
Resolves #3292, #3293
Add clusterSize property, streamline region variables to neighborhood variables.