rcrisp

Provides tools to automate the morphological delineation of riverside urban areas following the CRiSp (City River Spaces) method.
https://github.com/cityriverspaces/rcrisp

Category: Hydrosphere
Sub Category: Ocean and Hydrology Data Access

Last synced: about 2 hours ago
JSON representation

Repository metadata

Automate the morphological delineation of riverside urban areas.

README.Rmd

          ---
output: github_document
---



```{r, include = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)
```

```{r srr-tags, eval=FALSE, echo=FALSE}
#' @srrstats {G1.2} Life cycle badge added in the README and statement on state
#'   of development added in the "Contributing" section.
```

# rcrisp


[![R-CMD-check](https://github.com/CityRiverSpaces/rcrisp/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/CityRiverSpaces/rcrisp/actions/workflows/R-CMD-check.yaml)
[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.15793526.svg)](https://doi.org/10.5281/zenodo.15793526)
[![CRAN status](https://www.r-pkg.org/badges/version/rcrisp)](https://CRAN.R-project.org/package=rcrisp)
[![](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html#stable)


rcrisp provides tools to automate the morphological delineation of riverside urban areas following the CRiSp (City River Spaces) method.

## Installation

You can install the released version of rcrisp from [CRAN](https://cran.r-project.org) with:

``` r
install.packages("rcrisp")
```

You can install the development version of rcrisp from [GitHub](https://github.com/) with:

``` r
# install.packages("pak")
pak::pak("CityRiverSpaces/rcrisp")
```

## Example

This is a basic example which shows you how to solve a common problem:

```{r example, warning=FALSE, message=FALSE}
library(rcrisp)

# Set location parameters
city_name <- "Bucharest"
river_name <- "Dâmbovița"
epsg_code <- 32635

# Get base layer for plotting
bb <- get_osm_bb(city_name)
streets <- get_osm_streets(bb, epsg_code)$geometry
railways <- get_osm_railways(bb, epsg_code)$geometry

# Delineate river corridor
bd <- delineate(city_name, river_name, segments = TRUE)
corridor <- bd$corridor
segments <- bd$segments

# Plot results
plot(corridor)
plot(railways, col = "darkgrey", add = TRUE, lwd = 0.5)
plot(streets, add = TRUE)
plot(segments, border = "orange", add = TRUE, lwd = 3)
plot(corridor, border = "red", add = TRUE, lwd = 3)
```

## Contributing

rcrisp is in a stable state of development, with some degree of active subsequent development as envisioned by the primary authors.

We also look very much forward to contributions. See the [Contributing Guide](https://github.com/CityRiverSpaces/rcrisp/blob/main/.github/CONTRIBUTING.md) for further details.

This package is released with a [Contributor Code of Conduct](https://github.com/CityRiverSpaces/rcrisp/blob/main/.github/CODE_OF_CONDUCT.md). By contributing to this project you agree to abide by its terms.

        

Citation (CITATION.cff)

# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!

cff-version: 1.2.0
title: 'rcrisp: Automate the Delineation of Urban River Spaces'
message: >-
  If you use this software, please cite it using the
  metadata from this file.
type: software
authors:
  - given-names: Claudiu
    family-names: Forgaci
    email: c.forgaci@tudelft.nl
    affiliation: Delft University of Technology
    orcid: 'https://orcid.org/0000-0003-3218-5102'
  - given-names: Francesco
    family-names: Nattino
    email: f.nattino@esciencecenter.nl
    affiliation: Netherlands eScience Center
    orcid: 'https://orcid.org/0000-0003-3286-0139'
contributors:
  - given-names: Fakhereh
    family-names: Alidoost
    email: f.alidoost@esciencecenter.nl
    affiliation: Netherlands eScience Center
    orcid: 'https://orcid.org/0000-0001-8407-6472'
  - given-names: Meiert Willem
    family-names: Grootes
    email: m.grootes@esciencecenter.nl
    affiliation: Netherlands eScience Center
    orcid: 'https://orcid.org/0000-0002-5733-4795'
repository-code: 'https://github.com/CityRiverSpaces/rcrisp'
identifiers:
  - type: doi
    value: 10.5281/zenodo.15793526
abstract: >-
  Automates the process of urban river space delineation
  using the CRiSp (City River Spaces) method.
keywords:
  - urban rivers
  - geospatial data
license: Apache-2.0

Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: about 1 month ago

Total Commits: 1,208
Total Committers: 5
Avg Commits per committer: 241.6
Development Distribution Score (DDS): 0.339

Commits in past year: 1,172
Committers in past year: 5
Avg Commits per committer in past year: 234.4
Development Distribution Score (DDS) in past year: 0.349

Name Email Commits
Claudiu Forgaci c****i@g****m 799
Francesco Nattino f****o@e****l 309
SarahAlidoost f****t@e****l 58
Meiert Willem Grootes 4****s 33
Meiert Grootes m****s@M****l 9

Committer domains:


Issue and Pull Request metadata

Last synced: 4 days ago

Total issues: 41
Total pull requests: 54
Average time to close issues: about 2 months
Average time to close pull requests: 3 days
Total issue authors: 1
Total pull request authors: 2
Average comments per issue: 0.68
Average comments per pull request: 0.39
Merged pull request: 29
Bot issues: 0
Bot pull requests: 0

Past year issues: 41
Past year pull requests: 54
Past year average time to close issues: about 2 months
Past year average time to close pull requests: 3 days
Past year issue authors: 1
Past year pull request authors: 2
Past year average comments per issue: 0.68
Past year average comments per pull request: 0.39
Past year merged pull request: 29
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/cityriverspaces/rcrisp

Top Issue Authors

  • cforgaci (41)

Top Pull Request Authors

  • cforgaci (44)
  • fnattino (10)

Top Issue Labels

  • testing (12)
  • documentation (6)
  • invalid (5)
  • enhancement (4)
  • good first issue (4)
  • rOpenSci review (2)
  • data (2)
  • use case (2)
  • release (1)
  • dissemination (1)

Top Pull Request Labels

  • rOpenSci review (19)
  • documentation (4)
  • testing (1)

Package metadata

cran.r-project.org: rcrisp

Automate the Delineation of Urban River Spaces

  • Homepage: https://cityriverspaces.github.io/rcrisp/
  • Documentation: http://cran.r-project.org/web/packages/rcrisp/rcrisp.pdf
  • Licenses: Apache License (≥ 2)
  • Latest release: 0.2.0 (published 18 days ago)
  • Last Synced: 2025-09-06T18:02:02.109Z (1 day ago)
  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 246 Last month
  • Rankings:
    • Dependent packages count: 26.132%
    • Dependent repos count: 32.174%
    • Average: 48.245%
    • Downloads: 86.43%
  • Maintainers (1)

Score: 11.179269259608496