Skip to content

Commit

Permalink
images and installation
Browse files Browse the repository at this point in the history
  • Loading branch information
temospena committed Jun 7, 2024
1 parent 151c15d commit 0f5675d
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 12 deletions.
20 changes: 14 additions & 6 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ knitr::opts_chunk$set(echo = TRUE)

**SiteSelection** aims to find areas for a dynamic street re-allocation experiment.

It consist in a process of multi criteria to select the cell locations of a giver city or neighborhood where the street space is more disputed by different transport modes and street activities.
It consist in a process of multi criteria to select the cell locations of a giver city or neighbourhood where the street space is more disputed by different transport modes and street activities.
SiteSelection is a full script that uses a dynamic pipeline, and gathers and processes information on:

* Road network centrality measures (betweeness, closeness, degree)
* Road network centrality measures (betweenness, closeness, degree)
* Population density
* POI and activities
* Public Transit demand
Expand All @@ -34,6 +34,14 @@ Data needed for other locations:

## Setup

### Installation

```{r eval=FALSE}
# install.packages("devtools")
devtools::install_github("u-shift/SiteSelection")
```


### Requirements

* QGis and [`qgis_process`](https://r-spatial.github.io/qgisprocess/) installed and working
Expand Down Expand Up @@ -75,7 +83,7 @@ And you should have something like this

```{r echo=FALSE}
# requires targets
knitr::include_graphics("img/tar_viz_run.png")
knitr::include_graphics("man/img/tar_viz_run.png")
```

```{r eval=FALSE}
Expand All @@ -86,13 +94,13 @@ tar_load(grid_all)
mapview::mapview(grid_all, zcol="score") #ranked cells
```
```{r echo=FALSE}
knitr::include_graphics("img/tar_result.png")
knitr::include_graphics("man/img/tar_result.png")
```

If you want to see the filtered cells (candidates), you can load the `site_selection` object and plot it, with *complex* and *very complex* cells (transit layer considered).

```{r echo=FALSE}
knitr::include_graphics("img/complexity.png")
knitr::include_graphics("man/img/complexity.png")
```


Expand All @@ -102,7 +110,7 @@ When the process is not complete, you may have an error like this
tar_visnetwork()
```
```{r echo=FALSE}
knitr::include_graphics("img/tar_viz_werror.png")
knitr::include_graphics("man/img/tar_viz_werror.png")
```

### Work with non-administrative boundary
Expand Down
19 changes: 13 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ SiteSelection
experiment.

It consist in a process of multi criteria to select the cell locations
of a giver city or neighborhood where the street space is more disputed
of a giver city or neighbourhood where the street space is more disputed
by different transport modes and street activities. SiteSelection is a
full script that uses a dynamic pipeline, and gathers and processes
information on:

- Road network centrality measures (betweeness, closeness, degree)
- Road network centrality measures (betweenness, closeness, degree)
- Population density
- POI and activities
- Public Transit demand
Expand All @@ -36,6 +36,13 @@ Data needed for other locations:

## Setup

### Installation

``` r
# install.packages("devtools")
devtools::install_github("u-shift/SiteSelection")
```

### Requirements

- QGis and [`qgis_process`](https://r-spatial.github.io/qgisprocess/)
Expand Down Expand Up @@ -76,7 +83,7 @@ tar_visnetwork(targets_only = TRUE) # or false, to show objects

And you should have something like this

<img src="img/tar_viz_run.png" width="1767" />
<img src="man/img/tar_viz_run.png" width="1767" />

``` r
tar_make()
Expand All @@ -86,21 +93,21 @@ tar_load(grid_all)
mapview::mapview(grid_all, zcol="score") #ranked cells
```

<img src="img/tar_result.png" width="629" />
<img src="man/img/tar_result.png" width="629" />

If you want to see the filtered cells (candidates), you can load the
`site_selection` object and plot it, with *complex* and *very complex*
cells (transit layer considered).

<img src="img/complexity.png" width="660" />
<img src="man/img/complexity.png" width="660" />

When the process is not complete, you may have an error like this

``` r
tar_visnetwork()
```

<img src="img/tar_viz_werror.png" width="689" />
<img src="man/img/tar_viz_werror.png" width="689" />

### Work with non-administrative boundary

Expand Down

0 comments on commit 0f5675d

Please sign in to comment.