{"id":19053289,"url":"https://github.com/jotavare/hackacity-2023","last_synced_at":"2025-04-24T02:45:24.659Z","repository":{"id":209267344,"uuid":"721836734","full_name":"jotavare/hackacity-2023","owner":"jotavare","description":"Team UrbanX work, developed at Hackacity 2023 event.","archived":false,"fork":false,"pushed_at":"2024-06-26T23:47:19.000Z","size":53618,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-30T06:11:21.286Z","etag":null,"topics":["jupyter-notebook","mobility","python","sustainability"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jotavare.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-11-21T21:50:05.000Z","updated_at":"2025-01-11T00:52:57.000Z","dependencies_parsed_at":"2024-11-08T23:40:04.926Z","dependency_job_id":null,"html_url":"https://github.com/jotavare/hackacity-2023","commit_stats":{"total_commits":45,"total_committers":4,"mean_commits":11.25,"dds":"0.28888888888888886","last_synced_commit":"310f65de5698d7830a5f377854063f4e2623ba45"},"previous_names":["jotavare/hackacity-2023"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jotavare%2Fhackacity-2023","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jotavare%2Fhackacity-2023/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jotavare%2Fhackacity-2023/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jotavare%2Fhackacity-2023/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jotavare","download_url":"https://codeload.github.com/jotavare/hackacity-2023/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249381006,"owners_count":21261227,"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","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":["jupyter-notebook","mobility","python","sustainability"],"created_at":"2024-11-08T23:29:59.165Z","updated_at":"2025-04-17T21:32:34.953Z","avatar_url":"https://github.com/jotavare.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/jotavare/hackacity-2023/blob/main/source/images/github_banner_hackacity_2023_v2.png\"\u003e\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n\t\u003cimg src=\"https://img.shields.io/badge/status-finished-success?color=%76B82A\u0026style=flat-square\" /\u003e\n\t\u003cimg src=\"https://img.shields.io/badge/place-finalists-success?color=%76B82A\u0026style=flat-square\" /\u003e\n\t\u003cimg src=\"https://img.shields.io/github/last-commit/jotavare/hackacity-2023?color=%76B82A\u0026style=flat-square\" /\u003e\n\t\u003ca href='https://www.linkedin.com/in/joaoptoliveira' target=\"_blank\"\u003e\u003cimg alt='Linkedin' src='https://img.shields.io/badge/LinkedIn-100000?style=flat-square\u0026logo=Linkedin\u0026logoColor=white\u0026labelColor=0A66C2\u0026color=0A66C2'/\u003e\u003c/a\u003e\n\t\u003ca href='https://profile.intra.42.fr/users/jotavare' target=\"_blank\"\u003e\u003cimg alt='42' src='https://img.shields.io/badge/Porto-100000?style=flat-square\u0026logo=42\u0026logoColor=white\u0026labelColor=000000\u0026color=000000'/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\t\u003ca href=\"#about\"\u003eAbout\u003c/a\u003e •\n\t\u003ca href=\"#rules\"\u003eRules\u003c/a\u003e •\n\t\u003ca href=\"#links\"\u003eLinks\u003c/a\u003e •\n\t\u003ca href=\"#project-pipeline\"\u003eProject Pipeline\u003c/a\u003e •\n\t\u003ca href=\"#tools\"\u003eTools\u003c/a\u003e •\n\t\u003ca href=\"#data-quality\"\u003eData Quality\u003c/a\u003e •\n\t\u003ca href=\"#py-venv\"\u003ePY Venv\u003c/a\u003e •\n\t\u003ca href=\"#team\"\u003eTeam\u003c/a\u003e\n\t\u003ca href=\"#contributing\"\u003eContributing\u003c/a\u003e •\n\t\u003ca href=\"#license\"\u003eLicense\u003c/a\u003e\n\u003c/p\u003e\n\n## ABOUT\nHackacity is a one-of-a-kind hackathon that explores the potential of city data to develop solutions that will impact the community.\n\nThis repository is a mix of ideas, tools and information used to complete the [**Hackacity 2023**](https://hackacity.eu/) event, in Porto. It contains code developed and graded by a jury on 24/11/2023.\n\nThere were already 5 previous editions in Porto, the last one was in 2022. In this edition, there were **34 Teams**, **151 Participants**, **13 Mentors** and **6 jury members** in total that participated and worked together at [**Museu do Carro Elétrico**](https://www.google.com/maps/place/Tram+Museum/@41.1488633,-8.6393806,16.64z/data=!4m6!3m5!1s0xd24650d6e5d4f6d:0xb0933e834cc8bbfc!8m2!3d41.1475668!4d-8.6329328!16s%2Fg%2F122vkwkb?entry=tts) in Porto, Portugal.\n\n## RULES\n```\n- The event starts at 08h30, all the teams should arrive at the venue before 08h15.\n- All the participants should remain at the venue during the event.\n- All the participants must bring their own laptop or other necessary equipment.\n- Your team must deliver the presentation and the produced code by 18:00.\n- Presentations should be in .pptx or PDF format.\n- Produced code/jupyter notebooks should be sent in a .ZIP folder.\n```\n\n\u003e [!NOTE]\n\u003e To be eligible for the Data Quality Award, participants must add an additional slide to their presentation to explicitly address its relevance to the evaluation criteria, namely the relevant external resources and feedback on data improvements.\n\n## LINKS\n\u003e Necessary links for the Hackacity event progress.\n- [Participants Guidebook](https://associacaoportodigital-my.sharepoint.com/:b:/g/personal/hi_hackacity_eu/EY7GK5ZFBwpAltyD4pmRYpcBwJmdTI__xsyZYBA3f_IGJA?e=4%3a0wTYsD\u0026fromShare=true\u0026at=9) `OneDrive` `PDF`\n- [UrbanX Submission Folder](https://associacaoportodigital-my.sharepoint.com/:f:/g/personal/hi_hackacity_eu/EiZ6lAvUYIdBoXyDW9GCVJkBai7SE1ZC2dC2v-UCqK2XoQ?e=5%3acZqJc3\u0026fromShare=true\u0026at=9) `OneDrive`\n- [Porto Data](https://opendata.porto.digital) `Website` `Data` `CSV`\n\n\u003e Information and resources that may help with the project.\n- [Approaching a data science problem](https://medium.com/@ochwada/approaching-a-data-science-problem-e7086c678989) `Medium`\n- [Import JSON Data Into Google Spreadsheets Fast](https://youtu.be/AS2IR6We4bY?feature=shared) `Youtube`\n- [How To Create A Correlation Matrix In Excel (With Colors!)](https://youtu.be/TkNt8KFm0LQ?si=ip4ZI9LCP4-uVGAy) `Youtube`\n- [Diagrama de Dispersão ou de Correlação](https://blogdaqualidade.com.br/diagrama-de-dispersao-ou-de-correlacao) `Website`\n- [ChatGPT - Python Data Viz Guide](https://chat.openai.com/share/0e5c0aa0-bd5c-4c58-b083-0558e6eb8382) `ChatGPT`\n\n\u003e Past hackacity projects.\n- [hackacity2019](https://github.com/msramalho/hackacity2019) `GitHub` `msramalho`\n- [hackacity-smo-2022](https://github.com/dfhssilva/hackacity-smo-2022) `GitHub` `dfhssilva`\n- [hackacity](https://github.com/tospe/hackacity) `GitHub` `tospe`\n\n## PROJECT\n#### IDEAS\n- Correlate electric scooter stop points with scooter accidents.\n- Utilize electric scooter GPS to differentiate between road and sidewalk usage.\n- Implement traffic lights equipped with cameras, possibly infrared, to optimize red and green signal changes.\n- Identify the number of stops within a 1km radius and analyze their (transport) coverage within an x radius.\n- Enable direct transportation access to consolidate multiple transports for a single destination.\n\n#### PIPELINE\n- Interact with API or download the database. If it's the first, we can use Python or Postman.\n- Know what data we are working with. If necessary go to external sources.\n- Sanitize data and remove noise data. Depends a lot on the problem.\n\n## TOOLS\nWe should have these programs/tools installed and/or know about them (know they exist):\n- Python\n- Linux/Windows\n- Office 365 (Excel)\n- Visual Studio Code\n- Jupyter Notebook\n- Anaconda\n- Pandas\n- PEP 8 Style Guide\n- Postman\n- Google Colab Pro\n- [RAWGraphs 2.0](https://app.rawgraphs.io)\n- [YOLO](https://github.com/ultralytics/ultralytics)\n\n## DATA QUALITY\n\u003e [!CAUTION]\n\u003e The questions below are case-to-case dependent. For example, some empty fields may be empty/null on purpose because they are optional. The information should be studied and taken with a grain of salt.\n#### GOOD QUALITY DATA CHECK:\n- [ ] **Is data missing? Is it blank? Is that blank because it's optional?**\n```\nC1 (Pedro) C2 (Tiago) C3 (NULL) C4 ()\n```\n\n- [ ] **Is the data conformed? What data is stored in a non-standard format?**\n```\nC1 (27-Out-96) C2 (19961027)\n```\n\n- [ ] **Is the data unique? Are there repeated/duplicated values? Is that necessary?**\n```\nC1 (01; Pedro; Oliviera; Portugal) C2 (02; Pedro; Oliviera; Portugal)\n```\n\n- [ ] **Is the data correct? Are certain values out of date?**\n```\nC1 (Pedro; 4000-100; Portugal) C2 (Tiago; 4350; Portugal)\n```\n\n- [ ] **Is the data valid? Spelling mistakes on standard names, roles, bad email well formulated?**\n```\nC1 (software engineer) C2 (soft engine)\n```\n\n- [ ] **Is the data consistent? Is there conflicting information?**\n```\nC1 (01; sonae; pay; 100$; 20:42) C2 (02; sonae; pay; 100$; 20:42)\n```\n\n- [ ] **Is the primary key (eg.: ID) valid? Is it missing or has an invalid format?**\n```\nC1 (01; sonae; pay; 100$; 20:42) C2 (NULL; sonae; pay; 100$; 20:42)\n```\n\n#### EXCEL PERCENTAGE FORMULA\nWe can calculate the percentage of valid data and do a correlation.\n```\n1 - (Total Rows / Invalid Rows)\n```\n\n#### POOR QUALITY DATA PROBLEMS:\n- Waste of time and money;\n- Incorrect information and decisions are misguided;\n- Future opportunities missed;\n- Negative image for the company;\n- Lower customer satisfaction;\n\n## PY VENV\nWhy create a virtual environment? We can easily share our requirement packages, so everyone can install and replicate the same environment for the program to work.\n\u003e Create a virtual environment.\n```bash\npython3 -m venv .venv\n```\n\n\u003e Activate a virtual environment.\n```bash\nsource .venv/bin/activate\n```\n\n\u003e Deactivate a virtual environment.\n```bash\ndeactivate\n```\n\n\u003e Export all installed packages\n```bash\npython3 -m pip freeze\n```\n\n\u003e Using a requirements.txt file to install packages\n```bash\npython3 -m pip install -r requirements.txt\n```\n\n## TEAM\n| LinkedIn | GitHub | 42 |\n| :--: | :--: | :--: |\n| [João Oliveira](https://www.linkedin.com/in/joaoptoliveira/)\t\t\t| [jotavare](https://github.com/jotavare)\t| [jotavare](https://profile.intra.42.fr/users/jotavare)\t|\n| [Luiza Picoli Zilio](https://www.linkedin.com/in/luiza-zilio-4a7a14205/)\t| [ziliolu](https://github.com/ziliolu)\t\t| [lpicoli-](https://profile.intra.42.fr/users/lpicoli-)\t|\n| [Francisco Vieira](https://www.linkedin.com/in/fmotavieira/)\t\t\t| [Xyckens](https://github.com/Xyckens)\t\t| [fvieira](https://profile.intra.42.fr/users/fvieira)\t\t|\n| [Mário Henriques](https://www.linkedin.com/in/mario18/)\t\t\t| [maricard18](https://github.com/maricard18)\t| [maricard](https://profile.intra.42.fr/users/maricard)\t|\n| André Silva\t\t\t\t\t\t\t\t\t| [mzsv](https://github.com/mzsv)\t\t| [amenses-](https://profile.intra.42.fr/users/amenses-)\t|\n\n## CONTRIBUTING\n\nIf you find any issues or have suggestions for improvements, feel free to fork the repository and open an issue or submit a pull request.\n\n## LICENSE\n\nThis project is available under the MIT License. For further details, please refer to the [LICENSE](https://github.com/jotavare/hackacity-2023/blob/main/LICENSE) file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjotavare%2Fhackacity-2023","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjotavare%2Fhackacity-2023","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjotavare%2Fhackacity-2023/lists"}