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 rendering create_db for Belgium #38

Open
mvarewyck opened this issue May 23, 2022 · 1 comment
Open

error rendering create_db for Belgium #38

mvarewyck opened this issue May 23, 2022 · 1 comment

Comments

@mvarewyck
Copy link

I could run the download step.
It fails to run the 2nd step here: https://github.com/trias-project/occ-cube-alien/blob/master/src/belgium/2_create_db.Rmd#L156-L169

Error message:

Quitting from lines 157-169 (2_create_db.Rmd) 
Error in connection_import_file(conn@ptr, name, value, sep, eol, skip) : 
  RS_sqlite_import: /home/mvarewyck/git/occ-cube-alien/data/raw/0089458-210914110416597_occurrence.txt line 3319620 expected 250 columns of data but found 207
@damianooldoni
Copy link
Contributor

Thanks for reporting this and sorry for answering so late, I was on holiday.
It seems that the txt file is corrupted at that specific line. You can try to open it via Sublime Text Editor and explore that specific line via GoTo Line (Ctrl+G) tool.

Triggering a new download can also help, of course.

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

No branches or pull requests

2 participants