vars_exist()
checks if columns are present in a webtrack data object.
By default, checks whether the data has a panelist_id
, a ulr
and a
timestamp
column.#'
vars_exist(wt, vars = c("panelist_id", "url", "timestamp"))
A data.table object.
webtrack data object.
character vector of variables.
Defaults to c("panelist_id", "url", "timestamp")
.