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

bugfix for header error #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

GreenGrassBlueOcean
Copy link

When calling:

df <- destatiscleanr::destatiscleanr("https://www-genesis.destatis.de/genesisWS/rest/2020/data/tablefile?username=WRONGUSER&password=WRONGPASS&name=31111-0006&format=csv&language=en")

an error is presented when processing the header of the downloaded content. By removing dplyr::slice(.) %>% from R/clean_header.R this error will not take place anymore.

image

Error in `purrr::map()`:
ℹ In index: 1.
Caused by error in `list_colnames[[1]][[i]]`:
! subscript out of bounds
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

Successfully merging this pull request may close these issues.

1 participant