-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Data is not downloading #74
Labels
not-downloading
Data is not downloaded from the server
Comments
Same for me |
Thanks for reporting, I can't reproduce the issue right now, maybe it was a temporary error on the server side (it happens from time to time, see #57 and #69 ) Reprex, where downloading works as expected library(giscoR)
cntries <- gisco_get_countries(
resolution = "01",
verbose = TRUE,
country = c("AL", "HR", "EL"),
cache_dir = tempdir(),
update_cache = TRUE
)
#>
#> Cache dir is /tmp/RtmpZJUYdk
#> Downloading from https://gisco-services.ec.europa.eu/distribution/v2/countries/distribution/AL-region-01m-4326-2016.geojson
#> Download succesful on
#>
#> /tmp/RtmpZJUYdk/AL-cntry-region-01m-4326-2016.geojson
#> Reading from local file /tmp/RtmpZJUYdk/AL-cntry-region-01m-4326-2016.geojson
#> 19.2 Kb
#> File loaded
#> Encoding characters
#>
#> Cache dir is /tmp/RtmpZJUYdk
#> Downloading from https://gisco-services.ec.europa.eu/distribution/v2/countries/distribution/HR-region-01m-4326-2016.geojson
#> Download succesful on
#>
#> /tmp/RtmpZJUYdk/HR-cntry-region-01m-4326-2016.geojson
#> Reading from local file /tmp/RtmpZJUYdk/HR-cntry-region-01m-4326-2016.geojson
#> 177.9 Kb
#> File loaded
#> Encoding characters
#>
#> Cache dir is /tmp/RtmpZJUYdk
#> Downloading from https://gisco-services.ec.europa.eu/distribution/v2/countries/distribution/EL-region-01m-4326-2016.geojson
#> Download succesful on
#>
#> /tmp/RtmpZJUYdk/EL-cntry-region-01m-4326-2016.geojson
#> Reading from local file /tmp/RtmpZJUYdk/EL-cntry-region-01m-4326-2016.geojson
#> 322.2 Kb
#> File loaded
#> Encoding characters
# Check
library(ggplot2)
ggplot(cntries) +
geom_sf(aes(fill = CNTR_ID)) Created on 2024-01-04 with reprex v2.0.2 Session infosessioninfo::session_info()
#> ─ Session info ───────────────────────────────────────────────────────────────
#> setting value
#> version R version 4.3.2 (2023-10-31)
#> os Ubuntu 20.04.6 LTS
#> system x86_64, linux-gnu
#> ui X11
#> language (EN)
#> collate C.UTF-8
#> ctype C.UTF-8
#> tz UTC
#> date 2024-01-04
#> pandoc 3.1.1 @ /usr/lib/rstudio-server/bin/quarto/bin/tools/ (via rmarkdown)
#>
#> ─ Packages ───────────────────────────────────────────────────────────────────
#> package * version date (UTC) lib source
#> class 7.3-22 2023-05-03 [2] CRAN (R 4.3.2)
#> classInt 0.4-10 2023-09-05 [1] RSPM (R 4.3.0)
#> cli 3.6.2 2023-12-11 [1] RSPM (R 4.3.0)
#> colorspace 2.1-0 2023-01-23 [1] RSPM (R 4.3.0)
#> countrycode 1.5.0 2023-05-30 [1] RSPM (R 4.3.0)
#> curl 5.2.0 2023-12-08 [1] RSPM (R 4.3.0)
#> DBI 1.2.0 2023-12-21 [1] RSPM (R 4.3.0)
#> digest 0.6.33 2023-07-07 [1] RSPM (R 4.3.0)
#> dplyr 1.1.4 2023-11-17 [1] RSPM (R 4.3.0)
#> e1071 1.7-14 2023-12-06 [1] RSPM (R 4.3.0)
#> evaluate 0.23 2023-11-01 [1] RSPM (R 4.3.0)
#> fansi 1.0.6 2023-12-08 [1] RSPM (R 4.3.0)
#> farver 2.1.1 2022-07-06 [1] RSPM (R 4.3.0)
#> fastmap 1.1.1 2023-02-24 [1] RSPM (R 4.3.0)
#> fs 1.6.3 2023-07-20 [1] RSPM (R 4.3.0)
#> generics 0.1.3 2022-07-05 [1] RSPM (R 4.3.0)
#> geojsonsf 2.0.3 2022-05-30 [1] RSPM (R 4.3.0)
#> ggplot2 * 3.4.4 2023-10-12 [1] RSPM (R 4.3.0)
#> giscoR * 0.4.0 2023-10-30 [1] RSPM (R 4.3.0)
#> glue 1.6.2 2022-02-24 [1] RSPM (R 4.3.0)
#> gtable 0.3.4 2023-08-21 [1] RSPM (R 4.3.0)
#> highr 0.10 2022-12-22 [1] RSPM (R 4.3.0)
#> htmltools 0.5.7 2023-11-03 [1] RSPM (R 4.3.0)
#> KernSmooth 2.23-22 2023-07-10 [2] CRAN (R 4.3.2)
#> knitr 1.45 2023-10-30 [1] RSPM (R 4.3.0)
#> lifecycle 1.0.4 2023-11-07 [1] RSPM (R 4.3.0)
#> magrittr 2.0.3 2022-03-30 [1] RSPM (R 4.3.0)
#> munsell 0.5.0 2018-06-12 [1] RSPM (R 4.3.0)
#> pillar 1.9.0 2023-03-22 [1] RSPM (R 4.3.0)
#> pkgconfig 2.0.3 2019-09-22 [1] RSPM (R 4.3.0)
#> proxy 0.4-27 2022-06-09 [1] RSPM (R 4.3.0)
#> purrr 1.0.2 2023-08-10 [1] RSPM (R 4.3.0)
#> R.cache 0.16.0 2022-07-21 [1] RSPM (R 4.3.0)
#> R.methodsS3 1.8.2 2022-06-13 [1] RSPM (R 4.3.0)
#> R.oo 1.25.0 2022-06-12 [1] RSPM (R 4.3.0)
#> R.utils 2.12.3 2023-11-18 [1] RSPM (R 4.3.0)
#> R6 2.5.1 2021-08-19 [1] RSPM (R 4.3.0)
#> Rcpp 1.0.11 2023-07-06 [1] RSPM (R 4.3.0)
#> reprex 2.0.2 2022-08-17 [1] RSPM (R 4.3.0)
#> rlang 1.1.2 2023-11-04 [1] RSPM (R 4.3.0)
#> rmarkdown 2.25 2023-09-18 [1] RSPM (R 4.3.0)
#> rstudioapi 0.15.0 2023-07-07 [1] RSPM (R 4.3.0)
#> s2 1.1.6 2023-12-19 [1] RSPM (R 4.3.0)
#> scales 1.3.0 2023-11-28 [1] RSPM (R 4.3.0)
#> sessioninfo 1.2.2 2021-12-06 [1] RSPM (R 4.3.0)
#> sf 1.0-15 2023-12-18 [1] RSPM (R 4.3.0)
#> styler 1.10.2 2023-08-29 [1] RSPM (R 4.3.0)
#> tibble 3.2.1 2023-03-20 [1] RSPM (R 4.3.0)
#> tidyselect 1.2.0 2022-10-10 [1] RSPM (R 4.3.0)
#> units 0.8-5 2023-11-28 [1] RSPM (R 4.3.0)
#> utf8 1.2.4 2023-10-22 [1] RSPM (R 4.3.0)
#> vctrs 0.6.5 2023-12-01 [1] RSPM (R 4.3.0)
#> withr 2.5.2 2023-10-30 [1] RSPM (R 4.3.0)
#> wk 0.9.1 2023-11-29 [1] RSPM (R 4.3.0)
#> xfun 0.41 2023-11-01 [1] RSPM (R 4.3.0)
#> xml2 1.3.6 2023-12-04 [1] RSPM (R 4.3.0)
#> yaml 2.3.8 2023-12-11 [1] RSPM (R 4.3.0)
#>
#> [1] /cloud/lib/x86_64-pc-linux-gnu-library/4.3
#> [2] /opt/R/4.3.2/lib/R/library
#>
#> ────────────────────────────────────────────────────────────────────────────── |
Documented, would be solved with #80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
url
https://gisco-services.ec.europa.eu/distribution/v2/countries/distribution/AL-region-01m-4326-2016.geojson not reachable.
Please download manually. If you think this is a bug please consider opening an issue on https://github.com/ropengov/giscoR/issues
Returning
NULL
Skipping unit = AL
Not found
Error: No results for c('AL')
The text was updated successfully, but these errors were encountered: