Hi All
I am trying to get the new york city pedestrian injury data into stata:
http://www.nyc.gov/html/dot/download...ry_yearly.json
I am unclear how I have to specify the "columns" function of the insheetjson command to make this work.
A line from the file looks like this:
{"type":"FeatureCollection","features":[{"geometry": {"type": "Point", "coordinates": [-73.92834752578327, 40.64219748869916]}, "type": "Feature", "id": 0, "properties": {"BikeInjuri": 0, "YR": "2016", "MVOInjurie": 9, "PedInjurie": 0, "Injuries": 9}}
and using
insheetjson stringA stringB (etc) using ".../Pedestrian Injuries/fatality_yearly.json", col("coordinates")"
gives no results.
Help is much appreciated!
Best
Fabian
I am trying to get the new york city pedestrian injury data into stata:
http://www.nyc.gov/html/dot/download...ry_yearly.json
I am unclear how I have to specify the "columns" function of the insheetjson command to make this work.
A line from the file looks like this:
{"type":"FeatureCollection","features":[{"geometry": {"type": "Point", "coordinates": [-73.92834752578327, 40.64219748869916]}, "type": "Feature", "id": 0, "properties": {"BikeInjuri": 0, "YR": "2016", "MVOInjurie": 9, "PedInjurie": 0, "Injuries": 9}}
and using
insheetjson stringA stringB (etc) using ".../Pedestrian Injuries/fatality_yearly.json", col("coordinates")"
gives no results.
Help is much appreciated!
Best
Fabian
Comment