Janne Huovari

Results 20 comments of Janne Huovari

Do you mean like this: ``` dat_2_wide % pivot_wider(names_from = time, values_from = values) %>% mutate(geo_lab = label_eurostat(geo, dic = "geo")) dat_2_wide # A tibble: 2 x 11 geo `2004`...

No, it doesn't. I think weekly data is relatively new addition in Eurostat. I thought that id would be easyly fixed, but - it seems as.Date does not support ISO...

As it is converted to a Date, on what date a W99 should be converted? The last day of the last week?

But then we would lose year information. I thought that last week would have information on two dates. Dated infromation on the first day, as normal, and unknown on the...

This is strage. And meantime you very able to access data "manually"?

Could it be that for some reason `download.file` uses `method = "curl"` in these cases? Then `extra = "-L"` is needed according to documentation for redirections. By default is shouldn't...

Thanks for testing. That is then `download.file` problem. It should use by default wininet or libcurl, but it seems that it uses curl. Have you set download.file.method-option? Could you try...

Could you also test does the following work with the same url? `test

So using directly `readr` works. It seems to be also faster. You can try to installing from a new branch: `remotes::install_github("ropengov/eurostat", ref = "speed")` There seems to be also other...

It is still only in "speed". I was suppose to finalize it and merge, but I haven't have time to do it. I try to do it soon.