{"id":20190589,"url":"https://github.com/datomo/db_project","last_synced_at":"2026-05-07T04:33:57.325Z","repository":{"id":83104739,"uuid":"222700340","full_name":"datomo/db_project","owner":"datomo","description":"This repositiory should serve as a base for all the needed stuff for our database project of the database course at university Basel.","archived":false,"fork":false,"pushed_at":"2020-01-12T21:55:14.000Z","size":2044,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-03T07:31:22.738Z","etag":null,"topics":["database","python","vuejs"],"latest_commit_sha":null,"homepage":"http://db-project-group-4.lengweiler.com/#/","language":"TeX","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/datomo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-11-19T13:16:36.000Z","updated_at":"2020-02-13T10:07:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"d33eb8ee-f858-461e-958f-6cad110b8fce","html_url":"https://github.com/datomo/db_project","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/datomo/db_project","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datomo%2Fdb_project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datomo%2Fdb_project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datomo%2Fdb_project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datomo%2Fdb_project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datomo","download_url":"https://codeload.github.com/datomo/db_project/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datomo%2Fdb_project/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279183354,"owners_count":26121384,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-16T02:00:06.019Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database","python","vuejs"],"created_at":"2024-11-14T03:43:55.772Z","updated_at":"2025-10-16T11:26:38.349Z","avatar_url":"https://github.com/datomo.png","language":"TeX","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gruppe 4: Final Hand-In\n\n## Pain Pill Usage, Crime Rate and Yelp Reviews\n\nThis repositiory should serve as a base for all the needed stuff for our database project of the database course\nat university Basel.\n\n## Report\n\nOur findings and information about the whole process can be found in our report here:\n\n- [Report](report/proceedings.pdf)\n\n- http://db-project-group-4.lengweiler.com\n\n## Needed Software\n\n* [python 3](https://www.python.org/)\n\n* [mysql connector python](https://www.mysql.com/products/connector/)\n```\npython -m pip install mysql-connector\n```\n\n\n## Setup\n\n* \"locally\" running mysql instance \n\n  * with a configured schema with the name ```db_multiprocess```\n   and following access parameters\n\n        port = 3306\n        username = root\n        password = db_project2019\n\n  \n  (*configured in the ```database.py file```*)\n  \n* Data source files are not included in the reporsitory, for more check out **Data Files**\n  \n  Those need to be placed in the ```data``` folder ( **Careful** naming of the source files can change but needs to match our names so the integration process to run correctly)\n  \n## Getting Started\n### Integration\nThe data can be integrated by running the ```.py```-files in following order:\n\n#### Pain Pill usage in the US\n* serializer.py\n* splitter.py\n* filter.py\n* inserter.py\n* report_inserter.py\n\n#### Phoenix Crime\n* crime_serializer_filter.py\n* crime_address.py\n\n#### Yelp\n* yelp_filter.py\n* yelp_address.py\n* yelp_business.py\n* yelp_review.py\n* yelp_is_located.py\n* yelp_add_info_business.py\n \n\n**Attention:** Running the whole setup process in one go, can take a **extremely** long time depending on your setup \n\n### Analysis\nOur analysis results can be viewed here:\n\nhttp://db-project-group-4.lengweiler.com\n\nor by running the webapplication locally by moving into the **web** folder:\n```\n    cd web\n```\nand then executing:\n```\n    npm install\n    npm run serve\n```\n\n## Data Files\n\n- https://www.phoenixopendata.com/dataset/crime-data\n- https://www.kaggle.com/yelp-dataset/yelp-dataset/download\n- https://www.kaggle.com/paultimothymooney/pain-pills-in-the-usa\n- https://www.washingtonpost.com/graphics/2019/investigations/dea-pain-pill-database/\n\n## Built With\n\n* [MySQL](https://www.mysql.com/) - SQL dialect\n\n* [Python](https://www.python.org/) - Python 3.8\n\n* [MySQL Connector](https://www.mysql.com/products/connector/) - Python Mysql connector\n* [VueJs](https://vuejs.org/) - Progressive JavaScript Framework\n* [Tailwind](https://tailwindcss.com/) - CSS Framework\n\n\n## Authors\n\n* **Isabel Geissmann**  - [isabelge](https://github.com/isabelge)\n* **David Lengweiler**  - [datomo](https://github.com/datomo)\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatomo%2Fdb_project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatomo%2Fdb_project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatomo%2Fdb_project/lists"}