```
---
title: "CRUSE"
output:
html_document:
theme:
bg: "#FFFFFF"
fg: "#000000"
highlight: "#000000"
primary: "#000000"
base_font:
google: "Prompt"
code_font:
google: "JetBrains Mono"
---
```{r setup, include=FALSE}
# Aim: Load libs and counties dataframe
library(sf)
library(stringr)
library(dplyr)
library(leaflet)
library(mapboxapi)
library(DT)
library(htmlwidgets)
knitr::opts_chunk$set(echo = FALSE, warning = FALSE, message = FALSE)
has_pub_key = nchar(Sys.getenv("MAPBOX_PUBLIC_TOKEN")) > 5
knitr::opts_chunk$set(eval = has_pub_key)
```
## The Cycle Route Uptake & Scenario Estimation tool for Transport Infrastructure Ireland (TII)
**Note: the project is in public Beta phase and information on this site should be treated as work in progress. Complete the [feedback survey](https://forms.office.com/r/EW6NjXjxsD) to help improve the tool.**
### Table
Click on a county to further explore results
```{r, fig.out="100%"}
# Aim: Build table for homepage
dn = "popupCycleways/v1"
built_counties = list.files(dn)
set.seed(42)
counties_index %>%
sf::st_drop_geometry() %>%
dplyr::select(url, Population, "% cycling (Baseline)" = pcycle_baseline, "% cycling (Near Market)" = pcycle_near, "% cycling (Climate Action Plan)" = pcycle_climate, "% cycling (Go Dutch)" = pcycle_godutch, "% cycling (Ebike)" = pcycle_ebike) %>%
dplyr::rename(Name = url) %>%
dplyr::arrange(Name) %>%
dplyr::mutate_if(is.numeric, round, 1) %>%
DT::datatable(escape = -2, filter = 'none', options = list(pageLength = 5,
responsive = TRUE,
extensions = c('Responsive')))
```
### About
**Aim and scope of the CRUSE tool**
[Transport Infrastructure Ireland](https://www.tii.ie/) commissioned the Institute for Transport Studies (University of Leeds) and AECOM to develop the Cycle Route Uptake and Scenario Estimation ([CRUSE]()) tool to support strategic cycle network planning and investment prioritisation across the Republic of Ireland.
The CRUSE tool has been used to develop a number of scenarios for cycle network investment in the Republic of Ireland.
The CRUSE tool estimates the potential uptake of a cycle route based on factors such as distance, terrain, and attractiveness.
This information can be used to inform decisions about where best to invest in new or improved cycle routes.
**The CRUSE Team**
* Transport Infrastructure Ireland (direction): Dr Suzanne Meade and Dan Brennan.
* Institute for Transport Studies (University of Leeds) (development): Dr Robin Lovelace, Dr Joey Talbot, Dr Eugeni Vidal-Tortosa, and Nathanael Sheehan.
* AECOM (management): Peter Wright, Ciaran Maguire, and Shane Dunny.
**Acknowledgements**
We would like to thank transport and road safety practitioners from the county councils of Limerick, Kildare (Donal Hodgins and Paul McDonald), Kerry (Lucy Curtis and Joyce O'Boyle), and Carlow (Seamus Loughlin and Kieran Cullinane) for their useful feedback on the tool.
Thanks also to CycleStreets (Martin Lucas-Smith and Simon Nuttall) for providing data on routes.
**Feedback**
You can give feedback on the tool [in the online survey](https://forms.office.com/r/EW6NjXjxsD).
**Contact**
[Send an email to TII](mailto:info@tii.ie) with "CRUSE" in the email title.
### Video
### FAQ
Short answers to key frequently answered questions (FAQ) are provided below.
See the full [FAQ page](faq.html) for more details and answers to questions about how the tool works.
#### What is the CRUSE tool?
The Cycle Route Uptake and Scenarios Estimation (CRUSE) tool is a strategic cycle network planning support tool.
It was funded by Transport Infrastructure Ireland (TII) and builds on the approach used in the Propensity to Cycle Tool ([PCT](https://www.pct.bike/)).
#### What is the purpose of the CRUSE tool?
The CRUSE tool supports strategic cycle network planning to support TII's remit under the the EU Road Infrastructure Safety Management ([RISM](https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=celex%3A32008L0096)) Directive, and to provide cycle flow estimates for TII's Project Appraisal Guidelines Unit 13.0 on Appraisal of Active Modes [PE-PAG-02036](https://www.tiipublications.ie/library/PE-PAG-02036-02.pdf).
#### What can the tool be used for?
The tool's primary purpose is to support design of joined-up, evidence-based and effective strategic cycle networks.
The tool can be used to visualise current cycling levels, highlight gaps in existing networks, compare 'fast' and 'quiet' networks and to understand how these could change in future, under scenarios of cycling uptake.
#### How can I access the tool?
CRUSE is a free and publicly available tool that is available at the website [cruse.bike](https://cruse.bike/) for everyone to use.
#### Which trip purposes are included in the tool?
Commute trips, travel to primary school, travel to secondary school, travel to tertiary education, social trips, personal trips and shopping trips.
Recreational trips will soon be added to the tool.
#### What data does the tool use?
Travel to work and school is based on Central Statistics Office POWSCAR origin-destination data from the 2016 Census. We use Electoral Divisions as the geographical zones between which journeys are defined.
### News
#### 2022-08-08
- New landing page
#### 2022-09-22
- [Feedback survey](https://forms.office.com/r/EW6NjXjxsD) added
#### 2022-09-23
- CRUSE stall and presentation at TII National Roads and Greenways Conference 2022, Sligo
- [Slides](CRUSE.pdf) from the event are available online
- [Audio](cruse-talk-2022-09.m4a) available online
##
Simple example below.
What does this map show?
### Table Click on a county to further explore results ```{r, fig.out="100%"} # Aim: Build table for homepage dn = "popupCycleways/v1" built_counties = list.files(dn) set.seed(42) counties_index %>% sf::st_drop_geometry() %>% dplyr::select(url, Population, "% cycling (Baseline)" = pcycle_baseline, "% cycling (Near Market)" = pcycle_near, "% cycling (Climate Action Plan)" = pcycle_climate, "% cycling (Go Dutch)" = pcycle_godutch, "% cycling (Ebike)" = pcycle_ebike) %>% dplyr::rename(Name = url) %>% dplyr::arrange(Name) %>% dplyr::mutate_if(is.numeric, round, 1) %>% DT::datatable(escape = -2, filter = 'none', options = list(pageLength = 5, responsive = TRUE, extensions = c('Responsive'))) ``` ### About **Aim and scope of the CRUSE tool** [Transport Infrastructure Ireland](https://www.tii.ie/) commissioned the Institute for Transport Studies (University of Leeds) and AECOM to develop the Cycle Route Uptake and Scenario Estimation ([CRUSE]()) tool to support strategic cycle network planning and investment prioritisation across the Republic of Ireland. The CRUSE tool has been used to develop a number of scenarios for cycle network investment in the Republic of Ireland. The CRUSE tool estimates the potential uptake of a cycle route based on factors such as distance, terrain, and attractiveness. This information can be used to inform decisions about where best to invest in new or improved cycle routes. **The CRUSE Team** * Transport Infrastructure Ireland (direction): Dr Suzanne Meade and Dan Brennan. * Institute for Transport Studies (University of Leeds) (development): Dr Robin Lovelace, Dr Joey Talbot, Dr Eugeni Vidal-Tortosa, and Nathanael Sheehan. * AECOM (management): Peter Wright, Ciaran Maguire, and Shane Dunny. **Acknowledgements** We would like to thank transport and road safety practitioners from the county councils of Limerick, Kildare (Donal Hodgins and Paul McDonald), Kerry (Lucy Curtis and Joyce O'Boyle), and Carlow (Seamus Loughlin and Kieran Cullinane) for their useful feedback on the tool. Thanks also to CycleStreets (Martin Lucas-Smith and Simon Nuttall) for providing data on routes. **Feedback** You can give feedback on the tool [in the online survey](https://forms.office.com/r/EW6NjXjxsD). **Contact** [Send an email to TII](mailto:info@tii.ie) with "CRUSE" in the email title. ### Video ### FAQ Short answers to key frequently answered questions (FAQ) are provided below. See the full [FAQ page](faq.html) for more details and answers to questions about how the tool works. #### What is the CRUSE tool? The Cycle Route Uptake and Scenarios Estimation (CRUSE) tool is a strategic cycle network planning support tool. It was funded by Transport Infrastructure Ireland (TII) and builds on the approach used in the Propensity to Cycle Tool ([PCT](https://www.pct.bike/)). #### What is the purpose of the CRUSE tool? The CRUSE tool supports strategic cycle network planning to support TII's remit under the the EU Road Infrastructure Safety Management ([RISM](https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=celex%3A32008L0096)) Directive, and to provide cycle flow estimates for TII's Project Appraisal Guidelines Unit 13.0 on Appraisal of Active Modes [PE-PAG-02036](https://www.tiipublications.ie/library/PE-PAG-02036-02.pdf). #### What can the tool be used for? The tool's primary purpose is to support design of joined-up, evidence-based and effective strategic cycle networks. The tool can be used to visualise current cycling levels, highlight gaps in existing networks, compare 'fast' and 'quiet' networks and to understand how these could change in future, under scenarios of cycling uptake. #### How can I access the tool? CRUSE is a free and publicly available tool that is available at the website [cruse.bike](https://cruse.bike/) for everyone to use. #### Which trip purposes are included in the tool? Commute trips, travel to primary school, travel to secondary school, travel to tertiary education, social trips, personal trips and shopping trips. Recreational trips will soon be added to the tool. #### What data does the tool use? Travel to work and school is based on Central Statistics Office POWSCAR origin-destination data from the 2016 Census. We use Electoral Divisions as the geographical zones between which journeys are defined. ### News #### 2022-08-08 - New landing page #### 2022-09-22 - [Feedback survey](https://forms.office.com/r/EW6NjXjxsD) added #### 2022-09-23 - CRUSE stall and presentation at TII National Roads and Greenways Conference 2022, Sligo - [Slides](CRUSE.pdf) from the event are available online - [Audio](cruse-talk-2022-09.m4a) available online ##thanks! this structure works. I'll change some css and fonts, don't worry.
as far as I understand, now this summary (eg. https://cruse.bike/cavan/) should be the one in
/municipio_index.Rmd
, right? And then this one (https://cruse.bike/cavan/county-stats.html) is in/municipio_stats.Rmd
, and this (https://cruse.bike/cavan/route-types.html) can be the several interactive maps, with a link to a full page map each one, where can also live the url to gpkg or geojson downloads.If you could send me an example of the
county_stats.Rmd
, to get the structure, would be awsome!Currect and yes, all right!
Can you provide me the code for this kind of map, with the different scenarios as layers?
Good description of general approach: https://walker-data.com/mapboxapi/articles/creating-tiles.html
@natesheehan implemented the solution and is probably better equipped to help than me...
seen that! by I think that one applies to the other kind of map, with the "basemaps" as tiles.:
I think I may need some help to set this layer as vector tiles, maybe following this: https://github.com/ITSLeeds/VectorTiles
running smoothly at https://u-shift.github.io/biclarwww/