Adjusts data frame to corporaexplorer format
transform_regular(df, tile_length_range = c(1, 10))
A tibble ("data_dok")
Data frame with text column (character), Date column (Date) (if date based corpus), and optionally other columns.
Numeric vector of length two.
Fine-tune the tile lengths in document wall
and day corpus view. Tile length is calculated by
scales::rescale(nchar(dataset[[text_column]]),
to = tile_length_range,
from = c(0, max(.)))
Default is c(1, 10)
.