HamidPahlavan / climops

CSE 583 Project
MIT License
0 stars 0 forks source link

Climate Opinions (ClimOps)

Build Status Coverage Status

logo

source:https://www.mediamatters.org/blog

Team: Robin Clancy, Rebeca de Buen, Hamid Pahlavan and Yakelyn R. Jauregui

Course project for CSE 583 - Software Engineering for Data Scientists

Project description

This project will create a data set that allows researchers to explore whether there is a correlation between beliefs about climate change, and demographic characteristics and transportation behaviors reported in the United States Census. The final product would allow the user to explore (through basic statistics and visualizations) questions such as:

Sources of data

This project combines the following data sets:

Organization of the Project

The project has the following structure:

├── ClimOps
   ├── climops
   │   ├── calculate_statistics.py
   │   ├── create_heatmap.py
   │   ├── data
   │   │   ├── LND01.xls
   │   │   ├── YCOM_2018_Data.csv
   │   │   ├── YCOM_2018_Metadata.csv
   │   │   └── acs2015_county_data.csv
   │   ├── plot_heatmap.py
   │   ├── prepare_data.py
   │   ├── heatmap.html
   │   ├── scatter.html
   │   ├── tests
   │   │   ├── __init__.py
   │   │   ├── test_calculate_statistics.py
   │   │   └── test_prepare_data.py
   │   └── version.py
   ├── Docs
   │   ├── Component_specification.md
   │   ├── Functional_specification.md
   │   ├── Final_Presentation.pdf
   │   ├── Tech_Review.pdf
   │   └── climops.html
   ├── Examples
   │   └── create_heatmap.ipynb
   ├── images
   │   └── logo.png
   ├── LICENSE
   ├── README.md
   ├── requirements.txt
   ├── environment.yml
   └── setup.py

Installation

First, get ClimOps on your own computer by using the following git command:

git clone https://github.com/HamidPahlavan/climops.git

Next, to install the package you will need to go into the climops directory and run the setup.py file:

pip install -r requirements.txt 

Usage Instructions

First follow installation guide

Generate heatmaps and scatter plots displaying relationships between variables by either

  1. Running the following from the climops folder from a bash terminal:

    $ python create_heatmap.py
  2. Within a python terminal, rom the climops folder, execute:

    import create_heatmap
  3. Follow the create_heatmap.ipynb in the Examples folder

  4. Or just visit the following webpage:

    http://htmlpreview.github.io/?https://github.com/HamidPahlavan/ClimOps/blob/master/Docs/climops.html