links: R Interface for CT Link Search

Description Usage Arguments Examples

View source: R/links.R

Description

Searches for link shares by public pages, groups, profiles on FB/IG

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
links(
  token,
  count = 100,
  endDate = ct_now(),
  includeHistory = NULL,
  link = NULL,
  includeSummary = "false",
  offset = 0,
  platforms = NULL,
  searchField = NULL,
  startDate = NULL,
  sortBy = "date",
  output_raw = TRUE
)

Arguments

token

A valid CT API Token

count

...

endDate

...

includeHistory

...

link

A URL

includeSummary

... (Defaults to "false")

offset

... (Usually you want to leave this at 0 and paginate via dates only)

platforms

...

searchField

...

startDate

...

sortBy

...

output_raw

A boolean signifying whether to output raw CT output or parse into df. Defaulting to TRUE.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
postlist <-
links(token = crowdtangle_token(),
      count = 1000,
      endDate = '2020-12-31',
      includeHistory = NULL,
      link = "rt.com",
      includeSummary= 'false',
      offset = 0,
      platforms = 'facebook',
      searchField = 'Include_query_strings',
      startDate = '2020-06-01T00:00:00',
      sortBy = 'date')

schliebs/rtangle documentation built on Dec. 22, 2021, 10:22 p.m.