Description Usage Arguments Examples
fetch_app_series Methods
1 2 3 4 5 6 7 | fetch_app_series(.Object, app, cadence, start_date = "", end_date = "",
country_code = "", region = NULL)
## S4 method for signature 'AvenueApiClient'
fetch_app_series(.Object, app = NULL,
cadence = NULL, start_date = "", end_date = "", country_code = "",
region = NULL)
|
.Object |
A valid AvenueApiClient connection |
app |
character; an length-1 vector of the Android package name, e.g. "com.facebook.katana" |
cadence |
character; the cadence requested. Must be one of: 'daily' (daily app usage) or 'weekly' (weekly app usage) |
start_date |
string; a length-one character vector expressed as ' |
end_date |
string; a length-one character vector expressed as ' |
country_code |
character; the ISO 3166 alpha-2 country_code for which you are requesting app data. If left unset, the API returns data for all countries. |
region |
character; the UN region code for which you are requesting app data. An error is thrown if both |
1 2 3 4 5 6 7 8 | ## Not run:
# Get app usage data for Facebook
fb <- fetch_app_series(gave, app="com.facebook.katana",
cadence="daily",
start_date='2015-01-01',
country_code = 'US')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.