Description Usage Arguments Value Examples
View source: R/geo_preprocess.R
This function preprocess profile location data adds country and city data.
1 | geo_preprocess(df, location_country, multi_name )
|
df |
twitter data frame |
location_country |
country name |
multi_name |
multiple names of country in different language |
df |
rtweet data frame |
location_country |
"spain", "uk", "netherlands", "serbia and montenegro", "croatia", "france", "switzerland", "denmark" ... |
multi_name |
c("españa","spagna"), c(dänemark), c("republic of serbia", "srbija"), c("republic of croatia"), c("schweiz", "suisse", "suiza"), c("united kingdom", "britain") ... |
1 2 | df_pre <- twitter_preprocess(df_tweets, ud_lang = "spanish", stopwords_lang = "es")
df_pre <- geo_preprocess(df_pre, location_country = "spain", multi_name = c("españa","spagna"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.