You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I connected with Twitter API to get data tweets and use Qdap with polarity.frame customized throw the following error: derive_pubkey(key) : RAW() can only be applied to a 'raw', not a 'list'
for example:
twitteR::setup_twitter_oauth(consumerKey, consumerSecret, accessToken, accessSecret) #openssl
standardKey.pol <- qdapDictionaries::key.pol customKey.pol
customKey.pol <- qdap::sentiment_frame(qdapDictionaries::positive.words, qdapDictionaries::negative.words)
qdap::counts(qdap::polarity(phrase, polarity.frame = customKey.pol)) #throw error Error in derive_pubkey(key) : RAW() can only be applied to a 'raw', not a 'list'
qdap::counts(qdap::polarity(phrase, polarity.frame = standardKey.pol)) #sucessful
Any suggestion, thanks
The text was updated successfully, but these errors were encountered:
When I connected with Twitter API to get data tweets and use Qdap with polarity.frame customized throw the following error: derive_pubkey(key) : RAW() can only be applied to a 'raw', not a 'list'
for example:
Any suggestion, thanks
The text was updated successfully, but these errors were encountered: