% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/bipartite.R
\name{build_bipartite}
\alias{build_bipartite}
\title{Build a bipartite incidence matrix from bibliometric data}
\usage{
build_bipartite(data, field, min_freq = 1L, deduplicate = TRUE)
}
\arguments{
\item{data}{A data frame with at least columns \code{id} and the field specified.}

\item{field}{Character. Name of the list-column containing entities
(e.g., \code{"authors"}, \code{"references"}, \code{"keywords"}).}

\item{min_freq}{Integer. Minimum number of occurrences for an entity to be
included. Default 1 (no filtering).}
}
\value{
A sparse \code{dgCMatrix} with rows = works (named by \code{id}) and
columns = unique entities.
}
\description{
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.
}
\keyword{internal}
