Package: pct 0.10.0

Robin Lovelace

pct: Propensity to Cycle Tool

Functions and example data to teach and increase the reproducibility of the methods and code underlying the Propensity to Cycle Tool (PCT), a research project and web application hosted at <https://www.pct.bike/>. For an academic paper on the methods, see Lovelace et al (2017) <doi:10.5198/jtlu.2016.862>.

Authors:Robin Lovelace [aut, cre], Layik Hama [aut], Nathanael Sheehan [ctb]

pct_0.10.0.tar.gz
pct_0.10.0.zip(r-4.7)pct_0.10.0.zip(r-4.6)pct_0.10.0.zip(r-4.5)
pct_0.10.0.tgz(r-4.6-any)pct_0.10.0.tgz(r-4.5-any)
pct_0.10.0.tar.gz(r-4.7-any)pct_0.10.0.tar.gz(r-4.6-any)
pct_0.10.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
pct/json (API)
NEWS

# Install 'pct' in R:
install.packages('pct', repos = c('https://itsleeds.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/itsleeds/pct/issues

Pkgdown/docs site:https://itsleeds.github.io

Datasets:

On CRAN:

Conda:

7.74 score 20 stars 156 scripts 481 downloads 1 mentions 18 exports 61 dependencies

Last updated from:8b68960c60. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK169
source / vignettesOK242
linux-release-x86_64OK163
macos-release-arm64OK171
macos-oldrel-arm64OK189
windows-develOK153
windows-releaseOK107
windows-oldrelOK113
wasm-releaseOK162

Exports:get_centroids_ewget_desire_linesget_odget_pctget_pct_centroidsget_pct_linesget_pct_rnetget_pct_routes_fastget_pct_routes_quietget_pct_zonesmodel_pcycle_pct_2020uptake_pct_ebike_2020uptake_pct_godutchuptake_pct_godutch_2020uptake_pct_godutch_school2uptake_pct_govtargetuptake_pct_govtarget_2020uptake_pct_govtarget_school2

Dependencies:askpassBHbitbit64bootclassclassIntclicliprcpp11crayoncrulcurldata.tableDBIdplyre1071genericsgeometriesgeospheregluehmshttpcodehttrjsonliteKernSmoothlifecyclelwgeommagrittrMASSmimenaborodopensslpbapplypillarpkgconfigprettyunitsprogressproxyR6RcppRcppEigenreadrrlangs2sfsfheadersstplanrsystibbletidyselecttriebeardtzdbunitsurltoolsutf8vctrsvroomwithrwk

Cycling potential in UK cities

Rendered fromcycling-potential-uk.Rmdusingknitr::rmarkdownon May 06 2026.

Last update: 2023-05-19
Started: 2020-01-13

Estimating distance cycled per zone in England and Wales regions

Rendered fromkm-cycled.Rmdusingknitr::rmarkdownon May 06 2026.

Last update: 2023-05-19
Started: 2021-04-02

International application of the PCT methods

Rendered frompct-international.Rmdusingknitr::rmarkdownon May 06 2026.

Last update: 2022-12-03
Started: 2019-03-21

Introducing the pct package

Rendered frompct.Rmdusingknitr::rmarkdownon May 06 2026.

Last update: 2023-05-19
Started: 2019-03-21

Reproducing cycling potential estimates in UK cities

Rendered fromuk-cities.Rmdusingknitr::rmarkdownon May 06 2026.

Last update: 2023-05-19
Started: 2020-12-02

Readme and manuals

Help Manual

Help pageTopics
Cycle route desire lines for Leedsdesire_lines_leeds
Download MSOA centroids for England and Walesget_centroids_ew
Desire linesget_desire_lines
Get origin destination data from the 2011 Censusget_od
Generic function to get regional data from the PCTget_pct
Get centroid results from the PCTget_pct_centroids
Get desire lines results from the PCTget_pct_lines
Get route network results from the PCTget_pct_rnet
Get fast road network results from the PCTget_pct_routes_fast
Get quiet road network results from the PCTget_pct_routes_quiet
Get zone results from the PCTget_pct_zones
Top 15 min mean journy times within Leeds from Uberleeds_uber_sample
Mode names in the Censusmode_names
Model cycling levels as a function of explanatory variablesmodel_pcycle_pct_2020
Example OD data for Leedsod_leeds
PCT regions from www.pct.bikepct_regions
Lookup table matching PCT regions to local authoritiespct_regions_lookup
Route network for Leedsrnet_leeds
Fastest cycle routes for the desire_lines_leedsroutes_fast_leeds
Desire lines in central Santiagosantiago_lines
OD data in central Santiagosantiago_od
200 cycle routes in central Santiago, Chilesantiago_routes_cs
Zones in central Santiagosantiago_zones
Calculate cycling uptake for UK 'Go Dutch' scenariouptake_pct_godutch
Calculate cycling uptake for UK 'Government Target' scenariouptake_pct_ebike_2020 uptake_pct_godutch_2020 uptake_pct_godutch_school2 uptake_pct_govtarget uptake_pct_govtarget_2020 uptake_pct_govtarget_school2
Desire lines from the PCT for the Isle of Wightwight_lines_30 wight_lines_pct
Official origin-destination data for the Isle of Wightwight_od
Cycle route data for the Isle of Wightwight_rnet wight_routes_30 wight_routes_30_cs
Zones and centroid data from the PCT for the Isle of Wightwight_centroids wight_zones
Zone data for Leedszones_leeds