Publications by Michael
Du Bois Visualization Challenge
Slave and Free Negroes – W.E.B Du Bois Recreating the the data visualization of W.E.B Du Bois from the 1900 Paris Exposition using modern tools. https://github.com/ajstarks/dubois-data-portraits/tree/master/challenge/2024 Config library(tidyverse) library(sf) library(janitor) library(showtext) library(glue) font_add_google("Play", family = "d...
707 sym R (2073 sym/3 pcs) 4 img
Du Bois Visualization Challenge
Negro population of Georgia by counties, 1870, 1880 – W.E.B Du Bois Recreating the the data visualization of W.E.B Du Bois from the 1900 Paris Exposition using modern tools. https://github.com/ajstarks/dubois-data-portraits/tree/master/challenge/2024 Config library(tidyverse) library(sf) library(janitor) library(showtext) library(glue) font_a...
795 sym R (1979 sym/3 pcs) 4 img
Playing with webr
Impala (Aepyceros melampus) female browsing Weeping Boer-Bean (Schotia brachypetala) leaves – CC-BY-SA by Bernard DUPONT webr allows R to run in the browser. Let’s play! Add webr to your quarto environment, in the terminal: quarto add coatless/quarto-webr Then, in the YAML header, add: engine: knitr filters: - "webr" webr: packages: ...
1625 sym R (160 sym/2 pcs) 2 img
Météo-France Open Data
Temperature – CC-BY-SA by domollie Great news! Météo-France has started to widen its open archive data. No API so far and a lot of files… What can we do? library(tidyverse) library(httr) library(glue) library(janitor) library(jsonlite) library(sf) round_any <- function(x, accuracy, f = round) { f(x / accuracy) * accuracy } We can start ...
1168 sym R (6063 sym/9 pcs) 6 img
Statistical Significance between Incidence of Stroke and Smoking Habits
# open the packages need to import (haven) and manage (tidyverse) the data library(package = "tidyverse") ## ── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ── ## ✔ dplyr 1.1.3 ✔ readr 2.1.4 ## ✔ forcats 1.0.0 ✔ stringr 1.5.0 ## ✔...
17912 sym R (22647 sym/51 pcs) 12 img 1 tbl
Spatial autocorrelation
One in a Million – CC-BY-NC by Thomas Hawk Day 29 of 30DayMapChallenge: « Population » (previously). Setup library(tidyverse) library(sf) library(glue) library(sfdep) Data French administrative units (régions, départements, communes). Data is from an older post, based on IGN Admin Express. # Keep only metropolitan France com <- read_s...
1177 sym R (1749 sym/4 pcs) 4 img
El niño anomaly
Surf – CC-BY-NC-ND by Al Case Day 16 of 30DayMapChallenge: « Oceania » (previously). Using data from NOAA. Tried different combinations of {terra}/{stars}/{raster} and {ggplot2}/{tmap}/base::plot and between glitches, projection problems, slow plotting, limited customization, that’s not very satisfying… library(terra) library(viridis) ...
852 sym R (927 sym/3 pcs) 4 img
Defibrillator from OSM
Bleeding Heart – CC-BY by Theo Crazzolara Day 15 of 30DayMapChallenge: « OpenStreetMap » (previously). Using data from OSM we’ll make a web map of defibrillators (AED) in Auvergne-Rhône-Alpes. library(tidyverse) library(sf) library(osmdata) library(glue) library(leaflet) library(htmltools) We send an Overpass API query with {osmdata}: ...
681 sym R (1916 sym/3 pcs) 2 img
Renewable energy in Europe
Harnessing the coastal winds – CC-BY-NC-ND by Wayne S. Grazio Day 14 of 30DayMapChallenge: « Europe » (previously). Using data from Eurostat we will try to show the spatio-temporal properties of this dataset by placing plots of the renewable energy share change on the map, for each country. library(tidyverse) library(sf) library(janitor) l...
1079 sym R (3738 sym/4 pcs) 4 img
Choropleth
Vineyards in Burgundy – CC-BY-ND by x1klima Day 13 of 30DayMapChallenge: « Choropleth » (previously). Using the French 2020 census to map the specialization of agricultural production by commune. library(tidyverse) library(sf) library(janitor) library(ggspatial) library(glue) # final projection proj <- "EPSG:3035" # Data: No direct URL #...
662 sym R (2848 sym/3 pcs) 4 img