Description Usage Arguments Value Examples
This function preprocess profile location data adds country and city data.
1 | geo_profile(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_tweets <- get_tweet_preprocess(tweets_list, location_country = "spain")
df_pre <- geo_profile(df_tweets, location_country = "spain", multi_name = c("españa","spagna","spanje"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.