Description Usage Arguments Warning Examples
This function constructs a docNetwork
object from
a docList
object. It will extract the edges and
persons, build the graph, and detect the communities
within that graph. The default type of community
detection is walktrap
.
1 | buildNetwork(dl, edges = NULL, persons = NULL)
|
dl |
A |
edges |
A string that holds the full path to a csv file with edge
data in it. Note that, by default, this parameter is set
to NULL, which tells |
persons |
A string that holds the full path to
a csv file with persons data in it. Note that, by default,
this parameter is NULL and draws from the EBBO-TCP data
included with |
Generally, this function is meant to be used with tei2r
and the
EEBO-TCP data, from which htn
includes data about co-publication.
It's very good at taking the EEBO-TCP catalogue or some subset
of that catalogue and performing network analysis. Using htn
for
any other collection would require compiling an appropriate
edge list and personography.
1 2 3 | dnet = buildNetwork(dl)
dnet = buildNetwork(dl, edges="path/to/edges.csv", persons="path/to/persons.csv")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.