View source: R/utils-usage-tracking.R
calculate_costs | R Documentation |
Calculate costs for API usage
calculate_costs(usage_data, cost_per_query = 0.02)
usage_data |
Data frame with usage data |
cost_per_query |
Numeric, cost per paid query in euros (default: 0.02) |
List with cost calculations
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.