Usage
CreateEgoNetwork(dataSource,username,userid,verbose,degreeEgoNet,
writeToFile,waitForRateLimit,getFollows)
Arguments
dataSource
character string, specifying which data source. Currently only "instagram" (default).
username
character vector, specifying a set of usernames who will be the 'ego' nodes for the network generation.
userid
numeric vector, specifying a set of user ids who will be the 'ego' nodes for the network generation. If usernames are already specified, this argument is ignored.
getFollows
Logical, if TRUE (default), also collect who each 'ego' node itself follows (i.e. not just the followers of ego), and integrate these data into the ego network.
verbose
logical. If TRUE then this function will output runtime information to the console as it computes. Useful diagnostic tool for long computations. Default is FALSE.
degreeEgoNet
Numeric, the 'order' or 'degree' of the ego-network to create (1 is default). 1 = ego + alters. 2 = ego + alters + alters of alters.
waitForRateLimit
logical. If TRUE then it will try to observe the API rate limit by ensuring that no more than 5000 API calls are made per hour (the current rate limit). If more than 5000 calls are made within a 60 minute window, then all operates will suspen
writeToFile
logical. If TRUE then the network is saved to file in current working directory (GRAPHML format), with filename denoting the current date/time and the type of network.