This R package provides tools for analysis of tourism demand, especially the analysis of seasonal concentration on tourism demand using decomposition methods.
Currently not on CRAN. ETA: summer 2019
Development version:
# install.packages("devtools") devtools::install_github("mariuslarsson/touRism")
library(touRism) library(dplyr) library(tidyr) data(norwayGuestNights2018) #?norwayGuestNights2018 norwayGuestNights2018 %>% dplyr::mutate(Norway=rowSums(dplyr::select_if(., is.numeric))) %>% tidyr::gather(county, value, -month, -Norway) %>% dplyr::group_by(county) %>% dplyr::summarise(gini = touRism::gini(value), giniRME = touRism::giniRME(Norway, value)) %>% dplyr::arrange(dplyr::desc(gini))
marius.larsson@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.