Description Usage Arguments Details Value Author(s) References See Also Examples
Provide an interactive Shiny app, representing a tourist friendly map, that the user can query to obtain useful travel information (e.g. places to visit).
1 |
city |
City of interest |
relative_sentiment |
If checked, select the relative sentiment (in comparison to the fetched places), otherwise the default behaviour is to provide an absolute measure of the sentiments (based on a scale of -5 to 5; values under or equal to 3 labelled as bad sentiment colored in red, above or equal to 3 as good sentiment colored in green, and in between as mid colored in green) |
The function obtains automatically the longitude and latitude of
the requested city and places, fectches the top spots accordingly from
Tripadvisor, and runs a Twitter count and sentiment analysis, to return
an interactive plot, illustrating the most sought after places
by Twitter users (i.e. by count and most liked places).
The final aim is to display an interactive map of
the top-spots to visits in any given city.
An interactive map displaying the information requested by the user, enhanced by Twitter inputs (e.g. through sentiment analysis of the place).
Ayrton Rua: ayrton.gomesmartinsrua@unil.ch
Maurizio Griffo: maurizio.griffo@unil.ch
Ali Karray: mohamedali.karray@unil.ch
Mohit Mehrotra: mohit.mehrotra@unil.ch
Youness Zarhloul: youness.zarhloul@unil.ch
Orso, S., Molinari, R., Lee, J., Guerrier, S., & Beckman, M. (2018). An Introduction to Statistical Programming Methods with R. Retrieved from https://smac-group.github.io/ds/
1 2 3 4 5 | ## Not run:
city = London,
relative_sentiment? (unchecked)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.