flexurba: Construct Flexible Urban Delineations

Enables the construction of flexible urban delineations that can be tailored to specific applications or research questions, see Van Migerode et al. (2024) <doi:10.1177/23998083241262545> and Van Migerode et al. (2025) <doi:10.5281/zenodo.15173220>. Originally developed to flexibly reconstruct the Degree of Urbanisation classification of cities, towns and rural areas developed by Dijkstra et al. (2021) <doi:10.1016/j.jue.2020.103312>. Now it also support a broader range of delineation approaches, using multiple datasets – including population, built-up area, and night-time light grids – and different thresholding methods.

Version: 0.2.2
Depends: R (≥ 3.5)
Imports: data.table, dplyr, exactextractr, fastmatch, geos, ggplot2, ggspatial, grid, jsonlite, lifecycle, magrittr, nngeo, Rcpp, sf, terra (≥ 1.7-3), tidyterra, utils
LinkingTo: Rcpp
Suggests: knitr, rmarkdown, spelling, testthat (≥ 3.0.0)
Published: 2025-06-10
DOI: 10.32614/CRAN.package.flexurba
Author: Céline Van Migerode ORCID iD [aut, cre], Ate Poorthuis ORCID iD [aut], Ben Derudder ORCID iD [aut], KU Leuven [cph], FWO [fnd]
Maintainer: Céline Van Migerode <celine.vanmigerode at kuleuven.be>
BugReports: https://github.com/cvmigero/flexurba/issues
License: MIT + file LICENSE
URL: https://github.com/cvmigero/flexurba, https://gitlab.kuleuven.be/spatial-networks-lab/research-projects/flexurba, https://flexurba-spatial-networks-lab-research-projects--e74426d1c66ecc.pages.gitlab.kuleuven.be
NeedsCompilation: yes
Language: en-GB
Citation: flexurba citation info
Materials: README NEWS
CRAN checks: flexurba results

Documentation:

Reference manual: flexurba.pdf
Vignettes: Introduction to flexurba (source, R code)
Release of flexurba 0.2.0 (source)

Downloads:

Package source: flexurba_0.2.2.tar.gz
Windows binaries: r-devel: not available, r-release: flexurba_0.2.2.zip, r-oldrel: flexurba_0.2.2.zip
macOS binaries: r-release (arm64): flexurba_0.2.2.tgz, r-oldrel (arm64): flexurba_0.2.2.tgz, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=flexurba to link to this page.