ropensci / eph

Herramientas para procesamiento de la base usuaria de la EPH
https://ropensci.github.io/eph/
Other
58 stars 18 forks source link

get_microdata_internal() not working on v 0.6.0 #52

Closed carranzajuanp closed 12 months ago

carranzajuanp commented 12 months ago

get_microdata_internal() not working on v0.6.0

datos <- get_microdata_internal(

  • year = 2008:2022,
  • trimester = 2,
  • type = "individual",
  • vars = c("CODUSU","NRO_HOGAR","CH06","ITF","ANO4")
  • ) Error in get_microdata_internal(year = 2008:2022, trimester = 2, type = "individual", : no se pudo encontrar la función "get_microdata_internal"

sessionInfo(package = "eph") R version 4.1.2 (2021-11-01) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Pop!_OS 21.04

Matrix products: default BLAS: /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.9.0 LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.9.0

locale: [1] LC_CTYPE=es_AR.UTF-8 LC_NUMERIC=C LC_TIME=es_AR.UTF-8 LC_COLLATE=es_AR.UTF-8
[5] LC_MONETARY=es_AR.UTF-8 LC_MESSAGES=es_AR.UTF-8 LC_PAPER=es_AR.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C LC_MEASUREMENT=es_AR.UTF-8 LC_IDENTIFICATION=C

attached base packages: character(0)

other attached packages: [1] eph_0.6.0

loaded via a namespace (and not attached): [1] pillar_1.9.0 compiler_4.1.2 methods_4.1.2 utils_4.1.2 tools_4.1.2 grDevices_4.1.2 [7] lifecycle_1.0.3 tibble_3.2.1 gtable_0.3.0 pkgconfig_2.0.3 rlang_1.1.1 cli_3.6.1
[13] rstudioapi_0.14 curl_5.0.0 withr_2.5.0 dplyr_1.1.2 httr_1.4.3 stringr_1.5.0
[19] xml2_1.3.3 generics_0.1.3 vctrs_0.6.2 graphics_4.1.2 datasets_4.1.2 stats_4.1.2
[25] attempt_0.3.1 grid_4.1.2 tidyselect_1.2.0 glue_1.6.2 base_4.1.2 R6_2.5.1
[31] fansi_0.5.0 foreign_0.8-84 purrr_1.0.1 tidyr_1.3.0 ggplot2_3.4.2 farver_2.1.0
[37] selectr_0.4-2 magrittr_2.0.3 codetools_0.2-18 scales_1.2.1 assertthat_0.2.1 rvest_1.0.2
[43] colorspace_2.0-2 labeling_0.4.2 utf8_1.2.2 stringi_1.7.6 munsell_0.5.0

caropradier commented 12 months ago

Hi! The get_microdata_internal() function is an internal function. You should use get_microdata() in order to download our datasets. However, due to changes in INDEC's webpage the function is temporarily not working as expected. The problem has been solved in the development version, which you can install using devtools::install_github("holatam/eph"), and will be uploaded to CRAN as soon as possible.

carranzajuanp commented 12 months ago

Gracias Caro.