Skip to content

About

Archive of a Twitter bot mapping buildings and urban growth in Spanish municipalities with R and CatastRo. Maps remain available; automated posting is disabled.

Topics

Resources

Stars

7 stars

Watchers

2 watching

Forks

Repository files navigation

spain-munic-bot 🇪🇸🤖

tweet-maps progress last-visited last-tweet Followers ko-fi

A Twitter bot written in R

Follow spainmunic on Twitter

The bot generated a map of a Spanish town together with its name, province and autonomous community (and an inset map of Spain showing the region and the community). The bot was configured to publish every 20 minutes. Automated posting is currently disabled. The last public output record is dated May 17, 2022.

Buildings

The project maps the urban growth of Spanish cities, based on the works of Dominic Royé: Visualize urban growth

Buildings in Málaga colored by construction period, with a locator map of Spain.

Browse the generated-map records.

Project journey

Map of municipalities visited by the bot: 7,536 of 7,608, or 99.05%, in the saved project record.

R packages

Core packages used in the project are:

Other packages include sf, dplyr and supporting tools.

The project uses renv to record its R package dependencies. External data services and publishing APIs may have changed since the maps were generated.

Credits

Original execution workflow

The original entry point is shown below. It invokes the map-generation and Twitter publishing code. Review its configuration, dependencies and API credentials before running it. The command can publish posts.

    $ Rscript R/trigger.R

The entry point attempts to run R/01_create_map.R three times per invocation. Each successful run can publish a map and update the local log.

About

Archive of a Twitter bot mapping buildings and urban growth in Spanish municipalities with R and CatastRo. Maps remain available; automated posting is disabled.

Topics

Resources

Stars

7 stars

Watchers

2 watching

Forks

Releases

Sponsor this project

Packages

Contributors

Languages