scrape_groups_by_initial_letter: Scrape groups by initial letter

Description Usage Arguments Value Examples

View source: R/scrape_data.R

Description

Get posts and all the replies to the posts from groups by entering the initial letter of group names

Usage

1
scrape_groups_by_initial_letter(index, post_number_per_group = NULL, ...)

Arguments

index

The initial letter of groups. Can be one letter or a vector of letters.

post_number_per_group

The number of random posts to scrape per group. Default is NULL, which means scrape the total number of posts in each group

...

optional arguments to FUN.

Value

A data frame

Examples

1
2
## Get the posts data of groups whose names starting with the letter "a" and "z"
scrape_groups_by_initial_letter(index = "x", post_number_per_group = 1)

healthforum documentation built on Oct. 3, 2019, 9:04 a.m.