Learn R Programming

vosonSML (version 0.29.10)

vosonSML::AddText: Add columns containing text data to network dataframes

Description

Network is supplemented with additional social media text data applied as node or edge attributes.

Usage

AddText(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 two dataframes containing $nodes and $edges including columns containing text data.

Examples

Run this code
# NOT RUN {
# add text to an activity network
activityNetwork <- collectData %>% Create("activity") %>% AddText(collectData)

# network
# activityNetwork$nodes
# activityNetwork$edges
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab