Package: faperu
Title: Access and Analysis of Peruvian Survey and Census Data
Version: 0.4.3
Authors@R: c(
person("Fred", "Torres Cruz", role = "aut",
comment = c(ORCID = "0000-0003-0834-6834")),
person("Richar Andre", "Vilca Solorzano", email = "andrevilcasolorzano@gmail.com",
role = c("aut", "cre"), comment = c(ORCID = "0009-0003-2385-5263"))
)
Description: Downloads, reads and analyses ten official statistical
sources of Peru from a single catalog: the National Household
Survey (ENAHO), the Demographic and Family Health Survey
(ENDES), the National Agricultural Survey (ENA), the Permanent
National Employment Survey (EPEN), the National Survey of
Budget Programmes (ENAPRES), the National Time Use Survey
(ENUT), the National Survey on Social Relations (ENARES) and
the Annual Economic Survey, all from the National Institute of
Statistics and Informatics (INEI)
, together with the
School Census of the Ministry of Education (MINEDU) and the
2017 National Censuses. Files are cached and verified with
SHA-256, only the requested columns are read, and district
codes are harmonised to the 2017 census frame. Survey designs
follow INEI's technical documentation and are passed to the
'survey' package (Lumley, 2004 ),
giving means, proportions and totals with standard errors,
confidence intervals and INEI's coefficient-of-variation
quality bands. Seven ready indicators reproduce INEI's
published figures, and estimates from different surveys can be
linked by department or district and shown as tables or maps.
The package is independent of INEI and MINEDU.
License: MIT + file LICENSE
Encoding: UTF-8
Language: en-GB
Depends: R (>= 4.1)
Imports: curl (>= 5.0.0), digest, foreign, graphics, haven (>= 2.4.0),
stats, survey, tidyselect (>= 1.1.0), tools, utils, yaml
Suggests: data.table, ggplot2, grDevices, grid, knitr, redatamx,
rmarkdown, sf, testthat (>= 3.0.0), withr
VignetteBuilder: knitr
Config/testthat/edition: 3
URL: https://faperu.ftorres.org/, https://faperu.ftorres.org/docs/,
https://github.com/Andre031222/peru-official-surveys-r
BugReports: https://github.com/Andre031222/peru-official-surveys-r/issues
Roxygen: list(markdown = TRUE)
Config/roxygen2/version: 8.0.0
Config/pak/sysreqs: make libssl-dev libx11-dev zlib1g-dev
Repository: https://andre031222.r-universe.dev
Date/Publication: 2026-11-27 18:43:41 UTC
RemoteUrl: https://github.com/Andre031222/peru-official-surveys-r
RemoteRef: main
RemoteSha: 9c851809272ff8d11c625ee41f697a531c1f76e7
NeedsCompilation: no
Packaged: 2026-11-27 19:39:41 UTC; root
Author: Fred Torres Cruz [aut] (ORCID: ),
Richar Andre Vilca Solorzano [aut, cre] (ORCID:
)
Maintainer: Richar Andre Vilca Solorzano