All Projects → InseeFrLab → lockdown-maps-R

InseeFrLab / lockdown-maps-R

Licence: MIT license
Population Movements at Spring 2020 Lockdown in France - Interactive Data Visualizations

Programming Languages

r
7636 projects

Projects that are alternatives of or similar to lockdown-maps-R

Jupyterlab templates
Support for jupyter notebook templates in jupyterlab
Stars: ✭ 223 (+1073.68%)
Mutual labels:  dataviz
BARIS
Use the French Open Data Portal API features from R
Stars: ✭ 21 (+10.53%)
Mutual labels:  france
jsish
Jsi is a small, C-embeddable javascript interpreter with tightly woven Web and DB support.
Stars: ✭ 32 (+68.42%)
Mutual labels:  lockdown
Datav
📊https://datav.io is a modern APM, provide observability for your business, application and infrastructure. It's also a lightweight alternative to Grafana.
Stars: ✭ 2,757 (+14410.53%)
Mutual labels:  dataviz
moon geology atlas of space
Code, data, and instructions for mapping the geology of the moon
Stars: ✭ 76 (+300%)
Mutual labels:  dataviz
chronist
Long-term analysis of emotion, age, and sentiment using Lifeslice and text records.
Stars: ✭ 23 (+21.05%)
Mutual labels:  dataviz
Hanami
Interactive arts and charts plotting with Clojure(Script) and Vega-lite / Vega. Flower viewing 花見 (hanami)
Stars: ✭ 216 (+1036.84%)
Mutual labels:  dataviz
lineage
Family Tree Data Expression Engine
Stars: ✭ 90 (+373.68%)
Mutual labels:  dataviz
FlowViz
A Power BI template that provides easy to understand, actionable flow metrics and predictive analytics for your agile teams using Azure DevOps, Azure DevOps Server and/or TFS.
Stars: ✭ 150 (+689.47%)
Mutual labels:  dataviz
community datasets
Example datasets and dashboards known to work well in OmniSci
Stars: ✭ 14 (-26.32%)
Mutual labels:  dataviz
covid-france
Visualize evolution of the number of people hospitalized in French departments due to COVID-19 infection
Stars: ✭ 23 (+21.05%)
Mutual labels:  france
deepBlink
Threshold independent detection and localization of diffraction-limited spots.
Stars: ✭ 23 (+21.05%)
Mutual labels:  publication
my-writing-workflow
Tutorial for converting markdown files in to APA-formatted docs, based on my workflow.
Stars: ✭ 35 (+84.21%)
Mutual labels:  publication
Matplotlib Cheatsheet
Matplotlib 3.1 cheat sheet.
Stars: ✭ 2,806 (+14668.42%)
Mutual labels:  dataviz
api-jours-feries-france
Une API REST pour les jours fériés en France
Stars: ✭ 14 (-26.32%)
Mutual labels:  france
Marija
Data exploration and visualisation for Elasticsearch and Splunk.
Stars: ✭ 220 (+1057.89%)
Mutual labels:  dataviz
kawalpemilu-visualized
An interactive data visualization of the result of Indonesia's recent election built using D3.js and KawalPemilu API
Stars: ✭ 40 (+110.53%)
Mutual labels:  dataviz
lwodf
The Chinese edition of Live Working or Die Fighting: How the Working Class Went Global (劳工的全球化), authored by Paul Mason, translated by the CNPolitics translation team.
Stars: ✭ 25 (+31.58%)
Mutual labels:  publication
ALPS
AnaLysis routines for ePigenomicS data - 🏫 Bioconductor project
Stars: ✭ 13 (-31.58%)
Mutual labels:  dataviz
data.gouv.fr
Ce dépôt rassemble les tickets techniques qui portent sur data.gouv.fr.
Stars: ✭ 50 (+163.16%)
Mutual labels:  france

Dataviz: Population Movements at Spring 2020 Lockdown in France

maps License: MIT

DataViz (🇬🇧) DataViz (🇫🇷)

On the 17th of March 2020, France entered its first strict national lockdown in an effort to curb the covid-19 pandemic. Announced a few days before, the population had some leverage to choose where to spend the period. At this time, INSEE, the French national institutes, estimated that Paris lost about 450,000 metropolitan residents compared to 2020 first months, half of which were usual Paris residents. These population surpluses were broadly distributed across France. As a general stylized fact (Paris set aside), the population was closer to its usual residence during the lockdown: motives for overnight stays in other regions such as tourism, family visits or business trips were strongly restricted. For instance, the winter season ended abruptly in the Alps with the closing of ski resorts: seasonal workers and tourists left. These estimates were produced thanks to the partnerships with three Mobile Network Operators, which provided anonymous counts of nightly presence by usual residency. They were statistically adjusted and combined by INSEE Galiana et al. (2020).

One year after, a richer (though a bit more fragile) dataset was released by Insee based on the same method so as to allow visualization of aggregate overnight stays by residency - comparing the period before and after the lockdown. This dataset feeds the visualization tool built by CBS (the Dutch National Statistical Institute) and used for instance here on commuting data. This work was presented at the online seminar Big Data for timely statistics on the 1st of April 2021.

Some definitions

Population movements are defined by the number of persons spending the night in département (NUTS3) d while being usual resident in département r. For instance, Paris attracts a large number of people who are staying overnight for business, tourism or other reasons. These low-frequency ''flows'' are estimated on data of 3 mobile network operators (MNO) covering 16th of January to 16th of March 2020 on one hand (before lockdown) and 17th of March to 11th of May 2020 (during lockdown).

Overnight Stay département: For each MNO, a mobile phone is considered as staying overnight if it is stable geographically over a significant period between midnight and 6a.m.. Such counts - provided by usual place of residency - are combined and adjusted with Insee population counts to form three similar time series, one per each MNO.

Residency département It is the département of ''usual'' residency, whose definition may vary from one MNO to the other.

Method

The method to construct population estimates before and during lockdown was described in Galiana et al. (2020) (French only). It amounts to running a linear regression for each couple département of residency cross département of overnight stays (d,r) to smooth the three adjusted time series in a single average estimate of population before and after lockdown. This is done because the three series may disagree, and daily data are not sufficiently robust to change in mobile phone use or punctual absence of data for some regions.

Data

Download

Aggregated Data, as published in May 2020: stays the reference for aggregates

Dataviz Data, as published in April 2021: allows re-use by disseminating flows

Cautionary note

These two data sets are considered by Insee as experimental: the new data sources that constitute aggregated mobile phone data suffer a number of biases which were probably only partially adjusted. In addition, the second data set which feeds the dataviz is disseminated by rounded only at 100, to allow for re-use and aggregation such as these allowing to deploy the visualisation. It is however recommended to interpret these numbers and aggregates made from them after rounding at 1,000 (as it is done for the visualisation). In addition, as not all couples of presence/residency (d,r) can be estimated (intermittent flows, not enough observations) and because there are irreductible rounding errors, the aggregates which were first published and estimated at a more aggregated level should stay the reference.

Visualisation

CBS Statistics Netherlands has built the visualization tool. More insight into mobility with the doughnut map (cbs.nl)

It was also applied to job commuting in the NetherLands NL Job Commuting Viz

To build the visualization from R:
First, make sure all the dependencies have been installed, for instance with the renv package which reads the renv.lock file:

# install.packages("renv")
renv::init()
renv::restore()

The pipeline can be run with the rOpenSci's targets package: it builds the HTML files with the _targets.R workflow:

targets::tar_make()

How to cite this work?

Suarez Castillo, M. and M. Tennekes, "Population Movements at Spring 2020 Lockdown in France - Interactive Data Visualizations", Insee & CBS, 2021, https://github.com/InseeFrLab/lockdown-maps-R

References

Galiana, L. Suarez Castillo, M., Sémécurbe, F. Coudin, E., de Bellefon, M.-P. (2020), "Retour partiel des mouvements de population avec le déconfinement", Insee Analyses N°54, INSEE

Tennekes, M. and Chen, M. (2021) Design Space of Origin-Destination Data Visualization. Forthcoming in Eurographics
Conference on Visualization (EuroVis) 2021

More insight into mobility with the doughnut map - Statistics Netherlands. cbs.nl

Déplacements de population lors du confinement au printemps 2020 - Données expérimentales - INSEE, https://insee.fr/fr/statistiques/5350073

INSEE press release of April 8, “Population présente sur le territoire avant et après le début du confinement : résultats provisoires”, https://www.insee.fr/fr/information/4477356

INSEE press release of May 18, “Population présente sur le territoire avant et après le début du confinement : résultats consolidés”, https://www.insee.fr/fr/information/4493611

Que peut faire l’Insee à partir des données de téléphonie mobile ? Mesures de population présente en temps de confinement et statistiques expérimentales, billet de blog, Insee

Dataviz: Mouvements de population autour du confinement de mars 2020.

DataViz (🇬🇧) DataViz (🇫🇷)

Galiana et al. (2020) documentent les mouvements de population autour du confinement de mars 2020 à partir d'indicateurs anonymes issus de la téléphonie mobile fournis à l'Insee par trois opérateurs de téléphonie mobile et que l'Insee a combiné aux estimations annuelles de population. Pour compléter ces résultats, une seconde exploitation a été réalisée en partenariat avec CBS (Institut de Statistiques Néerlandais) permettant une visualisation fine des changements de population observés avant, et pendant, le premier confinement. Celle-ci offre la possibilité d’observer, de façon interactive et département par département, les changements observés (flux entrants et flux sortants). Les données mobilisées dans cette visualisation sont accessibles ici.

Définitions

Les mouvements de population sont définis ici à partir du nombre de personnes présentes en nuitée dans un département d, et résidant usuellement dans un département r, respectivement avant et après le confinement.

Département de nuitée : Il s'agit du département de présence en nuitée ; un téléphone mobile est considéré en nuitée lorsqu’il apparaît stable géographiquement sur une période de temps significative entre minuit et 6h du matin. Les indicateurs fournis par trois opérateurs de comptage de téléphones mobile actifs sont combinés et retraités par l'Insee.

Département de résidence : Il s'agit du département de résidence "usuelle", dont la définition peut varier d'un opérateur à l'autre.

Méthode et Source

La méthode décrite dans Galiana et al. (2020) a été étendue à tous les couples départements de présence, département de résidence. Les sources sont décrites dans Galiana et al. (2020). Les données publiées en mai fournissent une information en différence qui restent la référence, et ventilées pour les seuls résidents parisiens.

Données

Téléchargement: Données agrégées publiées en mai 2020: stays the reference for aggregates
Données de la dataviz (données expérimentales), publiées en avril 2021: allows re-use by disseminating flows

Voir également:
Déplacements de population lors du confinement au printemps 2020 - Données expérimentales - Bases de données

Précautions d'usage des données

L’Insee considère ces résultats comme expérimentaux. Au même titre que dans Galiana et al. (2020), il faut souligner qu'il s'agit de statistiques expérimentales sujettes à des imprécisions du fait du type de données mobilisées et de leurs incertitudes inhérentes. De plus, ces nouvelles estimations réalisées au niveau de chaque couple département de résidence, département de présence, sont publiées arrondies à la centaine afin de permettre des ré-agrégations comme celles permettant de déployer l’outil de visualisation. Il est cependant préférable d'interpréter les croisements et aggrégations obtenues en arrondissant au millier de personnes. La méthodologie retenue amène à tenir constante la population résidente présente sur l'ensemble du territoire (et égale à la population résidente en France métropolitaine estimée au 1er janvier 2021). Pour autant la présence de valeurs manquantes et d'erreurs d'arrondis peut conduire à des légères variations qui ne sont pas interprétables comme un fait statistique.

Visualisation

CBS Statistics Netherlands a réalisé l'outil de visualisation. Lien en anglais uniquement : More insight into mobility with the doughnut map (cbs.nl) NL Job Commuting Viz

Comment citer ce travail ?

Suarez Castillo, M. et M. Tennekes, "Mouvements de population autour du confinement de mars 2020 - Data visualisations interactives", Insee & CBS, 2021, https://github.com/InseeFrLab/lockdown-maps-R

Références

Galiana, L. Suarez Castillo, M., Sémécurbe, F. Coudin, E., de Bellefon, M.-P. (2020), "Retour partiel des mouvements de population avec le déconfinement", Insee Analyses N°54, INSEE

Tennekes, M. and Chen, M. (2021) Design Space of Origin-Destination Data Visualization. Forthcoming in Eurographics Conference on Visualization (EuroVis) 2021

Déplacements de population lors du confinement au printemps 2020 - Données expérimentales - INSEE, https://insee.fr/fr/statistiques/5350073

INSEE press release of April 8, “Population présente sur le territoire avant et après le début du confinement : résultats provisoires”, https://www.insee.fr/fr/information/4477356

INSEE press release of May 18, “Population présente sur le territoire avant et après le début du confinement : résultats consolidés”, https://www.insee.fr/fr/information/4493611

Que peut faire l’Insee à partir des données de téléphonie mobile ? Mesures de population présente en temps de confinement et statistiques expérimentales, billet de blog, Insee

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].