A character string. To print the result, simply forward it to
print: dt |> dt_row_to_string()
Arguments
dt
(data.table) The input data.table.
row
(int, Optional) Row id to be used. Defaults to 1.
sep
a character string to separate the terms. Not
NA_character_.
collapse
an optional character string to separate the results. Not
NA_character_. When collapse is a string,
the result is always a string (character of length 1).
quote
(character, Optional) A quote parameter to be applied
to all values of the rows.