Skip to content

Commit

Permalink
Renomme le zonage.csv pour tracer la date de mise à jour
Browse files Browse the repository at this point in the history
  • Loading branch information
robinguill committed Jul 3, 2023
1 parent 91e18b0 commit 41e6926
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions openfisca_france/assets/apl/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
`20110914_zonage.csv` comes from an XML file sent to Etalab.
`20200701_zonage.csv` comes from an XML file sent to Etalab.
This file will be released on http://data.gouv.fr/ soon.

"Arrondissements" and "communes associées" (subcommunes) are not in `20110914_zonage.csv`.
"Arrondissements" and "communes associées" (subcommunes) are not in `20200701_zonage.csv`.
Using the file
"Liste des communes de la métropole et DOM (toutes les communes ayant existé depuis 1943)" `france2014.txt`
available on http://www.insee.fr/fr/methodes/nomenclatures/cog/telechargement.asp
Expand Down
2 changes: 1 addition & 1 deletion openfisca_france/model/prestations/aides_logement.py
Original file line number Diff line number Diff line change
Expand Up @@ -1392,7 +1392,7 @@ def preload_zone_apl():
if zone_apl_by_depcom is None:
with pkg_resources.resource_stream(
openfisca_france.__name__,
'assets/apl/20110914_zonage.csv',
'assets/apl/20200701_zonage.csv',
) as csv_file:
if sys.version_info < (3, 0):
csv_reader = csv.DictReader(csv_file)
Expand Down

0 comments on commit 41e6926

Please sign in to comment.