View source: R/historiograph.R
| historiograph | R Documentation |
Constructs a Garfield-style historiograph: a directed citation network among the most locally cited documents, laid out chronologically.
historiograph(
data,
n = 30,
min_lcs = 1,
references = "references",
sep = ";",
strip_quotes = TRUE,
id = NULL
)
data |
A data frame with |
n |
Integer. Number of top locally cited documents to include. Default 30. |
min_lcs |
Integer. Minimum local citation score for inclusion. Default 1. |
references |
Character. Name of the column containing cited references.
Default |
sep |
Character. Separator used to split the references column when it is a plain
character column. Default |
strip_quotes |
Logical. If |
id |
Optional. Name of the column to use as the work identifier.
If |
A list with:
$nodesData frame of included documents with id, lcs,
gcs, year, title, journal, doi.
$edgesData frame of directed citation edges with from
(citing), to (cited), year_from, year_to.
data(biblio_data)
h <- historiograph(biblio_data, n = 5)
h$nodes
h$edges
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.