Skip to contents

Write network to VOSviewer-compatible format.

Usage

sm_export_vosviewer(network, path)

Arguments

network

A tbl_graph object.

path

Output file path.

Value

path invisibly.

Examples

# \donttest{
corpus <- sm_example_corpus()
net <- sm_network_cocitation(corpus)
sm_export_vosviewer(net, tempfile(fileext = ".tsv"))
#> Warning: Unknown or uninitialised column: `from`.
#> Warning: Unknown or uninitialised column: `to`.
#>  Network exported for VOSviewer to /tmp/RtmpIQMgiF/file237049e0e8.tsv
# }