Skip to content

Party Switchers in Peru. Final Project for Computer Science II UChicago based on Python, SQL, WebScraping and Network Analysis

Notifications You must be signed in to change notification settings

acozzubo/party-switchers

Repository files navigation

Party Switchers in Peru.

Project for UChicago CAPP122, Computer Science with Applications (March 2020) with A.Bartra, R.Eid, M.Richardson

Keywords: WebScraping, SQL, Network Analysis, Python.

drawing

0. Presentation

Slides can be found here

1. Installation

To run the party switching application, please follow the steps below:

a. Install Google Chrome, if you have not already.

b. In the "/project" directory, run the install shell script with the command $ sh install.sh.

c. Activate the virtual environment with the command $ source env/bin/activate

d. Start up the application's interface by running the command $ ipython party_switching.py or $ python3 party_switching.py

2. Code

The folder includes all the code used for the application by different stages: web scraping, SQL, analysis, graphs, and visualizations.

3. Data

The folder stores all data files that are used in the application

4. Other files

output (directory): Empty folder where web-scraped data and generated and visualizations are stored

install.sh: Shell script for installation

party_switching.py: Main file for running application

Required libraries can be installed from the requirements file

About

Party Switchers in Peru. Final Project for Computer Science II UChicago based on Python, SQL, WebScraping and Network Analysis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published