nwd_load_identifiers_df: Load all identifiers_df

Description Usage Arguments Value

View source: R/utils.R

Description

Load all identifiers_df

Usage

1
2
3
4
5
6
7
8
nwd_load_identifiers_df(
  language = NULL,
  long = TRUE,
  store = TRUE,
  cache = TRUE,
  keep_duplicates = FALSE,
  top_domain_only = TRUE
)

Arguments

language

A character vector of language two letter codes.

long

Logical, defaults to TRUE. If TRUE, returns a tidy data drame in the long format. If FALSE, return a wide dataframe with a column for each identifiers, and id included as lists.

store

Logical, defaults to TRUE. Should the output be stored locally as a dated file in the 'identifiers_long/language' folder?

cache

Logical, defaults to TRUE. If already processed on the same date, should it just load the lastest stored files?

keep_duplicates

Logical, defaults to FALSE. If FALSE, if the same web page has been downloaded on multiple dates, it keeps only the first instance when a given identifier was found. If TRUE, it keeps one row per available date.

Value

A data.frame (a tibble), made of data frames typically generated with 'extract_identifiers()'


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