View source: R/y_transactions.R
y_transactions | R Documentation |
This function returns data from the transactions resource. - Transactions include: - add - drop - trade - commissioner A single transaction can have multiple parts such as an add drop. Waivers transactions are not included in this function.
y_transactions( key = NULL, token_name = NULL, count = NULL, transaction_type = NULL, debug = FALSE, quiet = TRUE )
key |
league key or team key as a string in the form "000.l.0000" or "000.l.0000.t.0". |
token_name |
Name used for assignment when creating token object with 'y_create_token()'. |
count |
Number of transactions to return. |
transaction_type |
Filter argument for request. Accepts 1 of "commish", "add", "drop", "trade". |
debug |
Returns a list of data such as uri call and content. Useful for debugging. |
quiet |
Print function activity. |
A tibble.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.