-
Notifications
You must be signed in to change notification settings - Fork 46
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
get eurostat freezing #98
Comments
For me this works fine. Could it be that eurostat service itself has ome issues, rather than the package? |
Running the command I see this
It hangs after getting the data, in something I would guess it is readr or dplyr |
It freeze for me also. Could be dplyr update. |
The problem seems to be in
It could be that there are just too many columns, more than 11 000. I could not find quick solution. |
It seems to work with |
The new version works.
Great job.
Wietse
From: Janne Huovari [mailto:[email protected]]
Sent: Monday, September 11, 2017 12:14
To: rOpenGov/eurostat <[email protected]>
Cc: WietseDol <[email protected]>; Comment <[email protected]>
Subject: Re: [rOpenGov/eurostat] get eurostat freezing (#98)
It seems to work with tidyr::gather. So, i try to fix it with non-standard evaluation.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#98 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ASvVK5fZ_72fY-aSpr8crBcPGlfd8AB6ks5shQgEgaJpZM4PSu0a>.
|
I am having the same problem. It hangs after getting the data, so it must be the Here is the code to reproduce: library(eurostat)
get_eurostat("migr_asyappctzm", type = "label", time_format = "num", stringsAsFactors = FALSE)
|
I just tried it, R 4.02 and the latest dplyr 1.0.2. It takes a few minutes but is succeeds, there is a warning... get_eurostat("migr_asyappctzm", type = "label", time_format = "num", stringsAsFactors = FALSE) |========================================================================================================================================================| 100% 219 MB A tibble: 63,798,248 x 8unit citizen sex age asyl_app geo time values ... with 63,798,238 more rowsWarning message: |
Thanks! This should be sorted out as soon as the situation allows. PRs also welcome. |
I don't think there is a problem in package. The migr_asyappctzm is just really big dataset. The warning comes from NA codes in citizen. The |
Thanks for the quick feedback from all of you. Loading migr_asyappctzm does indeed work after more than five minutes. library(eurostat)
accept <- get_eurostat("migr_asydcfstq", type = "label", time_format = "num", stringsAsFactors = FALSE) For me personally, a small warning message would be very helpful that a chosen big dataset can take a long time to process, |
That is even bigger. You can try to get it first without labels, and label afterwards, and turn off caching, cache = FALSE. |
Leaving out the labels made it possible to download the data set without crashing R. Thank you! |
Since a week someone had problems with downloading the daily exchange rates file: ert_bil_eur_d It downloads the file, but then seems to freeze (I had it running for several hours but it looks like an infinite loop J ), This is the R code:
The problem started last week and it could be the result of some package updates.
The text was updated successfully, but these errors were encountered: