Hi @giacomovagni, thanks for letting us know about this issue. I'd recommend trying two things:
Try re-downloading the extract files and re-running your code. It is my understanding that the DDI codebook and the data file can sometimes get truncated or corrupted in the download process.
If re-downloading doesn't work, please reply here (or email ipums+cran@umn.edu) with the email address associated with your IPUMS ATUS account and the extract number of the affected extract. That way we can try to reproduce the issue and figure out what is causing the error.
I am using the function
read_ipums_ddi
to import the ATUS. It used to work fine in the past.I get the following error