Monash University
Browse
wp11-2019.pdf (3.88 MB)

Calendar-based Graphics for Visualizing People's Daily Schedules

Download (3.88 MB)
journal contribution
posted on 2022-11-09, 05:56 authored by Earo Wang, Dianne Cook, Rob J Hyndman
Calendars are broadly used in society to display temporal information and events. This paper describes a new calendar display for plotting data, that includes a layout algorithm with many options, and faceting functionality. The functions use modulus algebra on the date variable to restructure the data into a calendar format. The user can apply the grammar of graphics to create plots inside each calendar cell, and thus the displays synchronize neatly with ggplot2 graphics. The motivating application is studying pedestrian behavior in Melbourne, Australia, based on counts which are captured at hourly intervals by sensors scattered around the city. Faceting by the usual features such as day and month, is insufficient to examine the behavior. Making displays on a monthly calendar format helps to understand pedestrian patterns relative to events such as work days, weekends, holidays, and special events. The functions for the calendar algorithm are available in the R package sugrrants.

History

Classification-JEL

C88, C81, C22

Creation date

2019-05-16

Working Paper Series Number

11/19

Length

25

File-Format

application/pdf

Handle

RePEc:msh:ebswps:2019-11

Usage metrics

    Exports

    RefWorks
    BibTeX
    Ref. manager
    Endnote
    DataCite
    NLM
    DC