Get data for determining the best time of day to post (by hour)

time_of_day_metric(code, filter, file = NULL, save = FALSE)

Arguments

code

An account code

filter

A filter to use

file

A filename to save the data to as a CSV

save

Set to true to be given a save file dialog.

Value

A tibble of data

Examples

time_of_day_metric("QUIR01BA", "published inthelast week and brand isorchildof 10006")
#> # A tibble: 24 x 6 #> hour count netSentiment engagement netSentimentPercent percentage #> <int> <int> <int> <int> <dbl> <dbl> #> 1 0 2 1 1 0.5 0.0645 #> 2 1 1 0 0 0 0.0323 #> 3 2 3 0 0 0 0.0968 #> 4 3 0 0 0 0 0 #> 5 4 0 0 0 0 0 #> 6 5 0 0 0 0 0 #> 7 6 0 0 0 0 0 #> 8 7 1 0 1 0 0.0323 #> 9 8 0 0 0 0 0 #> 10 9 1 0 0 0 0.0323 #> # ... with 14 more rows