get_todays_sample_tweets: Get a sample of latest tweet geolocations (deprecated)

View source: R/geo-tagging.R

get_todays_sample_tweetsR Documentation

Get a sample of latest tweet geolocations (deprecated)

Description

This function was removed from epitweetr v1.0.1. Please use search_tweets instead

Usage

get_todays_sample_tweets(limit = 1000, text_col = "text", lang_col = "lang")

Arguments

limit

Size of the sample, default: 100

text_col

Name of the tweet field to geolocate it should be one of the following ("text", "linked_text", "user_description", "user_location", "place_full_name", "linked_place_full_name"), default: 'text'

lang_col

Name of the tweet variable containing the language to evaluate. It should be one of the following ("lang", "linked_lang", NA), default: "lang"

Details

This function was removed from epitweetr v1.0.1. Please use search_tweets instead.

Value

Data frame containing the sampled tweets and the geolocation metrics

See Also

download_dependencies

update_geonames

update_languages

Examples

if(FALSE){
   library(epitweetr)
   # setting up the data folder
   message('Please choose the epitweetr data directory')
   setup_config(file.choose())

   # geolocating today's tweets
   show(get_todays_sample_tweets())
}

epitweetr documentation built on Nov. 16, 2023, 5:07 p.m.