| aggregate_by_entity | R Documentation |
Groups documents by a single-valued or list-column entity (e.g., author, journal) and pools all values from another list-column (e.g., references, keywords) across documents belonging to that entity.
aggregate_by_entity(data, entity_field, value_field, min_freq = 1L)
data |
A data frame with |
entity_field |
Character. Name of the entity column. If it is a scalar
column (e.g., |
value_field |
Character. Name of the list-column to aggregate
(e.g., |
min_freq |
Integer. Minimum number of papers per entity. Default 1. |
A data frame with columns id (entity name) and value_field
(list-column of pooled values, with duplicates preserved).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.