Description Usage Arguments Value Examples
Get all the posts containing all the replies to those posts from one group by entering its url.
1 2 | scrape_one_group(group_url, random_post_number = NULL,
random_seed = NULL, ...)
|
group_url |
URL to the page to scrape. |
random_post_number |
The number of random posts to scrape. Default is NULL, which means scrape the total number of posts. |
random_seed |
A random number used to set the random seed to reproduce the work. |
... |
optional arguments to FUN. |
A data frame
1 2 3 | ## get the data of 5 random posts from the group "Angiotensin II Receptor Blockers"
group_url = "https://patient.info/forums/discuss/browse/angiotensin-ii-receptor-blockers-3037"
scrape_one_group(group_url = group_url, random_post_number = 5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.