Learn R Programming

SocialMediaLab (version 0.23.2)

PopulateUserInfo: Populate Twitter networks with user information

Description

This function is used to 'populate' Twitter networks (generated with the Create function) with information about the users in the network. This involves calls to the Twitter API to collect this information, which is then applied to the network as vertex attributes.

Usage

PopulateUserInfo(networkObject)

Arguments

networkObject
an igraph graph object created with Create

Value

An igraph graph object

See Also

Collect, Create

Examples

Run this code

## Not run: ------------------------------------
# require(magrittr)
# ## Get Twitter user information and apply to network
# myTwitterNetwork_userInfo <- PopulateUserInfo(myTwitterNetwork)
# 
## ---------------------------------------------

Run the code above in your browser using DataLab