Anonymous ID: 85b7d2 June 20, 2019, 8:19 p.m. No.6803993   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun   >>4097

>>6803915

 

```{r setup, include=FALSE}

knitr::opts_chunk$set(echo = TRUE)

```

 

## Text Analysis Project

 

#install.packages("twitteR")

 

```{r}

library(twitteR)

```

 

#Inputing my 4 keys

 

```{r}

consumer_key <- "xxxxxxxxxxxxxx"ย 

consumer_secret <- "xxxxxxxxxxxxxx"ย 

access_token <- "xxxxxxxxxxxxxxxxxxxx"ย 

access_secret <- "xxxxxxxxxxxxxxxxxxxxx"ย 

```

#attempting to access Twitter data(#Qanon)

 

```{r}

setup_twitter_oauth(consumer_key, consumer_secret, access_token, access_secret)

tw = twitteR::searchTwitter('#Qanon', n = 1e4, since = '2019-05-28', retryOnRateLimit = 1e3)

d = twitteR::twListToDF(tw)

```

 

It yielded these results about 20 times.

 

## [1] "Rate limited โ€ฆ. blocking for a minute and retrying up to 999 times โ€ฆ"

 

Any ideas? I am scraping twitter data and doing a text analysis on "#Qanon", for the past 30 days.

Anonymous ID: 85b7d2 June 20, 2019, 8:48 p.m. No.6804230   ๐Ÿ—„๏ธ.is ๐Ÿ”—kun

>>6804166

Yup, thats itโ€ฆ I'm just trying to learn some computer science, and data analytics. Right now doing a huge project on human trafficking using data sets from https://www.ctdatacollaborative.org/

AATW! "Fury From the Sky"!