{"id":25090684,"url":"https://github.com/4strium/data-analysis-france","last_synced_at":"2025-04-01T18:48:06.941Z","repository":{"id":53818074,"uuid":"490417361","full_name":"4strium/Data-Analysis-France","owner":"4strium","description":"🔍 Script allowing the analysis and recovery of precise data on French cities.","archived":false,"fork":false,"pushed_at":"2022-08-07T14:00:20.000Z","size":2748,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-07T12:19:55.172Z","etag":null,"topics":["cities","csv","data","france","python","research"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"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/4strium.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}},"created_at":"2022-05-09T19:26:17.000Z","updated_at":"2022-08-05T10:06:58.000Z","dependencies_parsed_at":"2022-08-21T09:40:36.792Z","dependency_job_id":null,"html_url":"https://github.com/4strium/Data-Analysis-France","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4strium%2FData-Analysis-France","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4strium%2FData-Analysis-France/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4strium%2FData-Analysis-France/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4strium%2FData-Analysis-France/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/4strium","download_url":"https://codeload.github.com/4strium/Data-Analysis-France/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246694390,"owners_count":20819082,"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":["cities","csv","data","france","python","research"],"created_at":"2025-02-07T12:20:09.972Z","updated_at":"2025-04-01T18:48:06.924Z","avatar_url":"https://github.com/4strium.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eData Analysis France\u003c/h1\u003e\n\nScript allowing the analysis and recovery of precise data on French cities. 🔍\n\n- [Search Methods](https://github.com/4strium/Data-Analysis-France#search-methods-)\n- [Obtained Result](https://github.com/4strium/Data-Analysis-France#obtained-result-)\n- [Export](https://github.com/4strium/Data-Analysis-France#export-)\n    - [Full Export](https://github.com/4strium/Data-Analysis-France#full-export-)\n    - [Targeted Export](https://github.com/4strium/Data-Analysis-France#targeted-export-)\n- [Technologies used](https://github.com/4strium/Data-Analysis-France#targeted-export-)\n- [Downloads \u0026 Installation](https://github.com/4strium/Data-Analysis-France#downloads--installation-)\n\n## Search Methods :\nYou can search for data on one or more French cities, using these different search methods:\n\n|Search Method                           |Example                                    |\n|----------------------------------------|-------------------------------------------|\n|Département / Department                |`29, 45, 75, ...`                          |\n|Nom de la ville / Name                  |`Brest, Orléans, Paris, ...`               |\n|Code Postal / Postal Code               |`29200, 45000-45100, 75000-75100-..., ...` |\n|Numéro de Commune / Municipality number |`019, 234, 056, ...`                       |\n|Arrondissement / Borough                |`1, 2, 1, ...`                             |\n|Population / Population (2012)          |`142100, 113300, 2211000, ...`             |\n\n\u003e **Note:** The search by postal code **may not work** if it's a city that has **several postal codes** (such as Paris, Orléans, Lyon, ...), in this case you must enter ALL the codes with a `-` between them!\n## Obtained Result :\nNormally following your search, you should obtain a list containing one or more city data lists!\n\nUnder the form : ` [{'Département': '29', 'Nom reel': 'Brest', 'Code postal': '29200', 'Numéro de commune': '019', 'Arrondissement': '1', 'Population en 2012': '142100'}] `\n\n## Export :\n\nFollowing your search, the software offers to export the data in a new CSV file, and under the name of your choice!\n\n\u003e **Note:** When typing, you can add the filename extension `.csv` **OR NOT**, the program will add it for you in case you forget! ;)\n### Full Export :\nThe software offers the option of exporting all the data for all French cities, but only taking into account the following descriptors:\n- Département / Department\n- Nom de la ville / Name of the city \n- Code Postal / Postal Code\n- Numéro de Commune / Municipality number\n- Arrondissement / Borough \n- Population / Population (2012)\n\nThese are therefore useful descriptors for research, in order to reuse this file for future work!\n### Targeted Export :\nThe second type of export is that which is targeted, for example admitting that you are looking for information on the department of Finistère (29), then you can export all the data of the cities of the department (and only them) in a `finistere.csv` file!\n## Technologies used :\n- [CSV](https://en.wikipedia.org/wiki/Comma-separated_values)\n- [Python](https://en.wikipedia.org/wiki/Python_(programming_language))\n\n## Downloads \u0026 Installation :\nThe easiest and fastest way to use the software is to clone this repository!\n\nHow?\n\n- If you have the [GitHub CLI](https://cli.github.com/) installed on your computer, run the following command in your command prompt:\n\n`gh repo clone 4strium/Data-Analysis-France`\n\n- If you don't have the GitHub CLI, just simply hit the [Download](https://github.com/4strium/Data-Analysis-France/archive/refs/heads/main.zip) button!\nAll you have to do is extract the archive!\n\nFinally, all you have to do is run the `main_program.py` program in your favorite IDE, and follow the instructions displayed on the screen!\n\nGood use ! :)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F4strium%2Fdata-analysis-france","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F4strium%2Fdata-analysis-france","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F4strium%2Fdata-analysis-france/lists"}