run_shiny: run_shiny

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

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).

Usage

1

Arguments

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)

Details

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.

Value

An interactive map displaying the information requested by the user, enhanced by Twitter inputs (e.g. through sentiment analysis of the place).

Author(s)

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

References

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/

See Also

touristR & track_keyword

Examples

1
2
3
4
5
## Not run: 
city = London,
relative_sentiment? (unchecked)

## End(Not run)

AyrtonRua/group1_project documentation built on May 14, 2019, 5:14 a.m.