Skip to content
This repository has been archived by the owner on Sep 13, 2022. It is now read-only.

UK-IPOP/milwaukee-analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Analyses for Milwaukee, WI Open Data

This has been moved to https://github.com/UK-IPOP/open-data-pipeline

Description

Original site can be found here.

This replicates (in a smaller way) previous analyses done in Chicago by extracting Open Data, geocoding, and running the drug extraction tool.

Requirements

This project requires:

Name Version
python >= 3.9, < 3.10
poetry 1.1
Go 1.17
jq 1.6
git Any

If you don't plan on using the drug extraction tool you will not need Go or jq.

Usage

Installation

git clone or gh repo clone will work to download the source code.

For example: git clone https://github.com/UK-IPOP/milwaukee-analysis.git

Then cd milwaukee-data to move into the directory.

Running

To run the analysis you can then simply run:

bash scripts/pipeline.sh inside the milwaukee-data folder.

This will fetch the data from the web (~5 minutes), geocode it (~45 minutes), perform some simple data cleaning and then download and run the drug extraction tool (a few minutes).

Your results will be in data/results.csv (for records) and data/drug_results.csv (for drug info).

Enjoy! 😁

About

Analyses for Milwaukee, WI Open Data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published