code-312 / rescue-chicago

Repository for work related to a interactive data dashboard that can be used to analyze how different dog characteristics may correlate with average length of stay in a shelter prior to adoption.
https://code312-rescue-trends-2659be78e6b4.herokuapp.com/
1 stars 0 forks source link

Data pipe line script #25

Closed Jared-Kunhart closed 1 year ago

Jared-Kunhart commented 1 year ago

NEEDS TESTING Beta version data script finished. Run bash data_runner.sh from root directory to run all three files (data_getter.py, data_cleaner.py, data_putter.py) with a dynamic location based off your env file. Make sure to set LOCATION=City, ST in your env file. example: LOCATION=Chicago, IL or LOCATION=Indianapolis, IN

data_cleaner.py now adds a city and state column to the table.

TODO:

  1. Option to delete data folder after data_runner is finished running.
  2. Option on frontend to sort by city and/or state.
Jared-Kunhart commented 1 year ago

Initial rework pushed up. Keeping data_getter.py, data_cleaner.py and data_putter.py as they were originally.

data_runner.py will combine all those into a CLI.