account: Provides access to a BrandsEye account

Description Usage Details Querying an account Author(s) See Also Examples

View source: R/accounts.R

Description

Provides access to a BrandsEye account

Usage

1
2
account(code, key = NULL, user = NULL, password = NULL,
  auth = pkg.env$defaultAuthentication)

Details

Creates an object representing a BrandsEye account. It can be used to easily perform various queries on the account.

summary can be used to briefly summarise an account.

Querying an account

account_count allows you to pull statistics from your account matching a filter. For example,

ac <- account("QUIR01BA") account_count(ac, "published inthelast week", groupby="country")

The above sums the number of mentions per country in the given account.

Author(s)

Constance Neeser

See Also

list_accounts to see the accounts that you have access to.

list_account_codes for a vector of account codes that you have

account_brands for listing the brands in an account.

account_phrases for listing the phrases used in an account.

account_tags for listing the tags used in an account.

client_service for the details of the client service person related to the account.

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
ac <- account("QUIR01BA", user = "[email protected]", 
              password = "This is not my real password")
account("QUIR01BA", key="<api key here>")        

# Have a brief summary of an account
summary(ac)      

## End(Not run)

brandseye/brandseyer documentation built on May 11, 2018, 4:15 a.m.