-
-
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
gisco_get_nuts() not working #98
Labels
not-downloading
Data is not downloaded from the server
Comments
The issue is happing also with |
I think it is working again: nuts <- giscoR::gisco_get_nuts(country = c("Spain", "Portugal"), nuts_level = "3",
resolution = "03", cache_dir = tempdir())
head(nuts)
#> Simple feature collection with 6 features and 9 fields
#> Geometry type: MULTIPOLYGON
#> Dimension: XY
#> Bounding box: xmin: -7.076834 ymin: 37.84699 xmax: 1.645324 ymax: 43.23655
#> Geodetic CRS: WGS 84
#> LEVL_CODE NUTS_ID URBN_TYPE CNTR_CODE NAME_LATN
#> 10 3 ES412 2 ES Burgos
#> 11 3 ES413 2 ES León
#> 18 3 ES514 2 ES Tarragona
#> 19 3 ES521 1 ES Alicante / Alacant
#> 20 3 ES522 2 ES Castellón / Castelló
#> 21 3 ES523 1 ES Valencia / València
#> NUTS_NAME MOUNT_TYPE COAST_TYPE geo
#> 10 Burgos 2 3 ES412
#> 11 León 2 3 ES413
#> 18 Tarragona 2 1 ES514
#> 19 Alicante / Alacant 2 1 ES521
#> 20 Castellón / Castelló 2 1 ES522
#> 21 Valencia / València 2 1 ES523
#> geometry
#> 10 MULTIPOLYGON (((-2.853667 4...
#> 11 MULTIPOLYGON (((-5.376311 4...
#> 18 MULTIPOLYGON (((1.395549 41...
#> 19 MULTIPOLYGON (((-1.003366 3...
#> 20 MULTIPOLYGON (((-0.7733685 ...
#> 21 MULTIPOLYGON (((-0.7135734 ...
giscoR::gisco_get_countries(resolution = "10", cache_dir = tempdir())
#> Simple feature collection with 257 features and 4 fields
#> Geometry type: MULTIPOLYGON
#> Dimension: XY
#> Bounding box: xmin: -180 ymin: -89.9 xmax: 180 ymax: 83.65872
#> Geodetic CRS: WGS 84
#> First 10 features:
#> CNTR_ID CNTR_NAME ISO3_CODE NAME_ENGL
#> 1 AD Andorra AND Andorra
#> 2 AE الإمارات العربية المتحدة ARE United Arab Emirates
#> 3 AF افغانستان-افغانستان AFG Afghanistan
#> 4 AG Antigua and Barbuda ATG Antigua and Barbuda
#> 5 AI Anguilla AIA Anguilla
#> 6 AL Shqipëria ALB Albania
#> 7 AM Հայաստան ARM Armenia
#> 8 AO Angola AGO Angola
#> 9 AQ Antarctica ATA Antarctica
#> 10 AR Argentina ARG Argentina
#> geometry
#> 1 MULTIPOLYGON (((1.53521 42....
#> 2 MULTIPOLYGON (((56.1464 25....
#> 3 MULTIPOLYGON (((71.28622 38...
#> 4 MULTIPOLYGON (((-61.70749 1...
#> 5 MULTIPOLYGON (((-63.08349 1...
#> 6 MULTIPOLYGON (((19.75862 42...
#> 7 MULTIPOLYGON (((44.94132 41...
#> 8 MULTIPOLYGON (((13.47062 -5...
#> 9 MULTIPOLYGON (((-57.82312 -...
#> 10 MULTIPOLYGON (((-66.04926 -... Created on 2024-12-27 with reprex v2.1.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It seems to work with a resolution of 20, but not 3 or 10.
The text was updated successfully, but these errors were encountered: