AddUserData: Add columns of user information as node attributes to network...

View source: R/AddUserData.R

AddUserDataR Documentation

Add columns of user information as node attributes to network dataframes

Description

Network is supplemented with additional downloaded social media user information applied as node attributes.

Usage

AddUserData(net, data, ...)

add_users(net, data, ...)

Arguments

net

A named list of dataframes nodes and edges generated by Create.

data

A dataframe generated by Collect.

...

Additional parameters passed to function.

Value

Network as a named list of three dataframes containing $nodes, $edges. Nodes include columns for additional user profile data and metrics. Referenced users for which no data was found are returned in missing_users.

Note

Only supports twitter actor networks. Refer to AddUserData.actor.twitter.


vosonlab/vosonSML documentation built on April 28, 2024, 6:26 a.m.