-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME.Rmd
More file actions
65 lines (46 loc) · 2.75 KB
/
Copy pathREADME.Rmd
File metadata and controls
65 lines (46 loc) · 2.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%",
message = FALSE,
warning = FALSE
)
```
# CRiSpExampleData
<!-- badges: start -->
[](https://github.com/CityRiverSpaces/CRiSpExampleData/actions/workflows/R-CMD-check.yaml)
<!-- badges: end -->
This package contains geospatial data on urban river spaces used in [CRiSp](https://github.com/CityRiverSpaces/CRiSp) and related packages. The dataset contains vector data of the city boundary, bounding box enclosing the city boundary, spatial networks (street center lines, railway lines), the river (center line and surface), buildings surrounding the river, as well as a digital elevation model.
The current dataset contains the case of River Dâmbovița in Bucharest. The data were derived from open sources such as [OpenStreetMap](https://wiki.openstreetmap.org/wiki/Overpass_API) and [Copernicus DEM GLO-30](https://dataspace.copernicus.eu/explore-data/data-collections/copernicus-contributing-missions/collections-description/COP-DEM).
The latest version of the dataset is available on the [4TU.ResearchData data repository](https://data.4tu.nl/datasets/f5d5e118-b5bd-4dfb-987f-fe10d1b9b386) in the GPKG and GeoTIFF formats.
## Installation
You can install the development version of CRiSpExampleData from [GitHub](https://github.com/) with:
``` r
# install.packages("pak")
pak::pak("CityRiverSpaces/CRiSpExampleData")
```
## Example
```{r example}
library(CRiSpExampleData)
library(sf)
plot(bucharest_osm$boundary)
plot(bucharest_osm$streets$geometry, lwd = 0.5, add = TRUE)
plot(bucharest_osm$river_centerline, col = "blue", add = TRUE)
plot(bucharest_osm$river_surface, col = "blue", border = NA, add = TRUE)
```
## Attribution
This package includes or derives data from the following sources:
- **Copernicus GLO-30 DEM**
Some datasets are based on data provided by the European Space Agency (ESA).
Usage is governed by the [ESA User License](https://dataspace.copernicus.eu/sites/default/files/media/files/2025-01/cscda_esa_user_licence_10.01.2025.pdf).
- **OpenStreetMap (OSM)**
This package uses data from [OpenStreetMap](https://www.openstreetmap.org), © OpenStreetMap contributors.
The data is licensed under the [Open Database License (ODbL) v1.0](https://opendatacommons.org/licenses/odbl/1-0/).
If you publicly use any adapted data from this package, you must also offer it under the ODbL.
Please ensure you comply with the attribution and license requirements when using or redistributing this package.