Informe Salut 2014

Realitzat a Barcelona per l’IISPV

Taula general

## [1] "D:/Summer School Clinic DOE with R july 2016/session 3"
## [1] 73 15
Table with kable
District Suburb V1 V2 V3
Ciutat Vella El Raval 55.1 38.6 60.3
Ciutat Vella El Barri Gòtic 56.4 33.6 103.6
Ciutat Vella La Barceloneta 58.7 37.5 82.1
Ciutat Vella Sant Pere, Santa Caterina i la Ribera 56.7 39.4 91.2
Eixample El Fort Pienc 53.7 30.2 99.0
Eixample La Sagrada Família 56.3 33.5 97.5

Taula del Barri Les Corts

Table with kable
District Suburb V1 V2 V3 V4 V5 V6 V7 V8 V9 V10 V11 V12 V13
20 Les Corts La Maternitat i Sant Ramon 48.2 29.0 118.7 20.2 9.1 35.4 85.8 83.0 75.0 15.2 5.9 8.5 NA
21 Les Corts Pedralbes 51.9 23.9 243.9 10.1 4.3 35.7 86.5 80.8 78.6 6.8 2.3 5.2 NA
22 Les Corts Vallvidrera, el Tibidabo i les Planes 50.3 13.5 177.8 15.9 4.4 36.8 80.1 134.7 125.5 4.6 2.4 5.9 NA

Taula Dinamica

## Loading required package: DT
## Warning: package 'DT' was built under R version 3.2.5

Plot

Grafic

# Simple interactive scatter chart
library(plotly)
## Warning: package 'plotly' was built under R version 3.2.5
## Loading required package: ggplot2
## Warning: package 'ggplot2' was built under R version 3.2.5
## 
## Attaching package: 'plotly'
## 
## The following object is masked from 'package:ggplot2':
## 
##     last_plot
## 
## The following object is masked from 'package:graphics':
## 
##     layout
# Add some info about variables displayed


plot_ly(my.subset, 
        x = V5, y = V6, text = paste("Over-aging: ", V1, 
                                     "Income: ", V3,
                                     "Fecundity: ", V11,
                                     "Suburb: ", Suburb),
        mode="marker",
        size = V3, opacity = V3,
        group = District)

Comentaris

L’informe mostra que en aquest Barri els marcadors son els mes baixos de la ciutat.