Skip to content

Latest commit

 

History

History
60 lines (40 loc) · 2.04 KB

1.datacollection.md

File metadata and controls

60 lines (40 loc) · 2.04 KB

Data Collection

Author Rscript: Francisca Ortiz.

This documment present data collection stage of the study “Ageism in the era of Covid-19: exploring stereotypes in the press and/or social media”, which has been funded by MICRA Seedcorn funding call 2021. Founded awarded to the researchers Francisca Ortiz and Louise Mitchell by January 2021.

This Rscript is based in the repository https://github.com/cjbarrie/academictwitteR

Install packages

devtools::install_github("cjbarrie/academictwitteR")

#install.packages("get_hashtag_tweets")
library(academictwitteR)

Bearer Token

Add the bearer token from your Twitter API account in between "".

bearer_token <- ""

Data extraction

Data extration 1

For the data extraction were selected three specific days related with the vaccine of Covid-19. The first extraction was on 2 of December 2020: when the first COVID-19 vaccine was granted regulatory approval by the UK medicines regulator MHRA.

get_hashtag_tweets("#CovidVaccine", "2020-12-02T00:00:01Z", 
                   "2020-12-02T23:59:59Z", bearer_token, 
                   data_path = "/Users/franciscaortizruiz/Desktop/data")

Data extration 2

For the data extraction were selected three specific days related with the vaccine of Covid-19. The first extraction was on 4 of December 2020: first publication stablishing the plan of how the vaccinate was going to distributed in the population.

get_hashtag_tweets("#CovidVaccine", "2020-12-04T00:00:01Z", 
                   "2020-12-04T23:59:59Z", bearer_token, 
                   data_path = "/Users/franciscaortizruiz/Desktop/data")

Data extration 3

For the data extraction were selected three specific days related with the vaccine of Covid-19. The first extraction was on 8 of December 2020: first vaccination given in the UK.

get_hashtag_tweets("#CovidVaccine", "2020-12-08T00:00:01Z", 
                   "2020-12-08T23:59:59Z", bearer_token, 
                   data_path = "/Users/franciscaortizruiz/Desktop/data")