Description Usage Arguments Value Author(s) Examples
View source: R/vkGetGroupStatCity.R
The function vkGetGroupStatCity allows you to get data about the city of community visitors by date.
1 2 3 4 | vkGetGroupStatCity(date_from = Sys.Date(),
date_to = Sys.Date(),
group_id = NULL,
access_token = NULL)
|
date_from |
The starting date of the displayed statistics in the format YYYY-MM-DD. |
date_to |
The end date of the displayed statistics in the format YYYY-MM-DD. |
group_id |
Community ID. |
access_token |
API access token, obtained using the functions vkAuth or vkGetToken |
Date frame with statistics on community visitors with the following values:
Date |
date for which statistics is given. |
Visitors |
number of unique visitors. |
CityID |
city identifier or "other" for the "other cities" section. |
CityName |
city name. |
Alexey Seleznev
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
## auth
my_tok <- vkAuth(app_id = 1,app_secret = "H2Pk8htyFD8024mZaPHm")
## load statistic
communityDataCity <- vkGetGroupStatCity(
date_from = "2016-01-01",
date_to = "2016-04-01",
group_id = 1,
access_token = my_tok$access_token)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.