Skip to content

Commit

Permalink
actualizo ref receptivo
Browse files Browse the repository at this point in the history
  • Loading branch information
eliansoutu committed Jan 29, 2024
1 parent e6deaeb commit 61a1d95
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 22 deletions.
Binary file modified docs/outputs/graph_receptivo.rds
Binary file not shown.
17 changes: 9 additions & 8 deletions docs/receptivo.html

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions docs/scripts/receptivo.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ library(plotly)
library(crosstalk)
library(DT)
library(d4t4tur)
library(lubridate)

visitantes_dnm <- read_rds("/srv/DataDNMYE/turismo_internacional/turismo_internacional_visitantes.rds")

Expand Down Expand Up @@ -59,7 +60,7 @@ dt_rec <- datatable(data_rec, extensions = 'Buttons',
gg_rec <- ggplot(data_rec) +
geom_line(aes(anio, visitantes, color = paso_publ)) +
geom_point(aes(anio, visitantes, color = paso_publ,
text = paste0(paso_publ,": ", visitantes, " visitantes"))) +
text = paste0(paso_publ,": ", visitantes, " viajes de visitantes"))) +
scale_color_dnmye() +
theme_minimal() +
theme(legend.position = "none",
Expand All @@ -77,7 +78,7 @@ graph_receptivo <- withr::with_options(
htmltools::br(),
ggplotly(gg_rec, dynamicTicks = TRUE, tooltip = "text") %>%
layout(xaxis=list(type='category')) %>%
layout(title = 'Evolución del volumen de visitantes por paso internacional'))
layout(title = 'Evolución del volumen de viajes de visitantes por paso internacional'))
)

write_rds(graph_receptivo, "outputs/graph_receptivo.rds")
18 changes: 9 additions & 9 deletions docs/search.json

Large diffs are not rendered by default.

Binary file modified outputs/graph_receptivo.rds
Binary file not shown.
4 changes: 3 additions & 1 deletion receptivo.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ knitr::opts_chunk$set(echo = FALSE, message = F)
receptivo_data <- readRDS("outputs/graph_receptivo.rds")
```

## Visitantes No Residentes por Paso
La datos por provincia no reflejan la estimación del turismo receptivo de cada provincia, sino sólo los viajes de turistas contabilizados en los pasos fronterizos de la misma.

## Viajes de Visitantes No Residentes por Paso

```{r}
receptivo_data
Expand Down
5 changes: 3 additions & 2 deletions scripts/receptivo.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ library(plotly)
library(crosstalk)
library(DT)
library(d4t4tur)
library(lubridate)

visitantes_dnm <- read_rds("/srv/DataDNMYE/turismo_internacional/turismo_internacional_visitantes.rds")

Expand Down Expand Up @@ -59,7 +60,7 @@ dt_rec <- datatable(data_rec, extensions = 'Buttons',
gg_rec <- ggplot(data_rec) +
geom_line(aes(anio, visitantes, color = paso_publ)) +
geom_point(aes(anio, visitantes, color = paso_publ,
text = paste0(paso_publ,": ", visitantes, " visitantes"))) +
text = paste0(paso_publ,": ", visitantes, " viajes de visitantes"))) +
scale_color_dnmye() +
theme_minimal() +
theme(legend.position = "none",
Expand All @@ -77,7 +78,7 @@ graph_receptivo <- withr::with_options(
htmltools::br(),
ggplotly(gg_rec, dynamicTicks = TRUE, tooltip = "text") %>%
layout(xaxis=list(type='category')) %>%
layout(title = 'Evolución del volumen de visitantes por paso internacional'))
layout(title = 'Evolución del volumen de viajes de visitantes por paso internacional'))
)

write_rds(graph_receptivo, "outputs/graph_receptivo.rds")

0 comments on commit 61a1d95

Please sign in to comment.