Git Product home page Git Product logo

acton's Introduction

acton

Travis build status CircleCI

Introduction

ACTON stands for active transport options for new developments. ACTON a research project to provide evidence for local authorities, developers and civil society groups to support planning and investment in sustainable transport infrastructure in and around new developments. To make the results of the research more reproducible and accessible to others, it is also an R package.

In first place, ACTON is about evidence-based planning and that means it is about data. ACTON provides easy access to actionable data from 4 main sources, each of which is already in the public domain, which had never before been made available in a single place or analysed together to support planning, as illustrated in the schematic diagram below.

The four main data sources shown above are:

  • PlanIt data on new developments based on planning documents submitted to local government planning departments
  • Accessibility data, including travel times by mode for different trip purposes, e.g. the average time taken to cycle to the shops, for small administrative zones (MSOA and LSOA level)
  • Trave/demographic data from surveys (the 2011 Census in the first instance), providing information about the number of people in different groups in administrative zones and likely work destinations at the origin-destination level (plus data derived from the Census via the Propensity to Cycle Tool project)
  • Route data from routing services such as CycleStreets.net, providing information on the transport networks surrounding new development sites, with variables such as busyness and speed limits along roads nearby new and planned development sites

ACTON seeks to make these datasets more widely accessible and actionable by combining them and using them to assess walking and cycling provision in and around new developments, to inform policies and investment

For more information about the research project, see the in-progress ACTON report and case study articles.

Installing the R package

To install the acton package, run the following commands in an R console (see here for information on installing R):

install.packages("remotes")
remotes::install_github("cyipt/acton", dependencies = "Suggests")

Setup instructions

To get routes from CycleStreets.net, you will need to set-up an API key called CYCLESTREETS with usethis::edit_r_environ(), as documented here: https://docs.ropensci.org/stplanr/reference/route_cyclestreets.html#details

Brief demo

The package can be used to get data on new developments as follows:

library(acton)
# data from specific postcode
planning_data = get_planit_data(pcode = "LS2 9JT", limit = 2, app_size = "large")
#> Getting data from https://dev.planit.org.uk/api/applics/geojson?limit=2&bbox=&end_date=2020-03-08&start_date=2000-02-01&pg_sz=2&pcode=LS2%209JT&app_size=large
planning_data
#> Simple feature collection with 2 features and 26 fields
#> geometry type:  POINT
#> dimension:      XY
#> bbox:           xmin: -1.553865 ymin: 53.80698 xmax: -1.552019 ymax: 53.80897
#> epsg (SRID):    4326
#> proj4string:    +proj=longlat +datum=WGS84 +no_defs
#> # A tibble: 2 x 27
#>   address altid app_size app_state app_type associated_id authority_id
#>   <chr>   <chr> <chr>    <chr>     <chr>    <chr>                <int>
#> 1 Old Mi… <NA>  Large    Permitted Full     <NA>                   292
#> 2 Univer… <NA>  Large    Permitted Full     <NA>                   292
#> # … with 20 more variables: authority_name <chr>, consulted_date <chr>,
#> #   decided_date <date>, description <chr>, distance <dbl>, docs <chr>,
#> #   lat <dbl>, link <chr>, lng <dbl>, name <chr>, other_fields <chr>,
#> #   postcode <chr>, rec_type <chr>, reference <chr>, source_url <chr>,
#> #   start_date <date>, uid <chr>, url <chr>, when_updated <dttm>,
#> #   geometry <POINT [°]>
planning_data$name
#> [1] "Leeds/17/03618/FU" "Leeds/12/04663/FU"
planning_data$description
#> [1] "6 storey new build research and teaching building; alterations to listed building; new landscaped public realm and alterations to the Clarendon Road/Cemetery Road junction"
#> [2] "Demolition of existing buildings and erection of a 6 storey library with ancillary landscaping"

Documentation

For a more detailed overview explaining how to use the package see the acton vignette.

For results of research into active travel opportunities in and around new developments in case study regions, see the case-studies vignette.

For documentation on each of the package’s functions, see the Reference page.

Citing the work

TBC.

acton's People

Contributors

aspeakman avatar joeytalbot avatar mvl22 avatar robinlovelace avatar si-the-pie avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.