powered by
Get Plays by Hour of Day
get_plays_by_hourofday(url = NULL, apikey = NULL, time_range = 30, y_axis = "plays", user_id = NULL)
Server URL.
API key.
The number of days of data to return, default is 30.
30
"plays" (default) or "duration"
"plays"
"duration"
The user id to filter the data
A tbl with columns hour, Movies, TV, Music
tbl
hour
Movies
TV
Music
Other Playback History: get_plays_by_date, get_plays_by_dayofweek, get_plays_by_source_resolution, get_plays_by_stream_resolution, get_plays_by_stream_type, get_plays_per_month
get_plays_by_date
get_plays_by_dayofweek
get_plays_by_source_resolution
get_plays_by_stream_resolution
get_plays_by_stream_type
get_plays_per_month
# NOT RUN { get_plays_by_hourofday() # }
Run the code above in your browser using DataLab