gloss_df {glossr} | R Documentation |
Render gloss from a dataframe
gloss_df(df, output_format = config$output, numbering = config$numbering)
df |
Dataframe one row per gloss. Columns |
output_format |
(Optional) Whether it will use latex, word or html format. |
numbering |
(Optional) Whether the gloss should be numbered (in Word and HTML). |
Object of class gloss
with the original input as data
attribute.
my_gloss <- data.frame(
first_line = "my first line",
second_line = "my second line",
translation = "Translation of my example",
label = "label"
)
gloss_df(my_gloss)