This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rest_client' | |
class parse_link_headers | |
def self.parse_link_header(url, params={}) | |
response = RestClient.get url, params | |
links = Hash.new | |
parts = response.headers[:link].split(',') | |
# Parse each part into a named link | |
parts.each do |part, index| |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(rtweet) | |
library(tidyverse) | |
library(lubridate) | |
library(gganimate) | |
# Extraer tweets de Andrea Gomez | |
reconteo = search_tweets( | |
q = "angiegomeza AND Actualización AND Diferencia", | |
include_rts = F | |
) |
OlderNewer