
Citation network edges from A2AJ case records
Source:R/ingest_a2aj.R
morie_ingest_a2aj_citation_edges.RdTurns the cases_cited_<language> list column of an A2AJ case
data.frame into an edge list, one row per (citing, cited) pair, in
the order the citations first appear in the decision. Feed the
result to any graph routine; table(edges$to) is the in-corpus
citation count of each cited decision.
Usage
morie_ingest_a2aj_citation_edges(x, language = c("en", "fr"))Arguments
- x
A data.frame from
morie_ingest_a2aj_loadormorie_ingest_a2aj_fetchwithinclude_citations = TRUE.- language
"en"(default) or"fr": which citation column and citation string to use.