get_threads: Get threads Returns the thread links

Description Usage Arguments Value Examples

View source: R/get_threads.R

Description

Get threads Returns the thread links

Usage

1
2
3
4
5
get_threads(
  suffix,
  thread_start_date = "2000-01-01",
  latest_entry = "2000-01-01"
)

Arguments

suffix

A character string. The section's suffix.

thread_start_date

A character string of a date in the format "YYYY-MM-DD". Links to threads which were started before this date will not be returned. Defaults to "2000-01-01".

latest_entry

A character string of a date in the format "YYYY-MM-DD". Only links to threads whose latest entry was posted on or after this very date are returned.

Value

A tibble with three columns. link contains the thread's link, start_date the date it was created on, and latest_entry the date when the latest posting was made within the thread.

Examples

1
get_threads(suffix = "/Forum-19-89/", thread_start_date = "2020-04-01", latest_entry = "2020-05-01")

fellennert/familjelivscrapR documentation built on Oct. 4, 2020, 1:35 p.m.