gephi_prepare: Prepare data for network visualization in gephi

Description Usage Arguments Value

View source: R/gephi_prepare.R

Description

This function imports a .csv file, selects the desired columns, trims white space and adds a weight field based on the number of rows. Use the output to create a nodes file (gephi_nodes()) and edges file (gephi_edges()) for import into gephi.

Usage

1
gephi_prepare(x, col, count_col)

Arguments

x

a .csv format file containing the data to visualize

col

The column you would like to network

count_col

The column used as the basis for calculating shared records as edges (for example dois, isi numbers, publication_numbers, priority_numbers, family_numbers).

Value

A data.frame


poldham/oldhammisc documentation built on May 25, 2019, 11:23 a.m.