sports_maps
A lib version of the sports master planning code.
Aimed a producing sport overviews for certain cities. Demoes of reports for Sedan and the Kremlin Bicetre.
Repository Ownership
- Practice: Sport
- Sector: Asset management
- Original Author(s): Luc Jonveaux
- Contact Details for Current Repository Owner(s): [email protected]
Data
- Données équipements sportifs: https://www.data.gouv.fr/fr/datasets/recensement-des-equipements-sportifs-espaces-et-sites-de-pratiques/
- Données éducation: https://www.data.gouv.fr/fr/datasets/adresse-et-geolocalisation-des-etablissements-denseignement-du-premier-et-second-degres-1/
- Découpage communal: https://www.data.gouv.fr/fr/datasets/*decoupage-administratif-communal-francais-issu-d-openstreetmap/
- Licenses sportives 2015: https://www.data.gouv.fr/fr/datasets/donnees-geocodees-issues-du-recensement-des-licences-et-clubs-aupres-des-federations-sportives-agreees-par-le-ministere-charge-des-sports/
Running the Code
Relatively straightforward
import gpdSport
data = gpdSport.dataSets()
DATA = data.CreateDF("data/)
data.CreateVille(8409); #produces the an analysis for SEDAN
fig = data.CreateMap(ZOOM=12) # creates a map, with a basemap zoom at 12
data.createReport(); #produces the report
It produces this report, and this map: