Constructs a sparse works x entities two-mode matrix from a data frame with a list-column. This is the core engine behind all network construction functions.
Usage
build_bipartite(
data,
field,
min_freq = 1L,
deduplicate = TRUE,
sep = ";",
strip_quotes = TRUE
)Arguments
- data
A data frame with at least columns
idand the field specified.- field
Character. Name of the list-column containing entities (e.g.,
"authors","references","keywords").- min_freq
Integer. Minimum number of occurrences for an entity to be included. Default 1 (no filtering).
- sep
Character. Separator used to split
fieldwhen it is a plain character column. Default";".- strip_quotes
Logical. Strip surrounding quote characters from entities. Default
TRUE.