Learn R Programming

rmytarget (version 2.4.0)

myTarGetClientList: Get Agency Clients from 'MyTarget'

Description

Get Agency Clients from 'MyTarget'

Usage

myTarGetClientList(
  auth = NULL,
  login = getOption("rmytarget.login"),
  token_path = myTarTokenPath()
)

Arguments

auth

MyTarget Autherization R object. See myTarAuth

login

Account name, used in file name if you save credential

token_path

Path to directory where you save credential data.

Value

data frame with agency clients

See Also

MyTarget API Documenationhttps://target.my.com/doc/api/detailed/#resource_agency_clients

Examples

Run this code
# NOT RUN {
myTarSetLogin("Your Login")
clients <- myTarGetClientList()
# }

Run the code above in your browser using DataLab