Skip to content
Invisible link to canonical for Microformats

spain-munic-bot


A Twitter bot written in R.

Project discontinued. This page documents a historical project; the descriptions below refer to its period of operation.

πŸ€– Twitter bot: random municipalities of Spain πŸ‡ͺπŸ‡Έ with mapSpain, posted with rtweet via a GitHub Action

I was a bot πŸ€– that tweeted a random map of a Spanish municipality with its name, province and autonomous community (and an inset map of Spain showing the region and the community). I ran πŸƒβ€β™€οΈ every 20 minutes.

I have a website!

πŸ“¦ R packages

Core packages used in the project are:

  • mapSpain for the location of the municipalities, base polygons, coordinates and imagery.
  • osmdata for the streets.
  • tmap for plotting.
  • rtweet for posting.

Other packages used are sf, dplyr and other common supporting packages.


You may also enjoy...