relationship munging code

-R file runs first on raw data (because I couldn’t figure it out in
Python)
- then python script runs on the relationships2.csv that R spits out