8000 GitHub - romanedgn/LotameR: R package to interact with the Lotame API · GitHub
[go: up one dir, main page]

Skip to content
romanedgnPublic
forked from jackpalmer/LotameR

About

R package to interact with the Lotame API

Resources

Stars

0 stars

Watchers

1 watching

Forks

 
 

Latest commit

 

History

37 Commits

Folders and files

Repository files navigation

LotameR

What is LotameR?

LotameR is an R package to interact with the Lotame API.

Full interative documentation for the Lotame API can be found here. To request an additional function to this package please submit an issue. Documentation is currently a work in progress, but all functions should include options as listed within the API documentation.

Installation

The package can be installed using the following code:

library(devtools)
install_github(c("jackpalmer/LotameR", "jackpalmer/LotameR"))

After installation, the package can be loaded into R.

library(LotameR)

Using LotameR

To start generate a ticket granting ticket, which is valid for 3 hours.

ticket <- lotame_ticket("username","password")

To return a data.frame of audiences in the client account call:

audiences <- lotame_audiences(client_id = "client_id")

To generate a data.frame of affinity data for an audience call:

affinity_data <- lotame_audience_affinity(audience_id = "audience_id",
                                          sort_attr = "index30",
                                          paginate_query = TRUE)

Bug reports

Report bugs as issues on the GitHub repository

About

R package to interact with the Lotame API

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

0