diff --git a/index.html b/index.html index cc68fc8..4b00a55 100644 --- a/index.html +++ b/index.html @@ -54,9 +54,9 @@
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. SiteSelection is a full script that uses a dynamic pipeline, and gathers and processes information on:
+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:
+# install.packages("devtools")
+devtools::install_github("u-shift/SiteSelection")
Open the _targets.R
file and change the defaults to your needs (don’t forget to save the file before run!):
+# Set defaults HERE ###################### CITY_input = "Almada" # Municipality name in Portugal GEOJSON = TRUE # use a different limit? made with https://geojson.io/ and saved in inputdata/*.geojson @@ -114,24 +121,24 @@
Change defaults
Run the pipeline
-+library(targets) tar_visnetwork(targets_only = TRUE) # or false, to show objects
And you should have something like this
- -+ + - +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
-+ - +Work with non-administrative boundary diff --git a/pkgdown.yml b/pkgdown.yml index 36c7b19..8d1443f 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -2,7 +2,7 @@ pandoc: 3.1.11 pkgdown: 2.0.9 pkgdown_sha: ~ articles: {} -last_built: 2024-06-07T18:20Z +last_built: 2024-06-07T18:26Z urls: reference: https://u-shift.github.io/SiteSelection/reference article: https://u-shift.github.io/SiteSelection/articles diff --git a/search.json b/search.json index bdf53c3..dfe0b39 100644 --- a/search.json +++ b/search.json @@ -1 +1 @@ -[{"path":"https://u-shift.github.io/SiteSelection/LICENSE.html","id":null,"dir":"","previous_headings":"","what":"MIT License","title":"MIT License","text":"Copyright (c) 2024 SiteSelection authors Permission hereby granted, free charge, person obtaining copy software associated documentation files (“Software”), deal Software without restriction, including without limitation rights use, copy, modify, merge, publish, distribute, sublicense, /sell copies Software, permit persons Software furnished , subject following conditions: copyright notice permission notice shall included copies substantial portions Software. SOFTWARE PROVIDED “”, WITHOUT WARRANTY KIND, EXPRESS IMPLIED, INCLUDING LIMITED WARRANTIES MERCHANTABILITY, FITNESS PARTICULAR PURPOSE NONINFRINGEMENT. EVENT SHALL AUTHORS COPYRIGHT HOLDERS LIABLE CLAIM, DAMAGES LIABILITY, WHETHER ACTION CONTRACT, TORT OTHERWISE, ARISING , CONNECTION SOFTWARE USE DEALINGS SOFTWARE.","code":""},{"path":"https://u-shift.github.io/SiteSelection/authors.html","id":null,"dir":"","previous_headings":"","what":"Authors","title":"Authors and Citation","text":"Rosa Félix. Author, maintainer. Gabriel Valença. Author.","code":""},{"path":"https://u-shift.github.io/SiteSelection/authors.html","id":"citation","dir":"","previous_headings":"","what":"Citation","title":"Authors and Citation","text":"Félix R, Valença G (2024). SiteSelection: R script find complex areas Streets4All Project. R package version 0.2.0, https://u-shift.github.io/SiteSelection/.","code":"@Manual{, title = {SiteSelection: An R script to find complex areas for the Streets4All Project}, author = {Rosa Félix and Gabriel Valença}, year = {2024}, note = {R package version 0.2.0}, url = {https://u-shift.github.io/SiteSelection/}, }"},{"path":"https://u-shift.github.io/SiteSelection/index.html","id":"siteselection","dir":"","previous_headings":"","what":"An R script to find complex areas for the Streets4All Project","title":"An R script to find complex areas for the Streets4All Project","text":"SiteSelection aims find areas dynamic street re-allocation experiment. consist process multi criteria select cell locations giver city neighborhood street space disputed different transport modes street activities. SiteSelection full script uses dynamic pipeline, gathers processes information : Road network centrality measures (betweeness, closeness, degree) Population density POI activities Public Transit demand Traffic levels (TBC)","code":""},{"path":"https://u-shift.github.io/SiteSelection/index.html","id":"sources","dir":"","previous_headings":"","what":"Sources","title":"An R script to find complex areas for the Streets4All Project","text":"SiteSelection package based Portuguese open datasets, census GTFS data. Although easy run location Portugal, may adapt code run locations (considering similar data needed). Data needed locations: Census data (population buildings) POIs (see data_extract.R) GTFS data (see transit.R) Administrative boundaries","code":""},{"path":[]},{"path":"https://u-shift.github.io/SiteSelection/index.html","id":"requirements","dir":"","previous_headings":"Setup","what":"Requirements","title":"An R script to find complex areas for the Streets4All Project","text":"QGis qgis_process installed working targets R package. siteselection R package [development].","code":""},{"path":"https://u-shift.github.io/SiteSelection/index.html","id":"change-defaults","dir":"","previous_headings":"Setup","what":"Change defaults","title":"An R script to find complex areas for the Streets4All Project","text":"Open _targets.R file change defaults needs (don’t forget save file run!):","code":"# Set defaults HERE ###################### CITY_input = \"Almada\" # Municipality name in Portugal GEOJSON = TRUE # use a different limit? made with https://geojson.io/ and saved in inputdata/*.geojson GEOJSON_input = \"map1\" # name of the file if GEOJSON = TRUE. default: \"map1\" cellsize_input = c(400, 400)# in meters square_input = TRUE # TRUE = squares, FALSE = hexagons build_osm = FALSE # build and clean osm road network again? analysis = FALSE # export input parameters and results to a xls file? default: FALSE # Thresholds population_min = median # mean or median? default: mean degree_min = mean # mean or median? default: mean betweeness_range = 0.40 # percentile to exclude (upper and lower) default: 0.25 closeness_range = 0.25 # value to exclude (upper and lower) default: 0.25 entropy_min = 0.35 # value to exclude (lower) default: 0.5 freq_bus = c(4, 10, 20) # frequency of bus stops to define level of service. last 2 will remain. default: c(4, 10, 20)"},{"path":"https://u-shift.github.io/SiteSelection/index.html","id":"run-the-pipeline","dir":"","previous_headings":"Setup","what":"Run the pipeline","title":"An R script to find complex areas for the Streets4All Project","text":"something like want see filtered cells (candidates), can load site_selection object plot , complex complex cells (transit layer considered). process complete, may error like ","code":"library(targets) tar_visnetwork(targets_only = TRUE) # or false, to show objects tar_make() # let it run tar_load(grid_all) mapview::mapview(grid_all, zcol=\"score\") #ranked cells tar_visnetwork()"},{"path":"https://u-shift.github.io/SiteSelection/index.html","id":"work-with-non-administrative-boundary","dir":"","previous_headings":"Setup","what":"Work with non-administrative boundary","title":"An R script to find complex areas for the Streets4All Project","text":"can set another polygon limit analysis. Just create .geojson file area interest save inputdata folder. , set GEOJSON = TRUE GEOJSON_input name file, without extension.","code":""},{"path":"https://u-shift.github.io/SiteSelection/index.html","id":"analysis","dir":"","previous_headings":"Setup","what":"Analysis","title":"An R script to find complex areas for the Streets4All Project","text":"want analyze results detail, set analysis = TRUE _targets.R load analysis/analysis.table.Rds .xlsx. includes sequential runs inputs, outputs, variable statistics. Work Progress…","code":""},{"path":"https://u-shift.github.io/SiteSelection/index.html","id":"about","dir":"","previous_headings":"","what":"About","title":"An R script to find complex areas for the Streets4All Project","text":"work part Streets4All Project, developed University Lisbon University Coimbra, funded Fundação para Ciência e Tecnologia (PT). concept based : Valença, G., Moura, F., & Morais de Sá, . (2023). complex reallocate road space? Environment Planning B: Urban Analytics City Science, 0(0). https://doi.org/10.1177/23998083231217770. Please refer work : Félix R, Gabriel V (2024). SiteSelection: R script find complex areas Streets4All Project. R package version 0.2, https://github.com/U-Shift/SiteSelection/.","code":""}] +[{"path":"https://u-shift.github.io/SiteSelection/LICENSE.html","id":null,"dir":"","previous_headings":"","what":"MIT License","title":"MIT License","text":"Copyright (c) 2024 SiteSelection authors Permission hereby granted, free charge, person obtaining copy software associated documentation files (“Software”), deal Software without restriction, including without limitation rights use, copy, modify, merge, publish, distribute, sublicense, /sell copies Software, permit persons Software furnished , subject following conditions: copyright notice permission notice shall included copies substantial portions Software. SOFTWARE PROVIDED “”, WITHOUT WARRANTY KIND, EXPRESS IMPLIED, INCLUDING LIMITED WARRANTIES MERCHANTABILITY, FITNESS PARTICULAR PURPOSE NONINFRINGEMENT. EVENT SHALL AUTHORS COPYRIGHT HOLDERS LIABLE CLAIM, DAMAGES LIABILITY, WHETHER ACTION CONTRACT, TORT OTHERWISE, ARISING , CONNECTION SOFTWARE USE DEALINGS SOFTWARE.","code":""},{"path":"https://u-shift.github.io/SiteSelection/authors.html","id":null,"dir":"","previous_headings":"","what":"Authors","title":"Authors and Citation","text":"Rosa Félix. Author, maintainer. Gabriel Valença. Author.","code":""},{"path":"https://u-shift.github.io/SiteSelection/authors.html","id":"citation","dir":"","previous_headings":"","what":"Citation","title":"Authors and Citation","text":"Félix R, Valença G (2024). SiteSelection: R script find complex areas Streets4All Project. R package version 0.2.0, https://u-shift.github.io/SiteSelection/.","code":"@Manual{, title = {SiteSelection: An R script to find complex areas for the Streets4All Project}, author = {Rosa Félix and Gabriel Valença}, year = {2024}, note = {R package version 0.2.0}, url = {https://u-shift.github.io/SiteSelection/}, }"},{"path":"https://u-shift.github.io/SiteSelection/index.html","id":"siteselection","dir":"","previous_headings":"","what":"An R script to find complex areas for the Streets4All Project","title":"An R script to find complex areas for the Streets4All Project","text":"SiteSelection aims find areas dynamic street re-allocation experiment. consist process multi criteria select cell locations giver city neighbourhood street space disputed different transport modes street activities. SiteSelection full script uses dynamic pipeline, gathers processes information : Road network centrality measures (betweenness, closeness, degree) Population density POI activities Public Transit demand Traffic levels (TBC)","code":""},{"path":"https://u-shift.github.io/SiteSelection/index.html","id":"sources","dir":"","previous_headings":"","what":"Sources","title":"An R script to find complex areas for the Streets4All Project","text":"SiteSelection package based Portuguese open datasets, census GTFS data. Although easy run location Portugal, may adapt code run locations (considering similar data needed). Data needed locations: Census data (population buildings) POIs (see data_extract.R) GTFS data (see transit.R) Administrative boundaries","code":""},{"path":[]},{"path":"https://u-shift.github.io/SiteSelection/index.html","id":"installation","dir":"","previous_headings":"Setup","what":"Installation","title":"An R script to find complex areas for the Streets4All Project","text":"","code":"# install.packages(\"devtools\") devtools::install_github(\"u-shift/SiteSelection\")"},{"path":"https://u-shift.github.io/SiteSelection/index.html","id":"requirements","dir":"","previous_headings":"Setup","what":"Requirements","title":"An R script to find complex areas for the Streets4All Project","text":"QGis qgis_process installed working targets R package. siteselection R package [development].","code":""},{"path":"https://u-shift.github.io/SiteSelection/index.html","id":"change-defaults","dir":"","previous_headings":"Setup","what":"Change defaults","title":"An R script to find complex areas for the Streets4All Project","text":"Open _targets.R file change defaults needs (don’t forget save file run!):","code":"# Set defaults HERE ###################### CITY_input = \"Almada\" # Municipality name in Portugal GEOJSON = TRUE # use a different limit? made with https://geojson.io/ and saved in inputdata/*.geojson GEOJSON_input = \"map1\" # name of the file if GEOJSON = TRUE. default: \"map1\" cellsize_input = c(400, 400)# in meters square_input = TRUE # TRUE = squares, FALSE = hexagons build_osm = FALSE # build and clean osm road network again? analysis = FALSE # export input parameters and results to a xls file? default: FALSE # Thresholds population_min = median # mean or median? default: mean degree_min = mean # mean or median? default: mean betweeness_range = 0.40 # percentile to exclude (upper and lower) default: 0.25 closeness_range = 0.25 # value to exclude (upper and lower) default: 0.25 entropy_min = 0.35 # value to exclude (lower) default: 0.5 freq_bus = c(4, 10, 20) # frequency of bus stops to define level of service. last 2 will remain. default: c(4, 10, 20)"},{"path":"https://u-shift.github.io/SiteSelection/index.html","id":"run-the-pipeline","dir":"","previous_headings":"Setup","what":"Run the pipeline","title":"An R script to find complex areas for the Streets4All Project","text":"something like want see filtered cells (candidates), can load site_selection object plot , complex complex cells (transit layer considered). process complete, may error like ","code":"library(targets) tar_visnetwork(targets_only = TRUE) # or false, to show objects tar_make() # let it run tar_load(grid_all) mapview::mapview(grid_all, zcol=\"score\") #ranked cells tar_visnetwork()"},{"path":"https://u-shift.github.io/SiteSelection/index.html","id":"work-with-non-administrative-boundary","dir":"","previous_headings":"Setup","what":"Work with non-administrative boundary","title":"An R script to find complex areas for the Streets4All Project","text":"can set another polygon limit analysis. Just create .geojson file area interest save inputdata folder. , set GEOJSON = TRUE GEOJSON_input name file, without extension.","code":""},{"path":"https://u-shift.github.io/SiteSelection/index.html","id":"analysis","dir":"","previous_headings":"Setup","what":"Analysis","title":"An R script to find complex areas for the Streets4All Project","text":"want analyze results detail, set analysis = TRUE _targets.R load analysis/analysis.table.Rds .xlsx. includes sequential runs inputs, outputs, variable statistics. Work Progress…","code":""},{"path":"https://u-shift.github.io/SiteSelection/index.html","id":"about","dir":"","previous_headings":"","what":"About","title":"An R script to find complex areas for the Streets4All Project","text":"work part Streets4All Project, developed University Lisbon University Coimbra, funded Fundação para Ciência e Tecnologia (PT). concept based : Valença, G., Moura, F., & Morais de Sá, . (2023). complex reallocate road space? Environment Planning B: Urban Analytics City Science, 0(0). https://doi.org/10.1177/23998083231217770. Please refer work : Félix R, Gabriel V (2024). SiteSelection: R script find complex areas Streets4All Project. R package version 0.2, https://github.com/U-Shift/SiteSelection/.","code":""}]