Get data for determining the best day of the week to post

day_of_week_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

day_of_week_metric("QUIR01BA", "published inthelast week and brand isorchildof 10006")
#> # A tibble: 7 x 6 #> day count netSentiment engagement netSentimentPercent percentage #> <ord> <int> <int> <int> <dbl> <dbl> #> 1 Mon 2 0 1 0 0.0645 #> 2 Tue 2 0 0 0 0.0645 #> 3 Wed 3 1 2 0.333 0.0968 #> 4 Thu 6 1 0 0.167 0.194 #> 5 Fri 10 3 1 0.3 0.323 #> 6 Sat 7 2 1 0.286 0.226 #> 7 Sun 1 0 0 0 0.0323