Ce carnet vise à partager et à diffuser plusieurs travaux de géomatique réalisés pour leur grande majorité grâce au logiciel de statistique R. Cette diffusion s'inscrit dans le cadre plus large du développement des logiciels libres, du partage des données (open data) et des recherches reproductibles.
Le package mapsf vient tout juste d'arriver sur le CRAN. mapsf est un package de cartographie thématique léger et ergonomique. Le package est accompagné d'un site web et d'une vignette. This post is available in english here. Principales fonctionnalités du package mf_map() La fonction principale de...
mapsf has just landed on CRAN. mapsf helps to design various cartographic representations such as proportional symbols, choropleth or typology maps. It also offers several functions to display layout elements that improve the graphic presentation of maps (e.g. scale bar, north arrow, title, labels)...
The potential package provides functions to compute potential models as defined by John Q. Stewart. Several options are available to customize the models, for example it is possible to refine the distance friction functions or to use custom distance matrices. Some functions use parallelization to im...
To create maps from tiles, maptiles downloads, composes and displays tiles from a large number of providers (e.g. OpenStreetMap, Stamen, Esri, CARTO, or Thunderforest). Installation You can install the released version of maptiles from CRAN with: install.packages("maptiles") You can install the deve...
A new version of the cartography package (v2.4.0) has arrived on CRAN. New Features waffleLayer() plots a "waffle map". This kind of representation allows to plot several quantities on the same map. ghostLayer() is a short function that plot an invisible layer with the extent of a spatial object. Th...
In cartography several functions have a pos or legend.pos argument. These argument can take the following values: "topleft", "top", "topright", "right", "bottomright", "bottom", "bottomleft", "bottomleftextra", "left" or a vector of two coordinates in map units (c(x, y)). The posibility to use a vec...
The osrm package is an interface between R and the OSRM API. OSRM is a routing service based on OpenStreetMap data. This package allows computing shortest paths, travel time and travel distance matrices between points. The osrm package functions are: osrmTable(): travel time and travel distance matr...
The popcircle package has been released on GitHub. This one-function package computes circles with areas scaled to a variable and displays them using a compact layout (higher values in the center, lower values at the periphery). Original polygons are scaled to fit inside these circles (size are roug...
The tanaka package has been released on CRAN. This package is a simplified implementation of the Tanaka method. Also called "relief contours method", "illuminated contour method" or "shaded contour lines method", the Tanaka method enhances the representation of topography on a map using shaded conto...
A new version of the cartography package (v2.2.0) has arrived on CRAN. Website A website showing the package documentation and vignette has been built with pkgdown. Vignette A new vignette introduces the package and provides examples of how to create some thematic maps: Datasets A new dataset has be...
L'Insee vient de sortir un numéro d'Insee Méthodes s'intitulant "Manuel d’analyse spatiale - Théorie et mise en œuvre pratique avec R". Ce manuel de près de 400 pages aborde de nombreuses thématiques telles que l'analyse de semis de points, l'autocorrélation spatiale ou les lissages. Le manuel compr...
The following post, Tanaka method or how to make shaded contour lines on LandscapeArchaeology.org blog, explains clearly and thoroughly what shaded contour lines are and how to draw them with QGIS. How hard would it be to implement this method with R? From LandscapeArchaeology.org This method is use...
Le package cartogram permet de construire des cartogrammes avec R. Trois types de déformations sont proposés : les cartogrammes continus (Dougenik et al. 1985) avec la fonction cartogram_cont(), les cartogrammes discontinus (Olson 1976) avec la fonction cartogram_ncont(), les cartogrammes en cercle...
This post shows how to build a colored pencil map with R. The cartography package (in its development version) has gained a getPencilLayer() function that transforms a POLYGON or MULTIPOLYGON layer into a MULTILINESTRING layer mimicking a pencil drawing pattern. The following code details how to use...
La prochaine séance du séminaire R à l'Usage des Sciences Sociales (RUSS) aura lieu le jeudi 5 avril 2018 de 9h à 12h à l' amphithéâtre François Furet de l'EHESS au 105 Boulevard Raspail - Paris 6°. Nous accueillerons Nicolas Ballier (Université Paris Diderot), Diane Beldame (thinkr.fr), Muriel Epst...
Dans ce billet je propose une manière de zoomer sur une zone particulière d'une carte avec R. Ce zoom peut être défini précisément si l'on connaît à l'avance les coordonnées géographiques de la zone à afficher (sa bounding box), il peut aussi être défini interactivement grâce à la fonction locator()...
This post exposes some cartographic explorations of the OpenStreetMap (OSM) database with R. These explorations begin with the downloading and the cleaning of OSM data. Then I propose a set of map visualizations of the spatial distributions of bars and restaurants in Paris. Of course, these examples...
A new version of the cartography package (v2.0.1) has arrived on CRAN. cartography allows various cartographic representations such as proportional symbols, chroropleth, typology, flows or discontinuities maps. It also offers several features enhancing the graphic presentation of maps like cartograp...
Ce billet évoque les évolutions récentes du traitement des données spatiales avec R ainsi que la mise à jour du package cartography pour prendre en compte ces changements. Le package sf Le 31 octobre 2016 le package sf a été mis à disposition sur le CRAN par Edzer Pebesma (déjà maintainer de sp et c...
Le package linemap permet de réaliser des cartes composées de lignes. Le package contient deux fonctions, linemap et getgrid. La fonction linemap permet d'afficher la carte. Elle prend en entrée un data frame contenant les coordonnées des points d'une grille régulière et au moins une variable. La fo...
Le 9 juin, Nicolas Lambert et moi participions à la journée "Cartostats - La cartographie statistique : Quelles méthodologies dans un contexte d'accélération et de diversification des pratiques ?" avec la présentation suivante : Pourquoi et comment inscrire la production de cartes statistiques dans...
La prochaine séance du séminaire R à l'Usage des Sciences Sociales (RUSS) aura lieu le jeudi 18 mai 2017 de 9h30 à 12h00 à l’université Paris Diderot (salle M19, bâtiment Olympes de Gouges, 8 place Paul-Ricoeur - Paris 13e ). Nous accueillerons à partir de 9h30, François Briatte (Université Catholiq...
Magrit est une application de cartographie thématique en ligne. Magrit propose la réalisation de représentations cartographiques usuelles telles que les cartes choroplèthes ou les cartes en symboles proportionnels. D'autres types de cartes, souvent difficiles à mettre en œuvre dans les logiciels du...
Dans un très complet billet de blog, Timo Grossenbacher décrit la création d'une carte thématique avec ggplot2. [embed]https://timogrossenbacher.ch/2016/12/beautiful-thematic-maps-with-ggplot2-only/ Il y détaille les étapes nécessaires à la création de cette carte en évoquant par exemple des questio...
La prochaine séance du séminaire R à l'Usage des Sciences Sociales (RUSS) aura lieu le jeudi 26 janvier 2017 de 9h30 à 12h00 à l’EHESS (salle du conseil B, R-1, bât. Le France, 190-198 av de France 75013 Paris) Nous accueillerons à partir de 9h30, Arnaud Bringé (Ined-Service Méthodes Statistiques) p...