Skip to content

rcrisp: Automate the Delineation of Urban River Spaces #718

@cforgaci

Description

@cforgaci

Submitting Author Name: Claudiu Forgaci
Submitting Author Github Handle: @cforgaci
Other Package Authors Github handles: (comma separated, delete if none) @fnattino
Repository: https://github.com/CityRiverSpaces/rcrisp
Version submitted:
Submission type: Stats
Badge grade: gold
Editor: @mpadge
Reviewers: @atsyplenkov, @khondula

Due date for @atsyplenkov: 2025-11-03

Due date for @khondula: 2025-11-21
Archive: TBD
Version accepted: TBD
Language: en

  • Paste the full DESCRIPTION file inside a code block below:
Package: rcrisp
Title: Automate the Delineation of Urban River Spaces
Version: 0.1.4
Authors@R: c(
    person("Claudiu", "Forgaci", , "[email protected]", role = c("aut", "cre", "cph"),
           comment = c(ORCID = "0000-0003-3218-5102")),
    person("Francesco", "Nattino", , "[email protected]", role = "aut",
           comment = c(ORCID = "0000-0003-3286-0139")),
    person("Fakhereh", "Alidoost", , "[email protected]", role = "ctb",
           comment = c(ORCID = "0000-0001-8407-6472")),
    person("Meiert Willem", "Grootes", , "[email protected]", role = "ctb",
           comment = c(ORCID = "0000-0002-5733-4795")),
    person("Netherlands eScience Center", , , "[email protected]", role = "fnd")
  )
Description: Provides tools to automate the morphological delineation of
    riverside urban areas based on a method introduced in Forgaci (2018)
    <doi:10.7480/abe.2018.31>. Delineation entails the identification of
    corridor boundaries, segmentation of the corridor, and delineation of
    the river space using two-dimensional spatial information from street
    network data and digital elevation data in a projected CRS. The
    resulting delineation can be used to characterise spatial phenomena
    that can be related to the river as a central element.
License: Apache License (>= 2)
URL: https://cityriverspaces.github.io/rcrisp/, https://doi.org/10.5281/zenodo.15793526
BugReports: https://github.com/CityRiverSpaces/rcrisp/issues
Depends:
    R (>= 4.1.0)
Imports:
    checkmate,
    dbscan,
    dplyr,
    lwgeom,
    osmdata,
    rcoins,
    rlang,
    rstac,
    sf (>= 0.9.0),
    sfheaders,
    sfnetworks,
    stringr,
    terra,
    tidygraph,
    units,
    visor
Suggests:
    knitr,
    purrr,
    rmarkdown,
    testthat (>= 3.0.0),
    withr
VignetteBuilder:
    knitr
Config/testthat/edition: 3
Encoding: UTF-8
LazyData: true
Roxygen: list(markdown = TRUE, roclets = c("namespace", "rd", "srr::srr_stats_roclet"))
RoxygenNote: 7.3.2

Scope

  • Please indicate which of our statistical package categories this package falls under. (Please check one or more appropriate boxes below):

    Statistical Packages

    • Bayesian and Monte Carlo Routines
    • Dimensionality Reduction, Clustering, and Unsupervised Learning
    • Machine Learning
    • Regression and Supervised Learning
    • Exploratory Data Analysis (EDA) and Summary Statistics
    • Spatial Analyses
    • Time Series Analyses
    • Probability Distributions

Pre-submission Inquiry

  • A pre-submission inquiry has been approved in issue#716

General Information

  • Who is the target audience and what are scientific applications of this package?

The target audience are researchers and practitioners concerned with the analysis of riverside urban phnomena. As a tool for automatic spatial delineation, rcrisp tackles the Modifiable Areal Unit Problem by providing an alternative to arbitrary spatial units used in current practice (e.g., circular, rectangular or polygonal "cut-outs", economically or politically driven development boundaries, country-specific census boundaries), namely spatial-morphological units derived from both the topography of the river valley and the configuration of the urban fabric. As a tool for automated river space delineation, rcrisp enables (1) local integrated analysis because it provices neutral boundaries that can be used to reliably integrate various data sources, and (2) global cross-case comparative analyses as the resulting delineations are neither too context-specific (e.g, a country-specific census tracts) nor too out-of-context (e.g., arbitrary cut-outs) than other delineation approaches.

rcrisp is the first implementation of a novel algorithm.

N/A

Badging

gold

rcrisp fulfils at least three of the four aspects, as follows:

  1. We are confident that we have identified most (if not all) standards that are currently applicable and we consider the current level of compliance to be well above minimal. We look forward to determining together with the reviewer(s) the potential level of compliance and will do our best to reach it.

  2. rcrisp currently demonstrates extensive compliance with sub-categories G1, G2 and G5 and it meets most standards in sub-categories SP1, SP2, and SP4. It also complies with at least two standards in each of G4, SP3 and SP6.

  3. As a package meant to define analytical spatial units, rcrisp presents broad applicability in any kind of analysis concerned with riverside phenomena that can benefit from morphological boundaries. This also means that the package is not bound to any specific discipline: it can be used in ecology, hydrology, urban studies, transport planning, to name a few. In terms of scale, rcrisp enables use cases of local analyses (e.g., delineation of a specific riverspace, segment or corridor of interest in a city) as well as cross-case analyses (e.g., delineation of any of those spatial units for a large number of river-crossed cities for purposes of comparison and large-scale understanding of a phenomenon of interest). Locally it enables integration of various data sources within a single neutral boundary, while globally it allows for scalability.

  4. The current design and API of rcrisp is structured around the main user-facing delineate_* functions. In addition to modules dedicated to each of those delineation tasks, we designed specific modules for delineation data retrieval (currently limited to OSM and GLO-30 DEM data), example data retrieval, spatial network data pre-processing, and utility functions. This design is the result of our efforts to make the package both easily maintainable and understandable to users. While this design has been effective for our purposes, we look forward to any suggestions on how we can improve it further.

Technical checks

Confirm each of the following by checking the box.

As mentioned in the presubmission issue,

We [...] did our best to address the issues flagged by autotest, discarding those we considered to be false positives. However, test-autotest only passes when run interactively (see a detailed description of this issue in CityRiverSpaces/rcrisp#321 (comment)).

This package:

Publication options

  • Do you intend for this package to go on CRAN?
  • Do you intend for this package to go on Bioconductor?

Code of conduct

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions