vkGetGroupStatGender: Loading data by gender of the community visitors

Description Usage Arguments Value Author(s) Examples

View source: R/vkGetGroupStatGender.R

Description

Allows you to download data on the gender of community visitors by date.

Usage

1
2
3
4
vkGetGroupStatGender(date_from = Sys.Date(), 
                     date_to = Sys.Date(), 
                     group_id = NULL, 
                     access_token = NULL)

Arguments

date_from

The start date of the displayed statistics in the format YYYY-MM-DD.

date_to

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

Value

Date frame with statistics on community visitors with the following values:

1. Date

the date for which statistics are given.

2. Visitors

number of unique visitors.

3. Gender

gender ("m" is male, "f" is female).

Author(s)

Alexey Seleznev

Examples

 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 data about users by gender
communityDataGender <- vkGetGroupStatGender(
                           date_from = "2016-01-01",
                           date_to = "2016-04-01",
                           group_id = 1,
                           access_token = my_tok$access_token)

## End(Not run)

grkhr/rvkstat documentation built on Dec. 10, 2019, 2:27 p.m.