pedestrian | R Documentation |
This dataset contains hourly counts of pedestrians from 4 sensors around Melbourne: Birrarung Marr, Bourke Street Mall, Flagstaff station, and Spencer St-Collins St (south), recorded from January 1st 2016 at 00:00:00 to December 31st 2016 at 23:00:00. The data is made free and publicly available from https://data.melbourne.vic.gov.au/explore/dataset/pedestrian-counting-system-monthly-counts-per-hour/information/
data(pedestrian)
A tibble with 37,700 rows and 9 variables:
(integer) the number of pedestrians counted at that sensor at that time
(POSIXct, POSIXt) The time that the count was taken
(integer) Year of record
(factor) Month of record as an ordered factor (1 = January, 12 = December)
(integer) Full day of the month
(factor) Full day of the week as an ordered factor (1 = Sunday, 7 = Saturday)
(integer) The hour of the day in 24 hour format
(integer) the id of the sensor
(character) the full name of the sensor
# explore the missingness with vis_miss
vis_miss(pedestrian)
# Look at the missingness in the variables
miss_var_summary(pedestrian)
## Not run:
# There is only missingness in hourly_counts
# Look at the missingness over a rolling window
library(ggplot2)
gg_miss_span(pedestrian, hourly_counts, span_every = 3000)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.