Skip to content

Commit

Permalink
Updated twitter to support rtweet release (#51)
Browse files Browse the repository at this point in the history
* Added twitter search and timeline collect
* Separated twitter collection into search and timelines
* Replaced magrittr pipes with native pipe
* Modification of rtweet data to support existing functions
* Modified twitter authentication to support all methods
* Updated youtube messaging and id extraction
* Added some message functions for better control over output
* Removed tictoc feature for collection
* Fixed twitter AddText functions
* Added hashtags as a column in nodes or edges table
* Re-wrote twitter AddText
* Fixed package check warnings and notes
* Fixed twitter 2-mode network creation
* Re-wrote twitter semantic network
* Updated output methods
* Set message as default output method
* Updated documentation
* Added rtweet v0.7.0 token class and functions
* Twitter collect now returns a list with tweets and users tibbles
* Added simple masking of names for README examples
* Changed AddText to add full retweet text
* Modified AddUser for user lookup
* Added merge data functions
* Updated vignette
  • Loading branch information
bryn-g authored Aug 15, 2022
1 parent f6a3438 commit 23b14d4
Show file tree
Hide file tree
Showing 155 changed files with 11,997 additions and 5,650 deletions.
2 changes: 2 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,5 @@
^doc$
^Meta$
^\.github$

^\vsml-data$
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,5 @@ cred.R
doc
Meta
error.txt

/vsml-data
14 changes: 6 additions & 8 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: vosonSML
Version: 0.30.6
Version: 0.32.6
Title: Collecting Social Media Data and Generating Networks for Analysis
Description: A suite of easy to use functions for collecting social media
data and generating networks for analysis. Supports Twitter, Youtube,
Expand All @@ -8,13 +8,12 @@ Type: Package
Imports:
data.table,
dplyr (>= 1.0),
httr,
httr (>= 1.3.0),
jsonlite,
lubridate,
magrittr,
methods,
purrr,
rlang (>= 0.3.0.1),
rlang (>= 1.0),
stringr,
textutils,
tidyr,
Expand All @@ -26,15 +25,14 @@ Suggests:
readr,
rmarkdown,
robotstxt,
rtweet (>= 0.6.8),
rtweet (>= 1.0.2),
rvest,
stopwords,
testthat,
tictoc,
tidytext,
urltools,
xml2
Depends: R (>= 3.6)
Depends: R (>= 4.1)
Encoding: UTF-8
Authors@R: c(
person("Bryan", "Gertzel",
Expand All @@ -52,7 +50,7 @@ Authors@R: c(
Maintainer: Bryan Gertzel <[email protected]>
License: GPL (>= 3)
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.1.2
RoxygenNote: 7.2.1
NeedsCompilation: no
VignetteBuilder: knitr
URL: https://github.com/vosonlab/vosonSML
Expand Down
36 changes: 32 additions & 4 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,19 @@ S3method(AddText,actor.reddit)
S3method(AddText,actor.twitter)
S3method(AddText,actor.youtube)
S3method(AddText,default)
S3method(AddText,semantic)
S3method(AddText,semantic.default)
S3method(AddText,semantic.twitter)
S3method(AddText,twomode)
S3method(AddText,twomode.default)
S3method(AddText,twomode.twitter)
S3method(AddUserData,actor)
S3method(AddUserData,actor.default)
S3method(AddUserData,actor.twitter)
S3method(AddUserData,default)
S3method(AddUserData,twomode)
S3method(AddUserData,twomode.default)
S3method(AddUserData,twomode.twitter)
S3method(AddVideoData,actor)
S3method(AddVideoData,actor.default)
S3method(AddVideoData,actor.youtube)
Expand All @@ -26,6 +35,12 @@ S3method(Authenticate,web)
S3method(Authenticate,youtube)
S3method(Collect,default)
S3method(Collect,reddit)
S3method(Collect,search)
S3method(Collect,search.default)
S3method(Collect,search.twitter)
S3method(Collect,timeline)
S3method(Collect,timeline.default)
S3method(Collect,timeline.twitter)
S3method(Collect,twitter)
S3method(Collect,web)
S3method(Collect,youtube)
Expand Down Expand Up @@ -67,20 +82,33 @@ S3method(Graph,semantic.twitter)
S3method(Graph,twomode)
S3method(Graph,twomode.default)
S3method(Graph,twomode.twitter)
S3method(Merge,default)
S3method(Merge,reddit)
S3method(Merge,twitter)
S3method(Merge,youtube)
export(AddText)
export(AddUserData)
export(AddVideoData)
export(Authenticate)
export(Collect)
export(Create)
export(GetYoutubeVideoIDs)
export(Graph)
export(ImportData)
export(ImportRtweet)
export(Merge)
export(MergeFiles)
export(add_text)
export(add_users)
export(add_videos)
export(auth_twitter_app)
export(auth_twitter_dev)
export(auth_twitter_user)
export(collect_reddit_threads)
export(collect_web_hyperlinks)
export(merge_data)
export(merge_files)
importFrom(data.table,":=")
importFrom(data.table,data.table)
importFrom(data.table,setkey)
importFrom(magrittr,"%<>%")
importFrom(magrittr,"%>%")
importFrom(methods,new)
importFrom(rlang,".data")
importFrom(rlang,check_installed)
Expand Down
139 changes: 115 additions & 24 deletions NEWS.md

Large diffs are not rendered by default.

Loading

0 comments on commit 23b14d4

Please sign in to comment.