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

Erro ao baixar metadado ctb0566 #7

Closed
dvictori opened this issue Sep 24, 2020 · 3 comments
Closed

Erro ao baixar metadado ctb0566 #7

dvictori opened this issue Sep 24, 2020 · 3 comments

Comments

@dvictori
Copy link

# usar a versão de desenvolvimento do febr
devtools::install_github(repo = "febr-team/febr-package")
#> Skipping install of 'febr' from a github remote, the SHA1 (b62a5be8) has not changed since last install.
#>   Use `force = TRUE` to force installation
meta <- febr::metadata(dataset = 'ctb0566')
#>   |                                                                              |                                                                      |   0%
#> 
#> Downloading ctb0566-metadado...
#> Error in scan(file = file, what = what, sep = sep, quote = quote, dec = dec, : line 64 did not have 8 elements

Created on 2020-09-24 by the reprex package (v0.3.0)

@samuel-rosa
Copy link
Collaborator

@dvictori tente a nova função genérica de descarregamento de dados readFEBR( ).

@dvictori
Copy link
Author

Erro continua com a nova função:

devtools::install_github(repo = "febr-team/febr-package")
#> Skipping install of 'febr' from a github remote, the SHA1 (56e92e9f) has not changed since last install.
#>   Use `force = TRUE` to force installation
meta <- febr::metadata(dataset = 'ctb0566')
#>   |                                                                              |                                                                      |   0%
#> 
#> Downloading ctb0566-metadado...
#> Error in scan(file = file, what = what, sep = sep, quote = quote, dec = dec, : line 64 did not have 8 elements
meta <- febr::readFEBR('ctb0566', 'metadado')
#> Downloading...
#> https://cloud.utfpr.edu.br/index.php/s/Df6dhfzYJ1DDeso/download?path=%2Fctb0566&files=ctb0566-metadado.txt
#> Error in scan(file = file, what = what, sep = sep, quote = quote, dec = dec, : line 64 did not have 8 elements

Created on 2020-09-24 by the reprex package (v0.3.0)

@samuel-rosa
Copy link
Collaborator

OK. Havia um erro duas células. Já está corrigido.

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