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
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