Skip to contents

Function Reference

Available functions and helpers

vosonSML-package vosonSML
vosonSML: Collecting Social Media Data and Generating Networks for Analysis

Authenticate

Authenticate()
Create a credential object to access social media APIs
Authenticate(<mastodon>)
Mastodon API authentication
Authenticate(<youtube>)
YouTube API authentication
Authenticate(<reddit>)
Reddit API authentication
Authenticate(<web>)
Web crawler authentication

Collect

Collect()
Collect data from social media for generating networks
Collect(<search.mastodon>)
Collect post data from mastodon search
Collect(<thread.mastodon>)
Collect posts data from mastodon threads
Collect(<youtube>)
Collect comments data for YouTube videos
Collect(<listing.reddit>) collect_reddit_listings()
Collect reddit thread listings from subreddits
Collect(<thread.reddit>) collect_reddit_threads()
Collect comments data from reddit threads
Collect(<web>) collect_web_hyperlinks()
Collect hyperlinks from web pages

Create

Create()
Create networks from social media data
Create(<activity.mastodon>)
Create mastodon activity network
Create(<activity.youtube>)
Create YouTube activity network
Create(<activity.reddit>)
Create reddit activity network
Create(<activity.web>)
Create web activity network
Create(<actor.mastodon>)
Create mastodon actor network
Create(<actor.youtube>)
Create YouTube actor network
Create(<actor.reddit>)
Create reddit actor network
Create(<actor.web>)
Create web actor network

Supplemental

AddText() add_text()
Add columns containing text data to network dataframes
AddText(<activity.mastodon>)
Add columns containing text data to mastodon activity network dataframes
AddText(<actor.mastodon>)
Add columns containing text data to mastodon actor network dataframes
AddText(<activity.youtube>) AddText(<actor.youtube>)
Add columns containing text data to YouTube activity network dataframes
AddText(<activity.reddit>)
Add columns containing text data to reddit activity network dataframes
AddText(<actor.reddit>)
Add columns containing text data to reddit actor network dataframes
AddVideoData() add_videos()
Add columns of video information to network dataframes
AddVideoData(<actor.youtube>)
Add video information to youtube actor network dataframes

Helpers

Graph()
Create an igraph graph from network
Merge() merge_data()
Merge collected data
MergeFiles() merge_files()
Merge collected data files
ImportRtoot() import_rtoot()
Import rtoot collected data