up
This commit is contained in:
		@@ -8,6 +8,8 @@ https://www.data.gouv.fr/fr/datasets/demandes-de-valeurs-foncieres/
 | 
			
		||||
    curl -L https://www.data.gouv.fr/fr/datasets/r/90a98de0-f562-4328-aa16-fe0dd1dca60f -o dvf/2020.csv
 | 
			
		||||
    curl -L https://www.data.gouv.fr/fr/datasets/r/3004168d-bec4-44d9-a781-ef16f41856a2 -o dvf/2019.csv
 | 
			
		||||
 | 
			
		||||
Voila un sample des données parsées [dvf/sample.json](dvf/sample.json)
 | 
			
		||||
 | 
			
		||||
# GEODVF
 | 
			
		||||
 | 
			
		||||
https://files.data.gouv.fr/geo-dvf/latest/csv/
 | 
			
		||||
@@ -18,6 +20,8 @@ https://files.data.gouv.fr/geo-dvf/latest/csv/
 | 
			
		||||
    curl https://files.data.gouv.fr/geo-dvf/latest/csv/2020/full.csv.gz -o geodvf/2020.csv.gz
 | 
			
		||||
    curl https://files.data.gouv.fr/geo-dvf/latest/csv/2019/full.csv.gz -o geodvf/2019.csv.gz
 | 
			
		||||
 | 
			
		||||
Voila un sample des données parsées [dvf/sample.json](geodvf/sample.json)
 | 
			
		||||
 | 
			
		||||
# run
 | 
			
		||||
 | 
			
		||||
Cette commande ouvre les fichiers csv et chie du json
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										45
									
								
								dvf/dvf.json
									
									
									
									
									
								
							
							
						
						
									
										45
									
								
								dvf/dvf.json
									
									
									
									
									
								
							@@ -1,45 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
  'Identifiant de document': '',
 | 
			
		||||
  'Reference document': '',
 | 
			
		||||
  '1 Articles CGI': '',
 | 
			
		||||
  '2 Articles CGI': '',
 | 
			
		||||
  '3 Articles CGI': '',
 | 
			
		||||
  '4 Articles CGI': '',
 | 
			
		||||
  '5 Articles CGI': '',
 | 
			
		||||
  'No disposition': '000001',
 | 
			
		||||
  'Date mutation': '05/01/2023',
 | 
			
		||||
  'Nature mutation': 'Vente',
 | 
			
		||||
  'Valeur fonciere': '1070000,00',
 | 
			
		||||
  'No voie': '184',
 | 
			
		||||
  'B/T/Q': '',
 | 
			
		||||
  'Type de voie': 'ALL',
 | 
			
		||||
  'Code voie': '0124',
 | 
			
		||||
  Voie: 'DES HETRES',
 | 
			
		||||
  'Code postal': '1630',
 | 
			
		||||
  Commune: 'ST-GENIS-POUILLY',
 | 
			
		||||
  'Code departement': '01',
 | 
			
		||||
  'Code commune': '354',
 | 
			
		||||
  'Prefixe de section': '',
 | 
			
		||||
  Section: 'BD',
 | 
			
		||||
  'No plan': '334',
 | 
			
		||||
  'No Volume': '',
 | 
			
		||||
  '1er lot': '29',
 | 
			
		||||
  'Surface Carrez du 1er lot': '',
 | 
			
		||||
  '2eme lot': '',
 | 
			
		||||
  'Surface Carrez du 2eme lot': '',
 | 
			
		||||
  '3eme lot': '',
 | 
			
		||||
  'Surface Carrez du 3eme lot': '',
 | 
			
		||||
  '4eme lot': '',
 | 
			
		||||
  'Surface Carrez du 4eme lot': '',
 | 
			
		||||
  '5eme lot': '',
 | 
			
		||||
  'Surface Carrez du 5eme lot': '',
 | 
			
		||||
  'Nombre de lots': '1',
 | 
			
		||||
  'Code type local': '3',
 | 
			
		||||
  'Type local': 'Dépendance',
 | 
			
		||||
  'Identifiant local': '',
 | 
			
		||||
  'Surface reelle bati': '0',
 | 
			
		||||
  'Nombre pieces principales': '0',
 | 
			
		||||
  'Nature culture': '',
 | 
			
		||||
  'Nature culture speciale': '',
 | 
			
		||||
  'Surface terrain': ''
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										45
									
								
								dvf/sample.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										45
									
								
								dvf/sample.json
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,45 @@
 | 
			
		||||
{
 | 
			
		||||
  "Identifiant de document": "",
 | 
			
		||||
  "Reference document": "",
 | 
			
		||||
  "1 Articles CGI": "",
 | 
			
		||||
  "2 Articles CGI": "",
 | 
			
		||||
  "3 Articles CGI": "",
 | 
			
		||||
  "4 Articles CGI": "",
 | 
			
		||||
  "5 Articles CGI": "",
 | 
			
		||||
  "No disposition": "000001",
 | 
			
		||||
  "Date mutation": "05/01/2023",
 | 
			
		||||
  "Nature mutation": "Vente",
 | 
			
		||||
  "Valeur fonciere": "1070000,00",
 | 
			
		||||
  "No voie": "184",
 | 
			
		||||
  "B/T/Q": "",
 | 
			
		||||
  "Type de voie": "ALL",
 | 
			
		||||
  "Code voie": "0124",
 | 
			
		||||
  "Voie": "DES HETRES",
 | 
			
		||||
  "Code postal": "1630",
 | 
			
		||||
  "Commune": "ST-GENIS-POUILLY",
 | 
			
		||||
  "Code departement": "01",
 | 
			
		||||
  "Code commune": "354",
 | 
			
		||||
  "Prefixe de section": "",
 | 
			
		||||
  "Section": "BD",
 | 
			
		||||
  "No plan": "334",
 | 
			
		||||
  "No Volume": "",
 | 
			
		||||
  "1er lot": "29",
 | 
			
		||||
  "Surface Carrez du 1er lot": "",
 | 
			
		||||
  "2eme lot": "",
 | 
			
		||||
  "Surface Carrez du 2eme lot": "",
 | 
			
		||||
  "3eme lot": "",
 | 
			
		||||
  "Surface Carrez du 3eme lot": "",
 | 
			
		||||
  "4eme lot": "",
 | 
			
		||||
  "Surface Carrez du 4eme lot": "",
 | 
			
		||||
  "5eme lot": "",
 | 
			
		||||
  "Surface Carrez du 5eme lot": "",
 | 
			
		||||
  "Nombre de lots": "1",
 | 
			
		||||
  "Code type local": "3",
 | 
			
		||||
  "Type local": "Dépendance",
 | 
			
		||||
  "Identifiant local": "",
 | 
			
		||||
  "Surface reelle bati": "0",
 | 
			
		||||
  "Nombre pieces principales": "0",
 | 
			
		||||
  "Nature culture": "",
 | 
			
		||||
  "Nature culture speciale": "",
 | 
			
		||||
  "Surface terrain": ""
 | 
			
		||||
}
 | 
			
		||||
@@ -1,42 +0,0 @@
 | 
			
		||||
{
 | 
			
		||||
  id_mutation: '2023-1',
 | 
			
		||||
  date_mutation: '2023-01-05',
 | 
			
		||||
  numero_disposition: '000001',
 | 
			
		||||
  nature_mutation: 'Vente',
 | 
			
		||||
  valeur_fonciere: '1070000',
 | 
			
		||||
  adresse_numero: '184',
 | 
			
		||||
  adresse_suffixe: '',
 | 
			
		||||
  adresse_nom_voie: 'ALL DES HETRES',
 | 
			
		||||
  adresse_code_voie: '0124',
 | 
			
		||||
  code_postal: '01630',
 | 
			
		||||
  code_commune: '01354',
 | 
			
		||||
  nom_commune: 'Saint-Genis-Pouilly',
 | 
			
		||||
  code_departement: '01',
 | 
			
		||||
  ancien_code_commune: '',
 | 
			
		||||
  ancien_nom_commune: '',
 | 
			
		||||
  id_parcelle: '01354000BD0334',
 | 
			
		||||
  ancien_id_parcelle: '',
 | 
			
		||||
  numero_volume: '',
 | 
			
		||||
  lot1_numero: '29',
 | 
			
		||||
  lot1_surface_carrez: '',
 | 
			
		||||
  lot2_numero: '',
 | 
			
		||||
  lot2_surface_carrez: '',
 | 
			
		||||
  lot3_numero: '',
 | 
			
		||||
  lot3_surface_carrez: '',
 | 
			
		||||
  lot4_numero: '',
 | 
			
		||||
  lot4_surface_carrez: '',
 | 
			
		||||
  lot5_numero: '',
 | 
			
		||||
  lot5_surface_carrez: '',
 | 
			
		||||
  nombre_lots: '1',
 | 
			
		||||
  code_type_local: '3',
 | 
			
		||||
  type_local: 'Dépendance',
 | 
			
		||||
  surface_reelle_bati: '',
 | 
			
		||||
  nombre_pieces_principales: '0',
 | 
			
		||||
  code_nature_culture: '',
 | 
			
		||||
  nature_culture: '',
 | 
			
		||||
  code_nature_culture_speciale: '',
 | 
			
		||||
  nature_culture_speciale: '',
 | 
			
		||||
  surface_terrain: '',
 | 
			
		||||
  longitude: '6.019949',
 | 
			
		||||
  latitude: '46.247458'
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										42
									
								
								geodvf/sample.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										42
									
								
								geodvf/sample.json
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,42 @@
 | 
			
		||||
{
 | 
			
		||||
  "id_mutation": "2023-1",
 | 
			
		||||
  "date_mutation": "2023-01-05",
 | 
			
		||||
  "numero_disposition": "000001",
 | 
			
		||||
  "nature_mutation": "Vente",
 | 
			
		||||
  "valeur_fonciere": "1070000",
 | 
			
		||||
  "adresse_numero": "184",
 | 
			
		||||
  "adresse_suffixe": "",
 | 
			
		||||
  "adresse_nom_voie": "ALL DES HETRES",
 | 
			
		||||
  "adresse_code_voie": "0124",
 | 
			
		||||
  "code_postal": "01630",
 | 
			
		||||
  "code_commune": "01354",
 | 
			
		||||
  "nom_commune": "Saint-Genis-Pouilly",
 | 
			
		||||
  "code_departement": "01",
 | 
			
		||||
  "ancien_code_commune": "",
 | 
			
		||||
  "ancien_nom_commune": "",
 | 
			
		||||
  "id_parcelle": "01354000BD0334",
 | 
			
		||||
  "ancien_id_parcelle": "",
 | 
			
		||||
  "numero_volume": "",
 | 
			
		||||
  "lot1_numero": "29",
 | 
			
		||||
  "lot1_surface_carrez": "",
 | 
			
		||||
  "lot2_numero": "",
 | 
			
		||||
  "lot2_surface_carrez": "",
 | 
			
		||||
  "lot3_numero": "",
 | 
			
		||||
  "lot3_surface_carrez": "",
 | 
			
		||||
  "lot4_numero": "",
 | 
			
		||||
  "lot4_surface_carrez": "",
 | 
			
		||||
  "lot5_numero": "",
 | 
			
		||||
  "lot5_surface_carrez": "",
 | 
			
		||||
  "nombre_lots": "1",
 | 
			
		||||
  "code_type_local": "3",
 | 
			
		||||
  "type_local": "Dépendance",
 | 
			
		||||
  "surface_reelle_bati": "",
 | 
			
		||||
  "nombre_pieces_principales": "0",
 | 
			
		||||
  "code_nature_culture": "",
 | 
			
		||||
  "nature_culture": "",
 | 
			
		||||
  "code_nature_culture_speciale": "",
 | 
			
		||||
  "nature_culture_speciale": "",
 | 
			
		||||
  "surface_terrain": "",
 | 
			
		||||
  "longitude": "6.019949",
 | 
			
		||||
  "latitude": "46.247458"
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user