nwd_check_if_exists: Check if corresponding information for a given domain exists...

Description Usage Arguments Value

View source: R/utils.R

Description

Check if corresponding information for a given domain exists for a given data type and a given time period

Usage

1
2
3
4
5
6
7
nwd_check_if_exists(
  domain,
  type = "homepage",
  language = NULL,
  since = Sys.Date() - 91,
  simplify = TRUE
)

Arguments

domain

A domain name (e.g. "example.com").

type

Type of file to check, defaults to "homepage". Curent alternative options: "screenshots" and "ads".

since

A date. 'nwd_check_if_exists()' returns TRUE only if the given link has been downloaded or (failed to download) after the given date.

Value

If 'simplify' is TRUE, it returns a logical vector of length 1, either TRUE or FALSE. If 'simplify == FALSE', it returns a data frame with details on the availability of files related to the given domain.


giocomai/networkedwebsitesdetector documentation built on Jan. 22, 2021, 5:42 p.m.