Campaign Monitor API wrapper for R. Note this is still a work in progess, suggestions welcome.
To authenticate the API, you may either pass on the API key directly through each function using the 'auth' argument, or you can set a global variable as so:
Sys.setenv(CampMonauth = 'API_KEY')
To test the connection, use the function Client()
. This will return the client information that is available.
This API wrapper is designed to be an R interface for CampaignMonitor for statistical analysis.
Returns the ClientID and name of the clients linked to the API key.
Lists all of the campaigns that were sent from the specific ClientID.
Returns the ListID and name of the subscriber list the campaign was sent to.
Returns all subscriber lists under that clientID.
Depending on the arguements, this function will return subscribers who either received the email, opened the email, clicked through a link in the email, unsubscribed from the list, bounced (either hard or soft), or marked the email as spam.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.