From 0f5675d7dc2d30c10e0798e14ea7fa11d9e37841 Mon Sep 17 00:00:00 2001 From: RFlx Date: Fri, 7 Jun 2024 19:23:42 +0100 Subject: [PATCH] images and installation #17 --- README.Rmd | 20 ++++++++++++++------ README.md | 19 +++++++++++++------ 2 files changed, 27 insertions(+), 12 deletions(-) diff --git a/README.Rmd b/README.Rmd index b8ba381..bffc25e 100644 --- a/README.Rmd +++ b/README.Rmd @@ -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 @@ -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 @@ -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} @@ -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") ``` @@ -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 diff --git a/README.md b/README.md index 87810f9..787029b 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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/) @@ -76,7 +83,7 @@ tar_visnetwork(targets_only = TRUE) # or false, to show objects And you should have something like this - + ``` r tar_make() @@ -86,13 +93,13 @@ tar_load(grid_all) mapview::mapview(grid_all, zcol="score") #ranked cells ``` - + 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). - + When the process is not complete, you may have an error like this @@ -100,7 +107,7 @@ When the process is not complete, you may have an error like this tar_visnetwork() ``` - + ### Work with non-administrative boundary