Plot code frequency for a datavyu column

prep_time_series(
  column,
  code,
  specified_file = NULL,
  directory = NULL,
  units = "s",
  normalize_ts = FALSE
)

Arguments

column

the column as a character string

code

the code as a character string

specified_file

the file name; use datavyur::datavyu_col_search() to determine their names

directory

the path to the directory as a character string; can be set with options(directory = "")

units

the units the data will be prepared in; either "m" (minutes), "s" (default; seconds), or "ms" (milli-seconds)

normalize_ts

set to TRUE to normalize the time series

Value

a data frame