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-06-13 18:23:34 +02:00
|
|
|
"deconfinement-rues-amenagees-pour-pietons",
|
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"
|
2020-06-14 21:24:27 +02:00
|
|
|
FLICKR_URL = "https://www.flickr.com/search/?text={}"
|
2020-06-05 13:48:47 +02:00
|
|
|
COLUMNS = {
|
2020-06-10 21:49:58 +02:00
|
|
|
"deconfinement-pistes-cyclables-temporaires": [
|
|
|
|
"fields.geo_shape.coordinates",
|
|
|
|
"fields.statut",
|
2020-06-05 15:24:16 +02:00
|
|
|
"record_timestamp",
|
2020-06-10 21:49:58 +02:00
|
|
|
"fields.complement",
|
2020-06-05 15:24:16 +02:00
|
|
|
],
|
2020-06-10 21:49:58 +02:00
|
|
|
"deconfinement-parking-relais-doublement-des-places": [
|
|
|
|
"fields.societe",
|
|
|
|
"fields.nb_places_dispositif_environ",
|
|
|
|
"fields.parcs",
|
|
|
|
"fields.geo_shape.coordinates",
|
|
|
|
"fields.cp",
|
|
|
|
"fields.ville",
|
|
|
|
"fields.adresse",
|
2020-05-27 21:25:08 +02:00
|
|
|
],
|
2020-06-10 21:49:58 +02:00
|
|
|
"coronavirus-commercants-parisiens-livraison-a-domicile": [
|
|
|
|
"fields.geo_shape.coordinates",
|
|
|
|
"fields.adresse",
|
|
|
|
"fields.code_postal",
|
|
|
|
"fields.nom_du_commerce",
|
|
|
|
"fields.type_de_commerce",
|
|
|
|
"fields.site_internet",
|
2020-05-27 21:25:08 +02:00
|
|
|
"record_timestamp",
|
2020-06-10 21:49:58 +02:00
|
|
|
"fields.precisions",
|
|
|
|
"fields.telephone",
|
|
|
|
"fields.mail",
|
2020-05-27 21:25:08 +02:00
|
|
|
],
|
2020-06-13 18:23:34 +02:00
|
|
|
"deconfinement-rues-amenagees-pour-pietons": [
|
|
|
|
"fields.geo_shape.coordinates",
|
|
|
|
"fields.nom_voie",
|
|
|
|
"fields.categorie",
|
|
|
|
"fields.statut",
|
|
|
|
"record_timestamp",
|
|
|
|
],
|
2020-05-27 21:25:08 +02:00
|
|
|
}
|
2020-06-14 00:14:09 +02:00
|
|
|
CHOICES = [
|
|
|
|
("coronavirus-commercants-parisiens-livraison-a-domicile", "home-delivery"),
|
|
|
|
("deconfinement-pistes-cyclables-temporaires", "cycling-paths"),
|
|
|
|
("deconfinement-parking-relais-doublement-des-places", "relay-parking"),
|
|
|
|
("deconfinement-rues-amenagees-pour-pietons", "pedestrian-streets"),
|
|
|
|
]
|
2020-06-12 20:03:25 +02:00
|
|
|
SECRET_KEY = "trolaso"
|
2020-06-13 20:57:21 +02:00
|
|
|
COORDINATES = [48.864716, 2.349014]
|