R/account_phrases.R
, R/mention_phrases.R
, R/phrases.R
phrases.Rd
Fetches phrase information, returned as a tibble, for the given
account. All of this information is included in brands()
# S3 method for brandseyer2.account phrases(x, ...) # S3 method for list phrases(x, ...) # S3 method for data.frame phrases(x, ..., ac = attr(x, "account")) phrases(x, ...)
x | An object to read phrases from, such as an |
---|---|
... | Additional arguments for other methods. |
ac | An optional account object from which to take phrase information. |
A tibble of phrase information.
brandseyer2.account
: Read phrases for only a single account
list
: Create a table of phrases for the list of accounts given
data.frame
: Fetch phrase information from a tibble of mention data.
mentions()
should be called with select = "phrases"
to ensure that phrase information is returned with the mentions.
Constance Neeser
#> # A tibble: 9 x 5 #> phrase.id brand.id query inactive deleted #> <dbl> <int> <chr> <lgl> <lgl> #> 1 102 5 branded FALSE FALSE #> 2 102 6 branded FALSE FALSE #> 3 101 5 brander FALSE FALSE #> 4 101 6 brander FALSE FALSE #> 5 5 3 niece FALSE FALSE #> 6 3 2 sibling FALSE FALSE #> 7 2 1 your brand FALSE FALSE #> 8 4 2 oh wow TRUE FALSE #> 9 1 1 brand FALSE TRUE#> # A tibble: 11 x 6 #> account phrase.id brand.id query inactive deleted #> <chr> <dbl> <dbl> <chr> <lgl> <lgl> #> 1 TEST01AA 102 5 branded FALSE FALSE #> 2 TEST01AA 102 6 branded FALSE FALSE #> 3 TEST01AA 101 5 brander FALSE FALSE #> 4 TEST01AA 101 6 brander FALSE FALSE #> 5 TEST01AA 5 3 niece FALSE FALSE #> 6 TEST01AA 3 2 sibling FALSE FALSE #> 7 TEST01AA 2 1 your brand FALSE FALSE #> 8 TEST01AA 4 2 oh wow TRUE FALSE #> 9 TEST01AA 1 1 brand FALSE TRUE #> 10 TEST02AA 102 100 branded FALSE FALSE #> 11 TEST02AA 101 100 brander FALSE FALSE