2020-06-05 13:48:47 +02:00
|
|
|
DATASETS = [
|
2020-05-22 20:58:52 +02:00
|
|
|
"coronavirus-commercants-parisiens-livraison-a-domicile",
|
|
|
|
"deconfinement-pistes-cyclables-temporaires",
|
|
|
|
"deconfinement-parking-relais-doublement-des-places",
|
2020-05-21 18:50:00 +02:00
|
|
|
]
|
2020-06-05 13:48:47 +02:00
|
|
|
URL = "https://opendata.paris.fr/api/records/1.0/search/?dataset={}&q=&rows=-1"
|
|
|
|
FILENAMES = {
|
2020-05-22 20:58:52 +02:00
|
|
|
"coronavirus-commercants-parisiens-livraison-a-domicile": "home-delivery",
|
|
|
|
"deconfinement-pistes-cyclables-temporaires": "cycling-paths",
|
|
|
|
"deconfinement-parking-relais-doublement-des-places": "relay-parking",
|
|
|
|
}
|
2020-06-05 13:48:47 +02:00
|
|
|
FILES = {
|
2020-05-27 20:45:21 +02:00
|
|
|
"cycling-paths": "data/cycling-paths.json",
|
|
|
|
"relay-parking": "data/relay-parking.json",
|
|
|
|
"home-delivery": "data/home-delivery.json",
|
2020-05-27 20:13:45 +02:00
|
|
|
}
|
2020-06-05 13:48:47 +02:00
|
|
|
COLUMNS = {
|
2020-06-05 15:24:16 +02:00
|
|
|
"cycling-paths": [
|
|
|
|
["fields", "geo_shape", "coordinates"],
|
|
|
|
"statut",
|
|
|
|
"record_timestamp",
|
|
|
|
"complement",
|
|
|
|
],
|
2020-05-27 21:25:08 +02:00
|
|
|
"relay-parking": [
|
|
|
|
"societe",
|
|
|
|
"nb_places_dispositif_environ",
|
|
|
|
"parcs",
|
|
|
|
"geo_shape",
|
|
|
|
"cp",
|
|
|
|
"ville",
|
|
|
|
"adresse",
|
|
|
|
],
|
|
|
|
"home-delivery": [
|
|
|
|
"geo_shape",
|
|
|
|
"adresse",
|
|
|
|
"code_postal",
|
|
|
|
"nom_du_commerce",
|
|
|
|
"type_du_commerce",
|
|
|
|
"site_internet",
|
|
|
|
"record_timestamp",
|
|
|
|
"precisions",
|
|
|
|
"telephone",
|
|
|
|
"mail",
|
|
|
|
],
|
|
|
|
}
|