melb_walk_directional | R Documentation |
API using Socrata to Melbourne pedestrian data with directions (per minute)
melb_walk_directional(app_token = NULL)
app_token |
Characters giving the application token. A limited number of
requests can be made without an app token ( |
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()
.
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)
pull_sensor()
## Not run: melb_walk_directional() ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.