get_net_cooccur_metrics: Retrieve co-occurrence network metrics for a play

View source: R/net.R

get_net_cooccur_metricsR Documentation

Retrieve co-occurrence network metrics for a play

Description

get_net_cooccur_metrics() requests network metrics for a specific play, given play and corpus names. Play network is constructed based on characters' co-occurrence matrix.

Usage

get_net_cooccur_metrics(play = NULL, corpus = NULL, ...)

Arguments

play

Character, name of a play (you can find all play names in "playName" column within an object returned by get_dracor). Character vector (longer than 1) is not supported.

corpus

Character, name of the corpus (you can find all corpus names in name column within an object returned by get_dracor_meta).

...

Additional arguments passed to dracor_api.

Value

List with network metrics for a specific play.

See Also

get_net_cooccur_igraph get_net_cooccur_gexf get_net_cooccur_graphml get_net_cooccur_edges get_net_relations_igraph

Examples

get_net_cooccur_metrics(play = "lessing-emilia-galotti", corpus = "ger")

Pozdniakov/rdracor documentation built on April 9, 2024, 1:20 a.m.