Skip to content

Commit

Permalink
Update docs with pkgdev
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 20, 2024
1 parent 7cd08e5 commit ac48fa6
Show file tree
Hide file tree
Showing 10 changed files with 8 additions and 9 deletions.
4 changes: 2 additions & 2 deletions codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"name": "R",
"url": "https://r-project.org"
},
"runtimePlatform": "R version 4.4.1 (2024-06-14 ucrt)",
"runtimePlatform": "R version 4.4.2 (2024-10-31 ucrt)",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
Expand Down Expand Up @@ -240,7 +240,7 @@
"applicationCategory": "cartography",
"isPartOf": "http://ropengov.org/",
"keywords": ["ropengov", "r", "spatial", "api-wrapper", "rstats", "r-package", "eurostat", "gisco", "thematic-maps", "eurostat-data", "cran", "ggplot2", "gis"],
"fileSize": "1243.354KB",
"fileSize": "1243.297KB",
"citation": [
{
"@type": "SoftwareSourceCode",
Expand Down
Binary file modified data/gisco_coastallines.rda
Binary file not shown.
Binary file modified data/gisco_countries.rda
Binary file not shown.
Binary file modified data/gisco_countrycode.rda
Binary file not shown.
Binary file modified data/gisco_db.rda
Binary file not shown.
Binary file modified data/gisco_nuts.rda
Binary file not shown.
Binary file modified img/README-example-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion inst/schemaorg.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"runtimePlatform": "R version 4.4.1 (2024-06-14 ucrt)",
"runtimePlatform": "R version 4.4.2 (2024-10-31 ucrt)",
"version": "0.6.0"
},
{
Expand Down
Binary file modified vignettes/giscoR-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 5 additions & 6 deletions vignettes/giscoR.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -190,18 +190,13 @@ nuts2_sf <- nuts2 %>%
values_th = values / 1000,
categ = cut(values_th, c(0, 15, 30, 60, 90, 120, Inf))
)
#> Error in UseMethod("left_join"): no applicable method for 'left_join' applied to an object of class "NULL"


# Adjust the labels
labs <- levels(nuts2_sf$categ)
#> Error: object 'nuts2_sf' not found
labs[1] <- "< 15"
#> Error in labs[1] <- "< 15": object of type 'closure' is not subsettable
labs[6] <- "> 120"
#> Error in labs[6] <- "> 120": object of type 'closure' is not subsettable
levels(nuts2_sf$categ) <- labs
#> Error: object 'nuts2_sf' not found


# Finally the plot
Expand Down Expand Up @@ -254,5 +249,9 @@ ggplot(nuts2_sf) +
"Source: Eurostat\n ", gisco_attributions()
)
)
#> Error: object 'nuts2_sf' not found
```

<div class="figure">
<img src="./giscoR-1.png" alt="Disposable income of private households by NUTS 2 regions (2021)" width="100%" />
<p class="caption">Disposable income of private households by NUTS 2 regions (2021)</p>
</div>

0 comments on commit ac48fa6

Please sign in to comment.