GetMorbiData: Download and read morbidity data for several years

Description Usage Arguments Details Value Examples

View source: R/get_data.R

Description

Download morbidity data from INE ftp and parse it

Usage

1
GetMorbiData(y1 = 2005, y2 = 2015)

Arguments

year1

Begining year of morbidity data

year2

Ending year of morbidity data

Details

Uses ReadZip

Value

data frame with morbidity data prov_hosp, sexo, prov_res, diag_in, diag_ppal, motivo_alta, estancia, fecha_ingreso, edad

Examples

1
data <- GetMorbiData(y1=2010,y2=2011)

rafaelmenmell/MorbiditySpainR documentation built on May 1, 2021, 4:01 p.m.