get_claims: Get claims and claim reviews

Description Usage Arguments Functions Examples

View source: R/api_functions.R

Description

Retrieve the claims and claim reviews.

Usage

1
2
3
4
5
6
7
8
get_claims(pages = 1, published_since = NULL)

get_claim_reviews(
  pages = 1,
  clean_html = TRUE,
  published_since = NULL,
  reviewed_since = NULL
)

Arguments

pages

Either the number of pages to download or "all". Defaults to 1.

published_since

Date string. Only retrieve claims that were published after this date.

clean_html

If TRUE, then add another column 'text' which is a plain text version of 'html_text'. Defaults to TRUE.

reviewed_since

Date string. Only retrieve claim reviews where the claim was reviewed after this date.

Functions

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
get_claims(2)

get_claim_reviews("all")

library(lubridate)
get_claims(2, since = today() - months(3) )

## End(Not run)

corriebar/euvsdisinfoR documentation built on March 15, 2020, 4 p.m.