| dplyr_pairs | R Documentation |
These functions combine a quanteda object with a data frame, adding new document variables based on matching values.
x |
a quanteda corpus object |
y |
a data frame to join with |
... |
additional arguments passed to methods |
left_join() adds columns from y to the corpus x, matching documents
based on a key variable. All documents in x are kept. See
dplyr::left_join() for more details.
A corpus with document variables from both x and y.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.