melb_walk_directional: API using Socrata to Melbourne pedestrian data with...

View source: R/soda.R

melb_walk_directionalR Documentation

API using Socrata to Melbourne pedestrian data with directions (per minute)

Description

API using Socrata to Melbourne pedestrian data with directions (per minute)

Usage

melb_walk_directional(app_token = NULL)

Arguments

app_token

Characters giving the application token. A limited number of requests can be made without an app token (NULL), but they are subject to much lower throttling limits than request that do include one. Sign up for an app token here.

Details

It provides the API using Socrata, to access minute by minute directional pedestrian counts for the last hour from pedestrian sensor devices located across the city. The data is updated every 15 minutes.

Columns sensor_id, direction_1, and direction_2 can be used to join the data with the Sensor Locations dataset which details the location, status, and directional readings of sensors, which can be obtained from pull_sensor().

Value

A tibble including these variables as follows:

  • sensor_id: Sensor name

  • date_time: Date time when the pedestrian counts are recorded

  • date: Date associated with date_time

  • time: Time of day

  • direction_1: Direction 1 sensor reading (count of pedestrians)

  • direction_2: Direction 2 sensor reading (count of pedestrians)

  • total_of_directions: Total sensor reading i.e. direction 1+2 (count of pedestrians)

See Also

pull_sensor()

Examples

## Not run: 
melb_walk_directional()

## End(Not run)

rwalkr documentation built on Nov. 16, 2022, 1:06 a.m.