You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is about doing some basic mapping and getting familiar with the tools in the process. We will mostly be stealing and modifying code from similar projects / chatgpt, so python knowledge is not critical.
open the above file in pycharm, and "run" it to verify that the analysis is generated as it looks in the web version linked above. note that it references a file in github with merged arrests and citations.
make a new branch in github called mj-mapping, so that your changes are contained to that branch
check off these tasks and leave a comment checking in when this is complete, or comment if you have issues along the way!
in your copy of the file, delete everything after the line containing mj_data_df = pd.read_csv(url, low_memory = False)
see if you can modify the file using research about bokeh and these chat gpt suggestions to make literally any kind of map appear with data from the spreadsheet
I'm anticipating you will get stuck here, and we can figure out what's next.
use X and Y columns for location, and record_type for arrests vs citations
next steps TBD; likely will involve comparing police zones, or overlaying arrests and citations in a heatmap across pittsburgh with zone or neighborhood overlays
The text was updated successfully, but these errors were encountered:
Context
Related to Police-Data-Accessibility-Project/data-projects#17
We have prior analysis done in this repository: mj-decriminalization/analysis/grief to action/Final_Marijuana_Visualization.ipynb
This issue is about doing some basic mapping and getting familiar with the tools in the process. We will mostly be stealing and modifying code from similar projects / chatgpt, so python knowledge is not critical.
Tasks
Research
Getting started / environment setup
mj-mapping
, so that your changes are contained to that branchMapping data
mj_data_df = pd.read_csv(url, low_memory = False)
X
andY
columns for location, andrecord_type
for arrests vs citationsheatmap
across pittsburgh with zone or neighborhood overlaysThe text was updated successfully, but these errors were encountered: