Reads the INEI files with faperu, builds the design, restricts it to
the indicator's population and calls fa_estimate(). Where INEI
published the figure, it is returned next to the estimate.
Uso
fa_indicator(id, year, by = "national", cache = fa_cache(), level = 0.95)Argumentos
- id
Indicator id, see
fa_indicators().- year
Survey year.
- by
Domain passed to
fa_estimate():"national","area","department", ... ENA has no urban/rural split.- cache
Folder with the microdata, as in
fa_cache(). Missing files are downloaded there.- level
Confidence level.
Valor
The fa_estimate() table with the columns indicator,
survey, year, official (the published value, NA if none) and
source.
