Articles by Michael

5-minute map

November 19, 2023 | Michael

Clock 10:05 – CC-BY-NC-ND by Bill Dickinson Day 19 of 30DayMapChallenge: « 5-minute map » (previously). Setup library(tidyverse) library(leaflet) library(httr) library(fs) library(glue) Data We reuse the Geonames data from Bad map. gn_file slice_sample(n = 5) Map minute |__ leaflet() |__ addCircleMarkers(popup = ~ glue("{name} ({asciiname}) {country_code}"), label = ~ asciiname, labelOptions = labelOptions(...
[Read more...]

Birds in atmosphere

November 18, 2023 | Michael

Northern Gannet - Morus bassanus – CC-BY by caroline legg Day 18 of 30DayMapChallenge: « Atmosphere » (previously). Thanks to a post from @[email protected] I found a dataset (Warwick-Evans et al. 2017) that could ...
[Read more...]

Birds in atmosphere

November 18, 2023 | Michael

Northern Gannet - Morus bassanus – CC-BY by caroline legg Day 18 of 30DayMapChallenge: « Atmosphere » (previously). Thanks to a post from @[email protected] I found a dataset (Warwick-Evans et al. 2017) that could (...
[Read more...]

Flow

November 18, 2023 | Michael

Flow – CC-BY-NC by Sebastian Bender Day 17 of 30DayMapChallenge: « Flow » (previously). Mapping the commuters to Lyon in France. Data comes from INSEE and is part of the national census. library(tidyverse) library(sf) library...
[Read more...]

Flow

November 18, 2023 | Michael

Flow – CC-BY-NC by Sebastian Bender Day 17 of 30DayMapChallenge: « Flow » (previously). Mapping the commuters to Lyon in France. Data comes from INSEE and is part of the national census. Setup library(tidyverse) library(sf)...
[Read more...]

El niño anomaly

November 16, 2023 | Michael

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, projecti...
[Read more...]

El niño anomaly

November 16, 2023 | Michael

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, project...
[Read more...]

Defibrillator from OSM

November 15, 2023 | Michael

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}: # France regions # See ...
[Read more...]

Defibrillator from OSM

November 15, 2023 | Michael

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}: # France regions # See ...
[Read more...]

Renewable energy in Europe

November 14, 2023 | Michael

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 o...
[Read more...]

Renewable energy in Europe

November 14, 2023 | Michael

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 ...
[Read more...]

Choropleth

November 13, 2023 | Michael

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...
[Read more...]

Casiquiare

November 12, 2023 | Michael

Piedra de Culimacare on the Rio Casiquiare – CC-BY-NC-ND by Carsten ten Brink Day 12 of 30DayMapChallenge: « South America » (previously). Do you know you can circumnavigate the Guiana shield? There is a river, the Rio Casiqui...
[Read more...]

Old map

November 11, 2023 | Michael

Roman Road Through Pompeii – CC-BY-NC-ND by cliff hellis Day 11 of 30DayMapChallenge: « Retro » (previously). Using data from Ancient World Mapping Center we map the Roman road network. library(tidyverse) library(sf) library(rnatu...
[Read more...]

Bad map

November 4, 2023 | Michael

Bad Kreuznach, Germany – CC-BY-NC by Billy Wilson Day 4 of 30DayMapChallenge: « Bad map » (previously). A map of all populated places containing the word “Bad” from Geonames. library(tidyverse) library(leaflet) library(httr) library(fs) gn_file leaflet() |__ addCircleMarkers(popup = ~ name) |__ addTiles() Figure 1: Bad map So we have 471 “Bad” populated places…
[Read more...]

Clustering points to polygons

November 3, 2023 | Michael

Female lynx posing on the dead tree – CC-BY-ND by Tambako The Jaguar Day 3 of 30DayMapChallenge: « Polygons » (previously). Using data from a previous post on lynx occurrences. So we mapped the sightings of lynx, but there are a lot of outliers; how can we map the core habitat of the species? ...
[Read more...]

OSM Guadeloupe trail relation

November 2, 2023 | Michael

Guadeloupe – CC-BY-SA by SnippyHolloW Day 2 of 30DayMapChallenge: « Lines » (previously). Using data from Openstreetmap we will map the GR G1 trail (fr) crossing Guadeloupe. We could use {osmdata} (see this post), but in this case it’s easier to just grab a GPX file from Waymarked Trail (see the link in ...
[Read more...]

Lynx from GBIF

November 1, 2023 | Michael

Lynx – CC-BY-NC-ND by Zweer de Bruin Day 1 of 30DayMapChallenge: « Points » (previously). Using data from GBIF to map species presence points. # Register an account on https://www.gbif.org # and save the credentials in ~/.Renviron...
[Read more...]

Mountains

September 21, 2023 | Michael

Aconcagua - 6991 m If you like mountains, R and T-shirts, I got you covered. Here we use {elevatr} to get a DEM around some well known summits and make a map consisting only of isohypses. It produces (sometimes) very nice visualizations. And...
[Read more...]

Fast remote parquet

September 14, 2023 | Michael

Parquet – CC BY-SA by tetue Querying a remote parquet file via HTTP with DuckDB. The french statistical service (INSEE) has made available its first parquet file on data.gouv.fr in June. It’s a 470 MB file (from a 1.8 GB CSV) with ...
[Read more...]
1 2 3 4 5 7

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)