profiles: Read online profiles for an account

Description Usage Arguments Details Value Methods (by class) Examples

View source: R/account_profiles.R

Description

Returns a tibble of online profiles for the account.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
profiles(x, .show.progress)

## S3 method for class 'character'
profiles(x, .show.progress = interactive())

## S3 method for class 'brandseyer2.account'
profiles(x, .show.progress = interactive())

## S3 method for class 'list'
profiles(x, .show.progress = interactive())

## S3 method for class 'data.frame'
profiles(x, .show.progress = interactive())

Arguments

x

An object to read profiles from.

.show.progress

A logical indicating whether to show a progress bar or not. By default, this only shows a progress bar in interactive environments. Also, progress bars will only be shown if 3 or more accounts are being examined.

Details

Online profiles can be read from various different kinds of object. An account() object is the most basic, although profiles can also be read from a list of account objects (in which case the returned tibble will include an account code column), or from a tibble containing an account code column, such as that returned by account_list().

Value

A tibble of log information, including the user that perform the action, and how many times the action was performed.

Methods (by class)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
## Not run: 
# Read profiles for an account code
profiles("TEST01AA")

## End(Not run)


## Not run: 
# Read profiles for an account
account("TEST01AA") %>%
  profiles()

## End(Not run)


## Not run: 
# Read for a list of accounts
account("TEST01AA", "TEST02AA") %>%
  profiles()

## End(Not run)
## Not run: 
account_list() %>%
  profiles()

## End(Not run)

brandseye/brandseyer2 documentation built on Sept. 5, 2021, 2:15 p.m.