Mettre à jour adresse BAN dans CSV/JSON
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 55/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- python
- Domain
- documentation
Research direction
Open source/manipulation/csv-json-files/tutorial.qmd around line 236 and review the BAN request and response examples. Check the current geocoding endpoint and the documented response structure, then render or run the tutorial section to confirm the examples still work and match the current output.
Written by the indexing model from the issue text.
Description
L'adresse de la BAN dans https://github.com/InseeFrLab/formation-python-initiation/blob/05bebb86e404c2e757b0cdee054aa292598b338a/source/manipulation/csv-json-files/tutorial.qmd#L236 a changé
response = requests.get("https://data.geopf.fr/geocodage/search?q=comedie&type=street")
Le reste est bon, le format des réponses est bon mais change légèrement ensuite :
>>> r_dict.keys()
dict_keys(['type', 'features', 'query'])
>>> r_json['features'][0]
{'geometry': {'coordinates': [3.063768, 50.635207], 'type': 'Point'},
'properties': {'_type': 'address',
'banId': '01a7bf20-86a1-479c-a4c8-36fbba754195',
'city': 'Lille',
'citycode': '59350',
'context': '59, Nord, Hauts-de-France',
'id': '59350_9149',
'importance': 0.72099,
'label': 'Rue de la Vieille Comédie 59800 Lille',
'name': 'Rue de la Vieille Comédie',
'oldcity': 'Lille',
'oldcitycode': '59350',
'postcode': '59800',
'score': 0.7019081818181817,
'street': 'Rue de la Vieille Comédie',
'type': 'street',
'x': 704519.03,
'y': 7059806.3},
'type': 'Feature'}
- Dominant language
- Python
- Stars
- 3
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from InseeFrLab/formation-python-initiation
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
-
Difficulty 3/5 1-2 days Newbie friendliness 50/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
InseeFrLab/formation-python-initiation#26 · 1 comment ·
-
Dependency Dashboard Open
Difficulty 2/5 1-3 hours Newbie friendliness 25/100
-
Améliorations Open
Difficulty 3/5 1-2 days Newbie friendliness 25/100
All issues in InseeFrLab/formation-python-initiation
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100