Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error trying to read 5th interview from 2016 #1

Closed
jadermcs opened this issue Sep 21, 2018 · 2 comments
Closed

error trying to read 5th interview from 2016 #1

jadermcs opened this issue Sep 21, 2018 · 2 comments

Comments

@jadermcs
Copy link

When I try to read the this cited interview I got the following error:

> pnad2016_entr5 <- get_pnadc(2016,interview = 5)
trying URL 'ftp://ftp.ibge.gov.br/Trabalho_e_Rendimento/Pesquisa_Nacional_por_Amostra_de_Domicilios_continua/Anual/Microdados/Dados/PNADC_2016_visita5_20180816.zip'
Content type 'unknown' length 25858809 bytes (24.7 MB)
==================================================
trying URL 'ftp://ftp.ibge.gov.br/Trabalho_e_Rendimento/Pesquisa_Nacional_por_Amostra_de_Domicilios_continua/Anual/Microdados/Documentacao/Input_PNADC_5_visita_2016_20180816.txt'
Content type 'unknown' length 39149 bytes (38 KB)
==================================================
Error in read_tokens_(data, tokenizer, col_specs, col_names, locale_,  : 
  Overlapping specification not supported. Begin offset (0) must be greater than or equal to previous end offset (715)

I'm using a Linux Mint 18.04, and R version
R version 3.4.4 (2018-03-15) -- "Someone to Lean On"
Copyright (C) 2018 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

@jadermcs
Copy link
Author

Discovered this is a problem from fwf overlapping values, se this: tidyverse/readr#534

@gaborcsardi
Copy link

This is a read only mirror of CRAN, see the DESCRIPTION file for the package authors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants