Description Usage Arguments Value Examples
Get all posts/replies one user has sent by his/her user name
1 2 | scrape_user_posts(user_profile_url, type = c("both", "replies",
"topic_post"))
|
user_profile_url |
The URL of a user's profile page. |
type |
Choose a type of posts to be scraped. It includes "replies", i.e., a user's replies to others' posts, or "topic_post", i.e., a user's initial posts. The default is to get "both" |
A data frame
1 2 | user_profile_url <- "https://patient.info/forums/profiles/utgh4k33-1264038"
scrape_user_posts(user_profile_url = user_profile_url, type = "both")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.