DownloadCSV: Download Traffic Count Data to .CSV File

Description Usage Arguments Value Author(s) Examples

Description

Motorway Incident Detection and Automatic Signalling (MIDAS) is a sensor based network along UK motorways, and is designed to collect data regarding traffic flows, average speeds and road occupancy, amongst other features, on the road network. This data can be accessed via the MIDAS website https://www.midas-data.org.uk/ (login required) in the form of .tcd.bz2 files.

The function DownloadCSV is designed to download data found using the RoadData into an appropriate .CSV format.

Usage

1

Arguments

data

The data that the user wishes to aggregate.

Value

A CSV file for each site is downloaded, with the naming convention of "X_DDMMMYYYY-DDMMMYYYY.csv", where "X" denotes the alphanumeric characters of the site's geographic address, "DD" denotes the start and end date days respectively, "MMM" denotes the month as three letters for the start and end date months respectively, and "YYYY" denotes the year for the start and end date years respectively.

Author(s)

RAC Foundation, Luke Hudlass-Galley

Examples

1
DownloadCSV(trafficData)

RACFoundation/oneminutetrafficdata documentation built on May 28, 2019, 2:26 p.m.