Fixed a bug in Collect.twitter in which any additional twitter API parameters
e.g lang or until were not being passed properly to rtweet::search_tweets. This
resulted in the additional parameters being ignored.
Major Changes:
Removed the SaveCredential and LoadCredential functions, as well as the useCachedToken
parameter for Authenticate.twitter. These were simply calling the saveRDS and readRDS
functions and not performing any additional processing. Using saveRDS and readRDS directly
to save and load an Authenticate credential object to file is simpler.
Changed the way that the cleanText parameter works in Create.actor.reddit so 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 graphml files. This is
best effort and does not resolve all reddit text encoding issues.
Minor Changes:
Added Collect.twitter summary information that includes the earliest (min) and latest (max)
tweet status_id collected with timestamp. The status_id values can be used to frame
subsequent collections as since_id or max_id parameter values. If the until date
parameter was used the timestamp can also be used as a quick confirmation.
Bug Fixes:
Collect.twitter
in which any additionaltwitter API
parameters e.glang
oruntil
were not being passed properly tortweet::search_tweets
. This resulted in the additional parameters being ignored.Major Changes:
SaveCredential
andLoadCredential
functions, as well as theuseCachedToken
parameter forAuthenticate.twitter
. These were simply calling thesaveRDS
andreadRDS
functions and not performing any additional processing. UsingsaveRDS
andreadRDS
directly to save and load anAuthenticate
credential object to file is simpler.cleanText
parameter works inCreate.actor.reddit
so 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 ingraphml
files. This is best effort and does not resolve allreddit
text encoding issues.Minor Changes:
Collect.twitter
summary information that includes the earliest (min) and latest (max) tweetstatus_id
collected with timestamp. Thestatus_id
values can be used to frame subsequent collections assince_id
ormax_id
parameter values. If theuntil
date parameter was used the timestamp can also be used as a quick confirmation.Collect
method.