Package 'enseResp'

Title: Information on the Spanish Health Survey
Description: This package provides information in the Spanish Health Survey. It contains three samples: adults, households and kids.
Authors: Edu Gonzalo Almorox
Maintainer: Edu Gonzalo Almorox <[email protected]>
License: MIT License
Version: 0.1.0
Built: 2026-06-03 13:20:06 UTC
Source: https://github.com/rOpenSpain/enseResp

Help Index


adults_06

Description

Adult survey of the ENSE 2006/07.

Usage

adults_06

Format

A data frame with 29478 rows and 619 variables:

NIVEL
CCAA
PROV *
ESTRATO
SECCION
SECC_DC
NIDENTIF
AÑO
TRIM *
NORDEN
EDAD
SEXO
P3_3
P3_4
P3_5
P4
P5_0_1
P5_0_2
P5_2
P5_3
P5_4
A1
A2
A3_1
A3_2
A4_1
A4_2
A5
A6_1
A6_2
A7_1
A7_2
A8
A9_1
A9_2
A10_1
A10_2
A11_1
A11_2
A12_1
A12_2
A13
B14
B15_1A
B15_1B
B15_1C
B15_1D
B15_2A
B15_2B
B15_2C
B15_2D
B15_3A
B15_3B
B15_3C
B15_3D
B15_4A
B15_4B
B15_4C
B15_4D
B15_5A
B15_5B
B15_5C
B15_5D
B15_6A
B15_6B
B15_6C
B15_6D
B15_7A
B15_7B
B15_7C
B15_7D
B15_8A
B15_8B
B15_8C
B15_8D
B15_9A
B15_9B
B15_9C
B15_9D
B15_10A
B15_10B
B15_10C
B15_10D
B15_11A
B15_11B
B15_11C
B15_11D
B15_12A
B15_12B
B15_12C
B15_12D
B15_13A
B15_13B
B15_13C
B15_13D
B15_14A
B15_14B
B15_14C
B15_14D
B15_15A
B15_15B
B15_15C
B15_15D
B15_16A
B15_16B
B15_16C
B15_16D
B15_17A
B15_17B
B15_17C
B15_17D
B15_18A
B15_18B
B15_18C
B15_18D
B15_19A
B15_19B
B15_19C
B15_19D
B15_20A
B15_20B
B15_20C
B15_20D
B15_21A
B15_21B
B15_21C
B15_21D
B15_22A
B15_22B
B15_22C
B15_22D
B15_23A
B15_23B
B15_23C
B15_23D
B15_24A
B15_24B
B15_24C
B15_24D
B15_25A
B15_25B
B15_25C
B15_25D
B15_26A
B15_26B
B15_26C
B15_26D
B15_27A
B15_27B
B15_27C
B15_27D
B15_28A
B15_28LI
B15_28B
B15_28C
B15_28D
B15_29A
B15_29LI
B15_29B
B15_29C
B15_29D
B16
C17
C18_1A
C18_1B
C18_2A
C18_2B
C18_3A
C18_3B
C18_4A
C18_4B
C18_5A
C18_5B
C18_6A
C18_6B
C18_7A
C18_7B
C18_8A
C18_8B
C19
C20
C21_1
C21_2
C21_3
C21_4
C21_5
D22_1
D22_2
D23_1
D23_2
D24_1A
D24_1B
D24_2A
D24_2B
D24_3A
D24_3B
D24_4A
D24_4B
D24_5A
D24_5B
D24_6A
D24_6B
D24_7A
D24_7B
D24_8A
D24_8B
D24_9A
D24_9B
D24_10A
D24_10B
D24_11A
D24_11B
D24_12A
D24_12B
D24_13A
D24_13B
D24_14A
D24_14B
D24_15A
D24_15B
D24_16A
D24_16B
D24_17A
D24_17B
D24_18A
D24_18B
D24_19A
D24_19B
E25_1A
E25_1B
E25_2A
E25_2B
E25_3A
E25_3B
E25_4A
E25_4B
E25_5A
E25_5B
E25_6A
E25_6B
E25_7A
E25_7B
E25_8A
E25_8B
E25_9A
E25_9B
E25_10A
E25_10B
E25_11A
E25_11B
E25_12A
E25_12B
E25_13A
E25_13B
E25_14A
E25_14B
E25_15A
E25_15B
E25_16A
E25_16B
E25_17A
E25_17B
E25_18A
E25_18B
E25_19A
E25_19B
E25_20A
E25_20B
E25_21A
E25_22A
F26_1
F26_2
F26_3
F26_4
F26_5
F26_6
F26_7
F26_8
F26_9
F26_10
F26_11
F26_12
F27_0
F27
F28
G1_29_1
G1_29_2
G1_29_3
G1_30
G1_31
G1_32
G1_33
G1_34
G1_35_1
G1_35_2
G1_35_3
G1_36_1
G1_36_2
G1_36_3
G1_37
G1_38
G1_39_1A
G1_39_1B
G1_39_1C
G1_39_2A
G1_39_2B
G1_39_2C
G1_39_3A
G1_39_3B
G1_39_3C
G1_39_4A
G1_39_4B
G1_39_4C
G1_39_5A
G1_39_5B
G1_39_5C
G1_39_6A
G1_39_6B
G1_39_6C
G1_40_1A
G1_40_1B
G1_40_2A
G1_40_2B
G1_40_3A
G1_40_3B
G2_41
G2_42
G3_43_1
G3_43_2
G3_43_3
G3_43_4
G3_43_5
G3_43_6
G3_43_7
G3_43_8
G4_44_1
G4_44_2
G4_44_3
G4_44_4
G4_45_1
G4_45_2
G4_45_3
G4_45_4
G4_45_5
G4_45_6
G4_45_7
G4_45_8
G4_45_9
G4_46
G4_47_1
G4_47_2
G4_47_3
G4_47_4
G4_47_5
G4_47_6
G4_47_7
G4_47_8
G5_48
G5_49
G5_50
G5_51
G5_52
G5_53
G5_54
G5_55
G5_56
G5_57
G5_58
G5_59
G6_60
G6_61
G6_62_1
G6_62_2
G6_62_3
G6_63_1
G6_63_2
G6_63_3
G6_64_1
G6_64_2
G6_65
G6_66
H1_67
H1_68_1
H1_68_2
H1_68_3
H1_69
H1_70
H1_71
H1_72_1
H1_72_2
H1_72_3
H1_73
H1_74
H1_75
H1_76_1
H1_76_2
H1_77_1
H1_77_2
H1_77_3
H1_77_4
H1_77_5
H1_77_6
H1_77_7
H1_77LIT
H1_78_1
H1_78_2
H1_78_3
H1_79_1
H1_79_2
H1_80_1
H1_80_2
H2_81
H2_82
H2_83
H2_84_1A
H2_84_1B
H2_84_1C
H2_84_2A
H2_84_2B
H2_84_2C
H2_84_3A
H2_84_3B
H2_84_3C
H2_84_4A
H2_84_4B
H2_84_4C
H2_84_5A
H2_84_5B
H2_84_5C
H2_84_6A
H2_84_6B
H2_84_6C
H2_85_1
H2_85_2
H2_85_3
H2_85_4
H2_85_5
H2_85_6
H2_86
H3_87
H3_88
H3_89_1
H3_89_2
H3_89_3
H3_90
H3_91
H3_92
H3_93
H3_94_1
H3_94_2
H3_94_3
H4_95_1
H4_95_2
H4_95_3
H4_95_4
H4_95_5
H4_95_6
H4_96_1
H4_96_2
H4_96_3
H4_96_4
H4_96_5
H4_96_6
H4_96_7
H4_96_8
H4_96_9
H4_96_10
H4_96_11
H4_96_12
H4_97
H4_98
I1_99
I1_100
I1_101
I1_102
I1_103
I1_104
I2_105
I3_106_0
I3_106
I3_107
I3_108
I3_109
I3_110
I3_111
I3_112_1
I3_112_2
I3_112_3
I3_112_4
I3_112_5
I3_112_6
I3_112_7
I3_112_8
I3_113
I3_114
I3_115
I3_116
I3_117
I4_118_1
I4_118_2
I4_119_1
I4_119_2
I4_120_1
I4_120_2
I4_121_1
I4_121_2
J122_0
J122
J123_0
J123
J124
J125_1
J125_2
J125_3
J125_4
J125_5
J126
J127_1A
J127_1B
J127_1C
J127_1D
J127_1E
J127_1F
J127_2A
J127_2B
J127_2C
J127_2D
J127_2E
J127_2F
J127_3A
J127_3B
J127_3C
J127_3D
J127_3E
J127_3F
J127_4A
J127_4B
J127_4C
J127_4D
J127_4E
J127_4F
J127_5A
J127_5B
J127_5C
J127_5D
J127_5E
J127_5F
J127_6A
J127_6B
J127_6C
J127_6D
J127_6E
J127_6F
L1_128
L1_129
L1_130
L2_131
L2_132
L2_133
L2_134
M135_1
M135_2
M135_3
M135_4
M135_5
M135_6
M135_7
M135_8
M135_9
M135_10
M135_11
M136_1
M136_2
M136_3
M136_4
M136_5
N137
N138
N139
N140_1
N140_2
N140_3
N140_4
N140_5
N140_6
N140_7
N140_8
N140_9
N140_10
N140_11
N140_12
N140_13
N140_14
N140_15
N140_16
N140_17
N140_18
N140_19
N140_20
N140_21
N140_22
N140_23
N140_24
N140_25
N140_26
N140_27
FACTOR
TMUNI
SPCLASE
ASCLASE
ASRELACTI
ASSITUPRO
ASSALMENT
ASDEPFUN1
ASDEPFUN2
ASDEPFUN3
ASAPSOCIAL
ASFUNFAMI
ASIMC

adults_06_info

Description

Design of the survey. Variable characteristics of adult survey ENSE 2006/07.

Usage

adults_06_info

Format

A data frame with 619 rows and 6 variables:

campo

variable name

longitud

field length

posicion_inicio

start position in fixed-width file

posicion_final

end position in fixed-width file

descripcion_del_campo

variable description

valores_validos

valid values for the variable


adults_06_labels

Description

Value labels for the adult survey ENSE 2006/07.

Usage

adults_06_labels

Format

A data frame with 2328 rows and 2 variables:

variable_ine

variable name

valores_ine

coded value


adults_12

Description

Adult survey of the ENSE 2011/12.

Usage

adults_12

Format

A data frame with 21007 rows and 577 variables:

CCAA
IDENTHOGAR
ESTRATO
A7_2a
SEXOa
EDADa
PROXY_0
PROXY_1
PROXY_2
PROXY_2b
PROXY_3a
PROXY_4
PROXY_5
E1_1
PAISEXT
E2_1a
E2_1b
E2_1c
E2_1d
NACEXT
E3
E4
F5
F6
F7_2
F8_2
F9
F10
F11
F12
F13a
F13m
F14
F15
F16a_2
F16m_2
F17a_2
F17m_2
F18
G19
G20
G21a_1
G21b_1
G21c_1
G21a_2
G21b_2
G21c_2
G21a_3
G21b_3
G21c_3
G21a_4
G21b_4
G21c_4
G21a_5
G21b_5
G21c_5
G21a_6
G21b_6
G21c_6
G21a_7
G21b_7
G21c_7
G21a_8
G21b_8
G21c_8
G21a_9
G21b_9
G21c_9
G21a_10
G21b_10
G21c_10
G21a_11
G21b_11
G21c_11
G21a_12
G21b_12
G21c_12
G21a_13
G21b_13
G21c_13
G21a_14
G21b_14
G21c_14
G21a_15
G21b_15
G21c_15
G21a_16
G21b_16
G21c_16
G21a_17
G21b_17
G21c_17
G21a_18
G21b_18
G21c_18
G21a_19
G21b_19
G21c_19
G21a_20
G21b_20
G21c_20
G21a_21
G21b_21
G21c_21
G21a_22
G21b_22
G21c_22
G21a_23
G21b_23
G21c_23
G21a_24
G21b_24
G21c_24
G21a_25
G21b_25
G21c_25
G21a_26
G21b_26
G21c_26
G21a_27
G21b_27
G21c_27
G21a_28
G21b_28
G21c_28
G21a_29
G21b_29
G21c_29
G21a_30
G21b_30
G21c_30
G21_31
G21_31_1b
G21_31_1c
G21_31_2b
G21_31_2c
G21_31_3b
G21_31_3c
H22
H23
H24
H25_1
H25_2
H25_3
H25_4
H25_5
H25_6
H25_7
H25_8
I26.1
I26.2
I26.3
I26.4
I26.5
I26.6
J27_1
J27_2
J28_1
J28_2
K29
K30
K31_1
K31_2
K31_3
K31_4
K31_5
K31_6
K31_7
K31_8
K31_9
K31_10
K31_11
K31_12
K31_13
K31_14
K31_15
K31_16
K31_17
K31_18
K31_19
K31_20
K31_21
K31_22
K31_23
K31_24
K31_25
K31_26
K31_27
L32
L33
L34
L35
L36
L37
L38
L39
M40_1
M40_2
M40_3
M40_4
M40_5
M40_6
M40_7
M40_8
M40_9
M40_10
M40_11
M40_12
M41
M42
N43_1
N43_2
N43_3
N44_1
N44_2
N45_1
N45_2
N46
N47
N48
N49_1
N49_2
N49_3
N50_1
N50_2
N50_3
N51
N52_1
N52_2
N52_3
N52_4
N52_5
N53_1
N53_2
N53_3
N53_4
N54_1
N54_2
N54_3
N54_4
N55_1
N55_2
N55_3
N55_4
N55_5
N56_1
N56_2
N57_1
N57_2
N57_3
N57_4
N57_5
N57_6
N57_7
N57_8
N57_9
N57_10
N58
N59_1
N59_2
N59_3
N59_4
N59_5
N59_6
N59_7
N59_8
O60
O61
O62
O63
O64
O65
O66
O67
O68
O69
O70
O71
O72
O73_1
O73_2
O73_3
O74_1
O74_2
O74_3
O75_1
O75_2
O76
O77
O78
O79
O80_1
O80_2
O80_3
O80_4
O80_5
O80_6
O80_7
O80_8
O80_9
P81_a
P81_b
P82_1a
P82_1b
P82_2a
P82_2b
P82_3a
P82_3b
P82_4a
P82_4b
P82_5a
P82_5b
P82_6a
P82_6b
P82_7a
P82_7b
P82_8a
P82_8b
P82_9a
P82_9b
P82_10a
P82_10b
P82_11a
P82_11b
P82_12a
P82_12b
P82_13a
P82_13b
P82_14a
P82_14b
P82_15a
P82_15b
P82_16a
P82_16b
P82_17a
P82_17b
P82_18a
P82_18b
P82_19a
P82_19b
P82_20a
P82_20b
P82_21a
P82_21b
P83_1
P83_2
Q84
Q85
Q86
Q87
Q88
Q89
Q90
Q91
Q92
Q93
Q94
Q95
Q96
Q97
Q98
Q99
Q100
Q101
R102
R103
R104
S105
S106a_1
S106a_2
S106a_3
S106b_1
S106b_2
S106b_3
S107
S108
S109
S110
S111
S112_1
S112_2
S113_1
S113_2
S113_3
S113_4
S113_5
S113a_6
S113_7
S113_8
S114
S115_1
S115_2
S115_3
S115_4
S115_5
S115_6
S115_7
S115_8
S116a_1
S116a_2
S116a_3
S116b_1
S116b_2
S116b_3
S117
S118
S119
T120
T121
T122
T123
T124Cer
T124Cer_1
T124Cer_2
T124Cer_3
T124Cer_4
T124Cer_5
T124Cer_6
T124Cer_7
T124Vin
T124Vin_1
T124Vin_2
T124Vin_3
T124Vin_4
T124Vin_5
T124Vin_6
T124Vin_7
T124Vermut
T124Vermut_1
T124Vermut_2
T124Vermut_3
T124Vermut_4
T124Vermut_5
T124Vermut_6
T124Vermut_7
T124Lic
T124Lic_1
T124Lic_2
T124Lic_3
T124Lic_4
T124Lic_5
T124Lic_6
T124Lic_7
T124Comb
T124Comb_1
T124Comb_2
T124Comb_3
T124Comb_4
T124Comb_5
T124Comb_6
T124Comb_7
T124Sidra
T124Sidra_1
T124Sidra_2
T124Sidra_3
T124Sidra_4
T124Sidra_5
T124Sidra_6
T124Sidra_7
T125
T126a
T126b
U127
U128
U129
U130_1
U130_2a
U130_2b
U130_3
U130_4a
U130_4b
U130_5
U130_6a
U130_6b
U130_7a
U130_7b
V131
V132_1
V132_2
V132_3
V132_4
V132_5
V132_6
V132_7
V133_1
V133_1a
V133_2
V133_3
V133_4
V133_5
V133_6
V133_7
V133_7a
V133_8
V133_9
V133_10
V133_11
V133_12
V133_13
V133_14
V133_15
V133_15a
V134
V135
V136
W137
W138_1
W138_2
W138_3
W138_4
W138_5
Y139_1
Y139_2
Y139_3
Y139_4
Y139_5
Y139_6
Y139_7
Y139_8
Y139_9
Y139_10
Y139_11
Z140
Z140_a1
Z140_a2
Z140_a3
Z140_a4
Z140_a5
Z140_a6
Z140_a7
Z140_a8
Z140_a9
Z140_a10
Z140_a11
Z140_a12
Z140_a13
Z140_a14
Z140_a15
Z140_m1
Z140_m2
Z140_m3
Z140_m4
Z140_m5
Z140_m6
Z140_m7
Z140_m8
Z140_m9
Z140_m10
Z140_m11
Z140_m12
Z140_m13
Z140_m14
Z140_m15
Z141
Z141_1
Z141_2
Z142
Z142_1
Z143_1
Z143_2
Z144
Z144_1
Z144_2
Z145
Z145_1
Z145_2
FACTORADULTO
CLASE_PR
IMCa
DEPFUNC1
DEPFUNC2
DEPFUNC3
SALUDMENTAL
APSOCIAL
CMD1
CMD2
CMD3

adults_12_info

Description

Design of the survey. Variable characteristics of adult survey ENSE 2011/12.

Usage

adults_12_info

Format

A data frame with 577 rows and 6 variables:

campo

variable name

longitud

field length

posicion_inicio

start position in fixed-width file

posicion_final

end position in fixed-width file

descripcion_del_campo

variable description

tipo_variable

thematic category of the variable


DATASET_TITLE

Description

DATASET_DESCRIPTION

Usage

adults_12_labels

Format

A data frame with 2714 rows and 3 variables:

valores_ine

character COLUMN_DESCRIPTION

valores

character COLUMN_DESCRIPTION

variable_ine

character COLUMN_DESCRIPTION

Details

DETAILS


adults_19

Description

Adult survey of the ENSE 2017/19.

Usage

adults_19

Format

A data frame with 23089 rows and 455 variables:

CCAA
IDENTHOGAR
A7_2a
SEXOa
EDADa
ACTIVa
PROXY_0
PROXY_1
PROXY_2
PROXY_2b
PROXY_3b
PROXY_4
PROXY_5
E1_1
E2_1a
E2_1b
E2_1c
E2_1d
E3
E4
E4b
NIVEST
F6
F7
F8_2
F9_2
F10
F11
F12
F13
F14a
F14b
F15
F16
F17
F18a_2
F18b_2
F19a_2
F19b_2
F20
G21
G22
G23
G24
G25a_1
G25b_1
G25c_1
G25a_2
G25b_2
G25c_2
G25a_3
G25b_3
G25c_3
G25a_4
G25b_4
G25c_4
G25a_5
G25b_5
G25c_5
G25a_6
G25b_6
G25c_6
G25a_7
G25b_7
G25c_7
G25a_8
G25b_8
G25c_8
G25a_9
G25b_9
G25c_9
G25a_10
G25b_10
G25c_10
G25a_11
G25b_11
G25c_11
G25a_12
G25b_12
G25c_12
G25a_13
G25b_13
G25c_13
G25a_14
G25b_14
G25c_14
G25a_15
G25b_15
G25c_15
G25a_16
G25b_16
G25c_16
G25a_17
G25b_17
G25c_17
G25a_18
G25b_18
G25c_18
G25a_19
G25b_19
G25c_19
G25a_20
G25b_20
G25c_20
G25a_21
G25b_21
G25c_21
G25a_22
G25b_22
G25c_22
G25a_23
G25b_23
G25c_23
G25a_24
G25b_24
G25c_24
G25a_25
G25b_25
G25c_25
G25a_26
G25b_26
G25c_26
G25a_27
G25b_27
G25c_27
G25a_28
G25b_28
G25c_28
G25a_29
G25b_29
G25c_29
G25a_30
G25b_30
G25c_30
G25a_31
G25b_31
G25c_31
G25a_32
G25b_32
G25c_32
H26_1
H26_2
H26_3
H27
I28_1
I28_2
I29_1
I29_2
K32
K33
K34
K35
K36
K37
K38
K38a
L39_1
L39_2
L39_3
L39_4
L39_5
L40
L41
L42_1
L42_2
L42_3
L42_4
L42_5
L42_6
L42_7
L43
L44
L45
L46
M47_1
M47_2
M47_3
M47_4
M47_5
M47_6
M47_7
M47_8
M47_9
M47_10
M47_11
M47_12
M47a
M47b
N48
N49
N50
N51
N52
N53
N54
N55_1
N55_2
N55_3
N56_1
N56_2
N56_3
N57
N58_1
N58_2
N58_3
N59
N60_1
N60_2
N60_3
N60_4
N60a_1
N60a_2
N60a_3
N60a_4
N61_1
N61_2
N61_3
N61_4
N61_5
N62
N62b
N63_1
N63_2
N63_3
N63_4
N63_5
N63_6
N63_7
N63_8
N63_9
N63_10
N64
N65_1
N65_2
N65_3
N65_4
N65_5
N65_6
N65_7
N65_8
O66
O67
O69
O70
O71
O72
O73
O74
O75
O76
O77
O78
O79
O80_1
O80_2
O80_3
O81_1
O81_2
O81_3
O82_1
O82_2
O83
O84_1
O84_2
O84_3
O84_4
O84_5
O84_6
O84_7
O84_8
O84_9
P85
P86
P87_1a
P87_1b
P87_2a
P87_2b
P87_3a
P87_3b
P87_4a
P87_4b
P87_5a
P87_5b
P87_6a
P87_6b
P87_7a
P87_7b
P87_8a
P87_8b
P87_9a
P87_9b
P87_10a
P87_10b
P87_11a
P87_11b
P87_12a
P87_12b
P87_13a
P87_13b
P87_14a
P87_14b
P87_15a
P87_15b
P87_16a
P87_16b
P87_17a
P87_17b
P87_18a
P87_18b
P87_19a
P87_19b
P87_20a
P87_20b
P87_21a
P87_21b
P87_22a
P87_22b
P87_23a
P87_23b
Q88
Q89
Q90
Q91
Q92
Q93
Q94
Q95
Q96
Q97
Q98
Q99
Q100
Q101
Q102
Q103
Q104
Q105
R106
R107
R108_1
R108_2
R108_3
R108_4
S109
S110
T111
T112
T113
T114_1
T114_2
T115
T116_1
T116_2
T117
T118_1
T118_2
T119_1
T119_2
U120_1
U120_1a
U120_2
U120_3
U120_4
U120_5
U120_6
U120_7
U120_7a
U120_8
U120_9
U120_10
U120_11
U120_12
U120_13
U120_14
U120_15
U120_15a
U120FZ
U120CANTFZ
U2_120F
V121
V122
V123
V124
V125
V126
W127
W128Cer
W128Cer_1
W128Cer_2
W128Cer_3
W128Cer_4
W128Cer_5
W128Cer_6
W128Cer_7
W128Vin
W128Vin_1
W128Vin_2
W128Vin_3
W128Vin_4
W128Vin_5
W128Vin_6
W128Vin_7
W128Vermut
W128Vermut_1
W128Vermut_2
W128Vermut_3
W128Vermut_4
W128Vermut_5
W128Vermut_6
W128Vermut_7
W128Lic
W128Lic_1
W128Lic_2
W128Lic_3
W128Lic_4
W128Lic_5
W128Lic_6
W128Lic_7
W128Comb
W128Comb_1
W128Comb_2
W128Comb_3
W128Comb_4
W128Comb_5
W128Comb_6
W128Comb_7
W128Sidra
W128Sidra_1
W128Sidra_2
W128Sidra_3
W128Sidra_4
W128Sidra_5
W128Sidra_6
W128Sidra_7
W129
X130_1
X130_2
X130_3
X130_4
X130_5
X130_6
X130_7
X130_8
X130_9
X130_10
X130_11
Y133
Y134
Y135
FACTORADULTO
CLASE_PR
IMCa
CMD1
CMD2
CMD3

adults_19_info

Description

Design of the survey. Variable characteristics of adult survey ENSE 2017/19.

Usage

adults_19_info

Format

A data frame with 455 rows and 6 variables:

variable_ine

variable name

longitud

field length

posicion_inicio

start position in fixed-width file

posicion_final

end position in fixed-width file

descripcion_del_campo

variable description

tipo_variable

thematic category of the variable


adults_19_labels

Description

Provides labels to the values of the adults survey. ENSE 17/19

Usage

adults_19_labels

Format

A data frame with 2305 rows and 3 variables:

valores_ine

values of the variable

valores

labels

variable_ine

name of the variable

Details

DETAILS


children_06

Description

Children survey of the ENSE 2006/07.

Usage

children_06

Format

A data frame with 9122 rows and 350 variables:

NIVEL
CCAA
PROV
ESTRATO
SECCION
SECC_DC
NIDENTIF
AÑO
TRIM
NORDEN
EDAD
EDADMES
SEXO
P3_3
P3_4
P3_5
P4_1
P4_0_1
P4_0_2
P4_3
P4_4
A1
A2_1A
A2_1B
A2_1C
A2_1D
A2_2A
A2_2B
A2_2C
A2_2D
A2_3A
A2_3B
A2_3C
A2_3D
A2_4A
A2_4B
A2_4C
A2_4D
A2_5A
A2_5B
A2_5C
A2_5D
A2_6A
A2_6B
A2_6C
A2_6D
A2_7A
A2_7B
A2_7C
A2_7D
A2_8A
A2_8LIT
A2_8B
A2_8C
A2_8D
A2_9A
A2_9LIT
A2_9B
A2_9C
A2_9D
A3
B4
B5_1A
B5_1B
B5_2A
B5_2B
B5_3A
B5_3B
B5_4A
B5_4B
B5_5A
B5_5B
B5_6A
B5_6B
B5_7A
B5_7B
B5_8A
B5_8B
B6
B7
B8_1
B8_2
B8_3
B8_4
B8_5
B9
B10
C11_1
C11_2
C12_1
C12_2
C13_1A
C13_1B
C13_2A
C13_2B
C13_3A
C13_3B
C13_4A
C13_4B
C13_5A
C13_5B
C13_6A
C13_6B
C13_7A
C13_7B
C13_8A
C13_8B
C13_9A
C13_9B
C13_10A
C13_10B
C13_11A
C13_11B
C13_12A
C13_12B
C13_13A
C13_13B
C13_14A
C13_14B
D14_1A
D14_1B
D14_2A
D14_2B
D14_3A
D14_3B
D14_4A
D14_4B
D14_5A
D14_5B
D14_6A
D14_6B
D14_7A
D14_7B
D14_8A
D14_8B
D14_9A
D14_9B
D14_10A
D14_10B
D14_11A
D14_11B
D14_12A
D14_12B
D14_13A
D14_13B
D14_14A
D14_15A
E15_0
E15_1
E15_2
E15_3
E15_4
E15_5
E15_6
E15_7
E15_8
E15_9
E15_10
E15_11
E15_12
E15_13
E15_14
E15_15
E15_16
E15_17
E15_18
E15_19
E15_20
E15_21
E15_22
E15_23
E15_24
E15_25
F1_16_1
F1_16_2
F1_16_3
F1_17
F1_18
F1_19
F1_20
F1_21
F1_22_1
F1_22_2
F1_22_3
F1_23_1
F1_23_2
F1_23_3
F1_24
F1_25
F1_26_1A
F1_26_1B
F1_26_1C
F1_26_2A
F1_26_2B
F1_26_2C
F1_26_3A
F1_26_3B
F1_26_3C
F1_26_4A
F1_26_4B
F1_26_4C
F1_26_5A
F1_26_5B
F1_26_5C
F1_26_6A
F1_26_6B
F1_26_6C
F1_27_1A
F1_27_1B
F1_27_2A
F1_27_2B
F2_28
F2_29
F3_30_1
F3_30_2
F3_30_3
F3_30_4
F3_30_5
F3_30_6
F3_30_7
F3_30_8
F4_31_1
F4_31_2
F4_31_3
F4_31_4
F4_32_1
F4_32_2
F4_32_3
F4_32_4
F4_32_5
F4_32_6
F4_32_7
F4_32_8
F4_32_9
F4_33
F4_34
F4_35
F4_36_1
F4_36_2
F4_36_3
F4_36_4
F4_36_5
F5_37
F5_38
F5_39
F5_40
F5_41
F5_42
F5_43
F5_44
F5_45
F5_46
F5_47
F5_48
F6_49
F6_50
F6_51_1
F6_51_2
F6_51_3
F6_52_1
F6_52_2
F6_52_3
F6_53_1
F6_53_2
F6_54
F6_55
G1_56
G1_57
G1_58_0
G1_58
G1_59_1A
G1_59_1B
G1_59_2A
G1_59_2B
G1_60
G1_61_1A
G1_61_1B
G1_61_2A
G1_61_2B
G1_62_0
G2_63
G2_64_1
G2_64_2
G2_65
G2_66_1
G2_66_2
G2_67
G2_68_1
G2_68_2
G1_69
G2_70_1
G2_70_2
G2_70_3
G2_70_4
G2_70_5
G2_70_6
G2_71_1
G2_71_2
G2_71_3
G2_71_4
G2_71_5
G2_71_6
G2_71_7
G2_71_8
G2_71_9
G2_71_10
G2_71_11
G2_71_12
G2_71_13
G2_71_14
G2_72
G2_73
H74_0
H75
H76
H77_1
H77_2
H78
H79
I80
I81_1A
I81_1B
I81_1C
I81_1D
I81_1E
I81_2A
I81_2B
I81_2C
I81_2D
I81_2E
I81_3A
I81_3B
I81_3C
I81_3D
I81_3E
K93
K94
K95
K96
K97
FACTOR
TMUNI
SPCLASE
MSCALVIDA
MSSALMENT1
MSSALMENT2
MSSALMENT3
MSSALMENT4
MSSALMENT5
MSIMC

children_06_info

Description

Design of the survey. Variable characteristics of children survey. ENSE 2006/07

Usage

children_06_info

Format

A data frame with 350 rows and 7 variables:

campo

Name of the variable

longitud

Length of the variable. Number of possible characters it may take.

posicion_inicio

Initial position in the text file. Information for parsing microdata

posicion_final

Final position in the text file. Information for parsing microdata

descripcion_del_campo

Description of the variable (in Spanish)

valores_validos

Possible values the variable may take

tipo_variable

Type of variable. Only applicable to some surveys

Details

DETAILS


children_06_labels

Description

Provides labels to the values of the children survey. ENSE 2006/07

Usage

children_06_labels

Format

A data frame with 1306 rows and 2 variables:

variable_ine

Name of the variable

valores_ine

Values and labels of the variable

Details

DETAILS


children_12

Description

Variables of children survey ENSE 2011/12

Usage

children_12

Format

A data frame with 5495 rows and 271 variables:

CCAA
IDENTHOGAR
ESTRATO
A7_2m
SEXOm
EDADm
Informante_1
Informante_1a
Informante_3
Informante_4
Informante_5
A1_1
PAISEXT
A2_1a
A2_1b
A2_1c
A2_1d
NACEXT
A3
B4
B5_1a
B5_1b
B5_1c
B5_2a
B5_2b
B5_2c
B5_3a
B5_3b
B5_3c
B5_4a
B5_4b
B5_4c
B5_5a
B5_5b
B5_5c
B5_6a
B5_6b
B5_6c
B5_7a
B5_7b
B5_7c
B5_8a
B5_8b
B5_8c
B5_9
B5_9_1b
B5_9_1c
B5_9_2b
B5_9_2c
B5_9_3b
B5_9_3c
B6
B7
C8
C9
C10
C11_1
C11_2
C11_3
C11_4
C11_5
C11_6
C11_7
C11_8
D12_1
D12_2
D13_1
D13_2
MCALVIDA
F15_1
F15_2
F15_3
F15_4
F15_5
F15_6
F15_7
F15_8
F15_9
F15_10
F15_11
F15_12
F15_13
F15_14
F15_15
F15_16
F15_17
F15_18
F15_19
F15_20
F15_21
F15_22
F15_23
F15_24
F15_25
G16_1
G16_2
G16_3
G17_1
G17_2
G18_1
G18_2
G19
G20
G21
G22_1
G22_2
G22_3
G23_1
G23_2
G23_3
G24
G25_1
G25_2
G25_3
G25_4
G25_5
G26_1
G26_2
G26_3
G26_4
G27_1
G27_2
G27_3
G27_4
G28_1
G28_2
G29_1
G29_2
G29_3
G29_4
G29_5
G29_6
G29_7
G29_8
G29_9
G30
G31
G32_1
G32_2
G32_3
G32_4
G32_5
H33
H34
H35
H36
H37
H38
H39
H40
H41
H42
H43
H44
H45
H46_1
H46_2
H46_3
H47_1
H47_2
H47_3
H48_1
H48_2
H49
H50
H51
H52
H53_1
H53_2
H53_3
H53_4
H53_5
H53_6
H53_7
H53_8
H53_9
I54
I55_1a
I55_1b
I55_2a
I55_2b
I55_3a
I55_3b
I55_4a
I55_4b
I55_5a
I55_5b
I55_6a
I55_6b
I55_7a
I55_7b
I55_8a
I55_8b
I55_9a
I55_9b
I55_10a
I55_10b
I55_11a
I55_11b
I55_12a
I55_12b
I55_13a
I55_13b
I56_1
I56_2
J57
J58
J59
K60
K61
K62_1a
K62_1b
K62_2a
K62_2b
K63_1a
K63_1b
K63_2a
K63_2b
L64
L65_1
L65_2
L66
L67_1
L67_2
L68
L69_1
L69_2
L70
L71_1
L71_2
L71_3
L71_4
L71_5
L71_6
L71_7
L72_1
L72_1a
L72_2
L72_3
L72_4
L72_5
L72_6
L72_7
L72_7a
L72_8
L72_9
L72_10
L72_11
L72_12
L72_13
L72_14
L72_15
L72_15a
L73
L74
M75
M76_1
M76_2
M76_3
M76_4
M76_5
N77
N78
FACTORMENOR
CLASE_PR
IMCm
MSALMENT1
MSALMENT2
MSALMENT3
MSALMENT4
MSALMENT5

Details

DETAILS


children_12_info

Description

Design of the survey. Variable characteristics of children survey. ENSE 2011/12

Usage

children_12_info

Format

A data frame with 271 rows and 6 variables:

campo

Name of the variable

longitud

Length of the variable. Number of possible characters it may take.

posicion_inicio

Initial position in the text file. Information for parsing microdata

posicion_final

Final position in the text file. Information for parsing microdata

descripcion_del_campo

Description of the variable (in Spanish)

tipo_variable

Possible values the variable may take

Details

DETAILS


children_12_labels

Description

Provides labels to the values of the household survey. ENSE 11/12

Usage

children_12_labels

Format

A data frame with 1289 rows and 3 variables:

valores_ine

values in survey

valores

labels of values

variable_ine

name of the variable

Details

DETAILS


children_19

Description

Variables of children survey of the ENSE 2017/19

Usage

children_19

Format

A data frame with 6106 rows and 267 variables:

CCAA
IDENTHOGAR
A7_2m
SEXOm
EDADm
Informante_1
Informante_1a
Informante_3
Informante_4
Informante_5
A1_1
A2_1a
A2_1b
A2_1c
A2_1d
A3
B4
B5_1a
B5_1b
B5_1c
B5_2a
B5_2b
B5_2c
B5_3a
B5_3b
B5_3c
B5_4a
B5_4b
B5_4c
B5_5a
B5_5b
B5_5c
B5_6a
B5_6b
B5_6c
B5_7a
B5_7b
B5_7c
B5_8a
B5_8b
B5_8c
B5_8_1a
B5_8_1b
B5_8_1c
B6
B7
C8_1
C8_2
C8_3
C8_4
C9
C11_1
C11_2
C11_3
C11_4
C11_5
C11_6
C11_7
C11_8
D12_1
D12_2
D13_1
D13_2
E14_1
E14_2
E14_3
E14_4
E14_5
E14_6
E14_7
E14_8
E14_9
F15_1
F15_2
F15_3
F15_4
F15_5
F15_6
F15_7
F15_8
F15_9
F15_10
F15_11
F15_12
F15_13
F15_14
F15_15
F15_16
F15_17
F15_18
F15_19
F15_20
F15_21
F15_22
F15_23
F15_24
F15_25
G16
G17
G18
G18b
G19
G20
G21
G22_1
G22_2
G22_3
G23_1
G23_2
G23_3
G24
G25_1
G25_2
G25_3
G25_4
G26_1
G26_2
G26_3
G26_4
G27_1
G27_2
G27_3
G27_4
G28_1
G28_2
G29_1
G29_2
G29_3
G29_4
G29_5
G29_6
G29_7
G29_8
G29_9
G30
G31
G32_1
G32_2
G32_3
G32_4
G32_5
H33
H34
H35
H36
H37
H38
H40
H41
H42
H43
H44
H45
H46_1
H46_2
H46_3
H47_1
H47_2
H47_3
H48_1
H48_2
H49
H50
H51
H52
H53_1
H53_2
H53_3
H53_4
H53_5
H53_6
H53_7
H53_8
H53_9
I54
I55_1a
I55_1b
I55_2a
I55_2b
I55_3a
I55_3b
I55_4a
I55_4b
I55_5a
I55_5b
I55_6a
I55_6b
I55_7a
I55_7b
I55_8a
I55_8b
I55_9a
I55_9b
I55_10a
I55_10b
I55_11a
I55_11b
I55_12a
I55_12b
I55_13a
I55_13b
I56_1
I56_2
J57
J58
J59
K60
K61
K62
K62b
K63
K63b
L64
L65_1
L65_2
L66
L67_1
L67_2
L68
L69_1
L69_2
L70
L71_1
L71_2
L71_3
L71_4
L71_5
L71_6
L71_7
L72_1
L72_1a
L72_2
L72_3
L72_4
L72_5
L72_6
L72_7
L72_7a
L72_8
L72_9
L72_10
L72_11
L72_12
L72_13
L72_14
L72_15
L72_15a
L72FZ
L72CANTFZ
L73
L74
M75
M76_1
M76_2
M76_3
M76_4
M76_5
N77
MCALVIDA
FACTORMENOR
IMCm
MSALMENT1
MSALMENT2
MSALMENT3
MSALMENT4
MSALMENT5
CLASE_PR

Details

DETAILS


children_19_info

Description

Design of the survey. Variable characteristics of children survey ENSE 2017/19.

Usage

children_19_info

Format

A data frame with 267 rows and 6 variables:

variable_ine

variable name

longitud

field length

posicion_inicio

start position in fixed-width file

posicion_final

end position in fixed-width file

descripcion_del_campo

variable description

tipo_variable

thematic category of the variable


children_19_labels

Description

Provides labels to the values of the children survey. ENSE 2017/19

Usage

children_19_labels

Format

A data frame with 1310 rows and 3 variables:

valores_ine

values of the variable

valores

labels

variable_ine

name of the variable

Details

DETAILS


Filter survey data by variable type

Description

Returns a subset of columns from a survey dataset that belong to a given thematic category, as defined in the accompanying *_info dataset. Identifier columns (CCAA and IDENTHOGAR) are always included when present.

Usage

get_variable(df, info, type)

Arguments

df

A data frame. One of the main survey datasets (adults_19, children_19, household_19, etc.).

info

A data frame. The corresponding *_info dataset (adults_19_info, children_19_info, etc.). Must contain columns variable_ine and tipo_variable.

type

Character string. The variable category to select. Use unique(info$tipo_variable) to list available types.

Value

A data frame with identifier columns plus all variables belonging to type.

Examples

# See available types
unique(adults_19_info$tipo_variable)

# Filter to health status variables
get_variable(adults_19, adults_19_info, "G. ESTADO DE SALUD")

house_06_labels

Description

Value labels for the household survey ENSE 2006/07.

Usage

house_06_labels

Format

A data frame with 611 rows and 2 variables:

variable_ine

variable name

valores_ine

coded value


household_06

Description

Household survey of the ENSE 2006/07.

Usage

household_06

Format

A data frame with 85044 rows and 84 variables:

NIVEL
CCAA
PROV
ESTRATO
SECCION
SECC_DC
NIDENTIF
AÑO
TRIM
NORDEN
P3_2
A9_1
A9_2
A9_A2
A9_M2
C21
C31
EDAD
SEXO
A3
A4
A5
A8
A11
A12
A13
B2
B3
B4
B5
B6
C2_1
C2_2
C2_3
C2_4
C2_5
C2_6
C2_7
C2_8
C3
C4
C5
C6
C7
C8
C9
C10
C11
C12
C13
C14
C15
C16
C17
C18
C19
D1_0_1
D1_0_2
D1
D2
D3_1
D3_2
D3_3
D3_4
D3_5
D3_6
D3_7
D3_8
E1_1
E1_2
E1_3
E1_4
E1_5
E1_6
E1_7
E1_8
E1_9
E2
E3
FACTOR
TMUNI
CADULTO
CNINO
SPCLASE

household_06_info

Description

Design of the survey. Variable characteristics of household survey ENSE 2006/07.

Usage

household_06_info

Format

A data frame with 84 rows and 7 variables:

campo

Name of the variable

longitud

Length of the variable. Number of possible characters it may take.

posicion_inicio

Initial position in the text file. Information for parsing microdata

posicion_final

Final position in the text file. Information for parsing microdata

descripcion_del_campo

Description of the variable (in Spanish)

valores_validos

Possible values the variable may take

tipo_variable

Type of variable. Only applicable to some surveys

Details

DETAILS


household_12

Description

Household survey of the ENSE 2011/12.

Usage

household_12

Format

A data frame with 55806 rows and 66 variables:

CCAA

autonomous community code

IDENTHOGAR

household identifier

ESTRATO

sampling stratum

SEXO_i

sex of the reference person

EDAD_i

age of the reference person

NORDEN_Ai

order number of the adult reference person

NORDEN_Mi

order number of the minor reference person

NADULTOS

number of adults in the household

NMENORES

number of minors in the household

A7_1_i
NORDEN_Pref
A7_2a
A7_2m
A8_1_i
A8_2_i
NORINF
A10_i
A11_1_i
A11_2_i
A11_3_i
A11_4_i
A11_5_i
A11_6_i
A11_7_i
A11_8_i
A12
B13
B14
B15_2
B16_2
B17
B18
B19a_2
B19m_2
B20a_2
B20m_2
B21a
B21m
C22
C23
C24_1
C24_2
C24_3
C24_4
C24_5
C24_6
C24_7
C24_8
C24_9
FACTORHOGAR

sampling weight for the household

CADULTO
CMENOR
CLASE_PR

socioeconomic class of the reference person

D26_1
D26_2
D26_3
D26_4
D26_5
D26_6
D26_7
D26_8
D26_9
D26_10
D26_11
D27
D28

household_12_info

Description

Design of the survey. Variable characteristics of household survey ENSE 2011/12.

Usage

household_12_info

Format

A data frame with 66 rows and 6 variables:

campo

variable name

longitud

field length

posicion_inicio

start position in fixed-width file

posicion_final

end position in fixed-width file

descripcion_del_campo

variable description

tipo_variable

thematic category of the variable


household_12_labels

Description

Value labels for the household survey ENSE 2011/12.

Usage

household_12_labels

Format

A data frame with 269 rows and 3 variables:

valores_ine

coded value

valores

label

variable_ine

variable name


household_19

Description

Variables of household survey of the ENSE 2017/19

Usage

household_19

Format

A data frame with 60143 rows and 58 variables:

CCAA
IDENTHOGAR
ESTRATO
SEXO_i
EDAD_i
NORDEN_Ai
NORDEN_Mi
NADULTOS
NMENORES
A7_1_i
NORDEN_Pref
A7_2a
A7_2m
A8_1_i
A8_2_i
NORINF
A9_otra
A10_i
A11_i
A12
B13
B14
B15_2
B16_2
B17
B18
B19a_2
B19b_2
B20a_2
B20b_2
B21a
B21b
C22
C23
C24_1
C24_2
C24_3
C24_4
C24_5
C24_6
C24_7
C24_8
C24_9
D26_1
D26_2
D26_3
D26_4
D26_5
D26_6
D26_7
D26_8
D26_9
D26_10
D26_11
D27
D29
FACTORHOGAR
CLASE_PR

Details

DETAILS


household_19_info

Description

Design of the survey. Variable characteristics of household survey ENSE 2017/19.

Usage

household_19_info

Format

A data frame with 58 rows and 6 variables:

variable_ine

variable name

longitud

field length

posicion_inicio

start position in fixed-width file

posicion_final

end position in fixed-width file

descripcion_del_campo

variable description

tipo_variable

thematic category of the variable


household_19_labels

Description

Provides labels to the values of the household survey. ENSE 17/19

Usage

household_19_labels

Format

A data frame with 312 rows and 3 variables:

valores_ine

values survey

valores

labels

variable_ine

name of the variable

Details

DETAILS


Replace coded values with labels

Description

Replace coded values with labels

Usage

label_data(df, labels, vars = NULL)

Arguments

df

A data frame.

labels

A labels data frame with columns 'valores_ine', 'valores', and 'variable_ine'.

vars

Optional character vector of variables to label.

Value

A data frame with selected variables labelled.


regional_map

Description

Polygon coordinates for Spanish autonomous communities (CCAA), suitable for choropleth mapping.

Usage

regional_map

Format

A data frame with 40111 rows and 11 variables:

long

longitude of polygon vertex

lat

latitude of polygon vertex

order

vertex order within the polygon

hole

logical; TRUE if the polygon is a hole

piece

polygon piece identifier

group

group identifier for the polygon

id

region identifier

ccaa

name of the autonomous community

id_ense

ENSE region code matching the CCAA column in survey datasets

lat_c

latitude of the region centroid

long_c

longitude of the region centroid


Search variables by description

Description

Search variables by description

Usage

search_variable(info, pattern)

Arguments

info

A variable metadata data frame.

pattern

Text pattern to search for.

Value

A data frame with matching rows.