View source: R/get_categories_and_events.R
get_categories_and_events | R Documentation |
Returns all of the unique categories and events (basic and advanced) for each product id.
get_categories_and_events(rev_product_ids)
rev_product_ids |
A vector of Revenera product id's for which you want active user data. |
It is not recommended that your username be stored directly in your code. There are various methods and packages available that are more secure; this package does not require you to use any one in particular.
Data frame with categories, events and event type by product id.
## Not run:
rev_user <- "my_username"
rev_pwd <- "super_secret"
logout(rev_user, rev_pwd)
Sys.sleep(30)
revenera_auth(rev_user, rev_pwd)
product_ids_list <- c("123", "456", "789")
session_id <- revenera_auth(rev_user, rev_pwd)
category_event <- get_categories_and_events(
product_ids_list
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.