stopwordspackage requirements in descriptions and examples
vctrserror when using
dplyrfunctions. The classes are no longer needed post-method routing so they are simply removed.
dplyr::funsfunction that was generating a warning.
bind_rowserror on joining dataframes with different types for the structure column. Column type was being set to integer instead of character in cases when every thread comment have no replies or depth (except the OP).
Create.twomode.twitterfunctions using the
tidytextpackage. They now better support tokenization of tweet text and allows a range of stopword lists and sources to be used from the
stopwordspackage. The semantic network function requires the
tidyrpackages to be installed before use.
removeUrls, default value is
assocparameter has been added to choose which node associations or ties to include in the network. The default value is
"limited"and includes only ties between most frequently occurring hashtags and terms in tweets. A value of
fullwill also include ties between most frequently occurring hashtags and hashtags, and terms with terms creating a more densely connected network.
stopwordsLang = "en"and source e.g
stopwordsSrc = "smart"have been added. These correspond to the
sourceparameters of the
stopwordsdefault value is
Create.twomode.twitterfunction is weighted by default but can be disabled by setting the new
AddText.actor.youtubefunction for consistency.
Introduction to vosonSMLvignette
Merging Collected Dataexamples.
Collect.youtubethat was causing no video comments to be collected if there were no reply comments for any of the videos first
maxCommentsnumber of top level comments. For example, if
maxCommentsis set to 100 and the first 100 comments made to a video had no replies then no results would be returned.
rtweet::rate_limitfunction that resulted in an error when using the rtweet
retryonratelimitsearch parameter. The
rate_limitfunction was being called by
vosonSMLto check the twitter rate limit regardless of whether the search parameter was set or not, and so was failing
Collectwith an error. A fix was made so that
rtweet::rate_limitsucceeds, and if not automatically sets
FALSEso that a twitter
Collectcan still be performed without error should this problem occur again.
Introduction to vosonSMLvignette.
Introduction to vosonSMLvignette to the package.
tictocpackage from dependency imports to suggested packages.
rtweetpackage is installed.
RedditExtractoRpackage from imports.
Graph(). Also improved consistency of output messages from
bimodalnetwork hashtags to lowercase as filter terms when entered are converted to lowercase.
GetVideoData()function call in
AddTextfunctions related to strict typing by
AddTextfunction to redirect edges towards actors based on the presence of a
@screen namethat may be found at the beginning of a reply comment. Typically reply comments are directed towards a top-level comment, this instead captures when reply comments are directed to other commenters in the thread.
actornetwork identifiers to be their unique
Channel IDinstead of their
AddVideoDatafunction to add collected video data to the youtube
actornetwork. The main purpose of this function is to replace video identifiers with the
Channel IDof the video publisher (actor) instead. To get the
Channel IDof video publishers an additional API lookup for the videos in the network is required. Additional columns such as video
Publishedtime are also added to the network
$edgesdataframe as well as returned in their own dataframe called
AddTextfunction to add collected text data to networks. This feature applies to
actornetworks and will typically add a node attribute to activity networks and an edge attribute to actor networks. For example, this function will add the column
vosonTxt_tweetscontaining tweet text to
$nodesif passed an activity network, and to
$edgesif passed an actor network.
igraphgraph objects and subsequent writing to file has been removed from the
Createfunction and placed in a new function
Graph. This change abstracts the graph creation and makes it optional, but also allows supplemental network steps such as
AddTextto be performed prior to creating the final igraph object.
Createfunctions and added it to
cleanTextis now a parameter of
AddUserDatafunction that works similarly to
AddText. This function currently only applies to twitter actor networks and will add, or download add if missing, user profile information to actors as node attributes.
activitynetwork type for reddit. In the reddit activity network nodes are the thread posts and comments, edges represent where comments are directed in the threads.
activitynetwork type for twitter and youtube
Createfunction. In this network nodes are the items collected such as tweets returned from a twitter search and comments posted to youtube videos. Edges represent the platform relationship between the tweets or comments.
self-loop. This aims to facilitate the later addition of tweet text to the network graph for user tweets that have no ties to other users.
rtweet::create_token. Method is used when only twitter app name and consumer keys are passed to
Authenticate.twitteras parameters. e.g
Authenticate("twitter", appName = "An App", apiKey = "xxxxxxxxxxxx", apiSecret = "xxxxxxxxxxxx"). A browser tab will open asking the user to authorize the app to their twitter account to complete authentication. This is using twitters
Application-user authentication: OAuth 1a (access token for user context)method.
file) via the
HTTPUserAgentoption. It is temporarily set to package name and current version number for Collect e.g
vosonSML v.0.27.2 (R Package).
Create.semantic.twitterin which a sum operation calculating edge weights would set
NAvalues for all edges due to
NAvalues present in the hashtag fields. This occurs when there are tweets with no hashtags in the twitter collection and is now checked.
Create.semantic.twitterwere also fixed.
Collect.twitterin which any additional
twitter APIparameters e.g
untilwere not being passed properly to
rtweet::search_tweets. This resulted in the additional parameters being ignored.
LoadCredentialfunctions, as well as the
Authenticate.twitter. These were simply calling the
readRDSfunctions and not performing any additional processing. Using
readRDSdirectly to save and load an
Authenticatecredential object to file is simpler.
cleanTextparameter works in
Create.actor.redditso that it is more permissive. Addresses encoding issues with apostrophes and pound symbols and removes unicode characters not permitted by the XML 1.0 standard as used in
graphmlfiles. This is best effort and does not resolve all
Collect.twittersummary information that includes the earliest (min) and latest (max) tweet
status_idcollected with timestamp. The
status_idvalues can be used to frame subsequent collections as
max_idparameter values. If the
untildate parameter was used the timestamp can also be used as a quick confirmation.
Create.actor.redditthat were incorrectly creating edges between top-level commentors and thread authors from different threads. These bugs were only observable in when collecting multiple reddit threads.
twitter APIreset time.
Create.bimodal.twitterin which the vertices dataframe provided to the
graph_from_data_framefunction as a contained duplicate names raising an error.
roxygendocumentation and examples for all package functions.
CreateS3 methods to implement function routing based on object class names.
pkgdownweb site for github hosted package documentation.
.twitter_oauth_tokenfile and used for subsequent
twitter APIrequests without re-authentication. A new authentication token can be cached by deleting this file and using the re-using the parameter
useCachedToken = TRUE.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.