This repository has been archived on 2025-01-04 . You can view files and clone it, but cannot push or open issues or pull requests.
Add code to create Artifacts for Data Analysis and Presentation. See merge request dbis/lecture-groups/database-systems/2023hs/group-1!5
Database Project Group 1
Preliminaries
- Ensure you have access to a running postgres instance
- Ensure you have
python3andpipinstalled. - From within the root of the project, run
pip install -r requirements.txt. This insures all python dependecies are met. - In
src/fill_db.pylook for thedb_infovariable and adapt it to your credentials.
Action
In the following the order matters.
- Run
ensure_dirs_exist.py. This makes sure all the directories needed to perform the data integration and logging exist. - Run
integrate.py. Adjust the main method to fit your needs. In particular adjust theprocess_all_data()method, such that the parameter corresponding to a dataset isFalseif the script shall download it form the internet, andTrueelse. To get geojson data form signaled speed in to city of Zurich uncomment the line in themainmethod where you findload_tempo_geojson_from_api_to_local() - Run
fill_db.py. This will load the data into the database based on the credentials given in thedb_infovariable. - Perform Analysis.
Description
Languages
Jupyter Notebook
92.1%
Python
7.8%