Examining ProPublica's Facebook Political Adverstisment data (as part of an Innovation in Focus series).
Dependencies for this project are managed via pipenv.
Suggested setup for macOS:
Homebrew is an un-official package manager for macOS:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
pyenv helps you manage different versions of Python running on the same machine.
brew update
brew install pyenv
Then follow the additional steps outlined here staring with step 3.
https://github.com/pyenv/pyenv-virtualenv#installing-with-homebrew-for-os-x-users
brew install pyenv-virtualenv
You will then need to add:
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
to your shell profile. Most likely this is .bash_profile
in your home directory (here for more details).
brew install pipenv
This will create a local copy of project directory in your present working directory.
git clone https://github.com/rji-futures-lab/fb-pol-ads.git
This should initiate the creation of your virtual environment:
pipenv shell
jupyter notebook