Description Usage Arguments Value Examples
View source: R/scrape_thread_content.R
Scrapes a certain thread
1 2 3 4 5 6 7 |
suffix |
A character string containing a thread's suffix (which can be
obtained using |
export_csv |
A logical vector. Defaults to |
folder_name |
A character string which specifies the name of the folder
the output should be saved in. The folder's name is added to the path of the
current working directory which can be obtained using |
file_name |
A character string which specifies the name of the output
file. It is not necessary to add '.csv'. If no file name is provided,
|
delay |
A logical vector, defaults to |
A tibble with the following columns: url
contains the thread's
URL suffix, date
the date the posting was made on, time
the
time the posting was made at, author_name
the respective author's user
name, author_url
the link to their profile (can be scraped using
scrape_user_profile()
), quoted_user
the user name of the user
that is quoted in a posting (NA
if the posting does not contain a
quote), posting
the posting *as is*, i.e., with potential quotes,
posting_wo_quote
the posting with all quotes removed.
1 | scrape_thread_content(suffix = "/t3145103", export_csv = TRUE, folder_name = "sandbox/results", file_name = "test", delay = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.