Returns a list of community members.
vkGetGroupMembers(
group_id = NULL,
sort = c('time_desc', 'time_asc', 'id_desc', 'id_asc'),
fields = c('sex', 'bdate', 'city', 'country', 'photo_50', 'photo_100',
'photo_200_orig', 'photo_200', 'photo_400_orig', 'photo_max',
'photo_max_orig', 'online', 'online_mobile', 'lists', 'domain',
'has_mobile', 'contacts', 'connections', 'site', 'education',
'universities', 'schools', 'can_post', 'can_see_all_posts',
'can_see_audio', 'can_write_private_message', 'status',
'last_seen', 'common_count', 'relation', 'relatives'),
filter = c('all', 'friends', 'unsure', 'managers', 'donut'),
username = getOption("rvkstat.username"),
api_version = getOption("rvkstat.api_version"),
token_path = vkTokenPath(),
access_token = getOption("rvkstat.access_token")
)
Community ID or short name.
sort with which to return the list of participants. Possible values: time_desc, time_asc, id_desc, id_asc.
List of additional fields to return. Possible values: sex, bdate, city, country, photo_50, photo_100, photo_200_orig, photo_200, photo_400_orig, photo_max, photo_max_orig, online, online_mobile, lists, domain, has_mobile, contacts, connections, site, education, universities, schools, can_post, can_see_all_posts, can_see_audio, can_write_private_message, status, last_seen, common_count, relation, relatives
Group member filter. Possible values: all, friends, unsure, managers, donut
Your vkontakte login.
Vkontakte API version.
Path to dir with credentials
API access tokens obtained using vkAuth or vkGetToken functions
Date frame with community statistics with the following values
Documentation for API method stats.get: https://vk.com/dev/groups.getMembers
# NOT RUN {
## Getting community members
communityMembers <- vkGetGroupStat(
group_id = "data_club")
# }
Run the code above in your browser using DataLab