Skip to content

Commit

Permalink
Prepare for CRAN
Browse files Browse the repository at this point in the history
  • Loading branch information
dieghernan committed Oct 29, 2023
1 parent b1bd6f4 commit eab1025
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 61 deletions.
4 changes: 2 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ message: 'To cite package "giscoR" in publications use:'
type: software
license: GPL-3.0-only
title: 'giscoR: Download Map Data from GISCO API - Eurostat'
version: 0.3.5.9000
version: 0.4.0
doi: 10.5281/zenodo.4317946
abstract: Tools to download data from the GISCO (Geographic Information System of
the Commission) Eurostat database <https://ec.europa.eu/eurostat/web/gisco>. Global
Expand All @@ -31,7 +31,7 @@ preferred-citation:
affiliation: rOpenGov
doi: 10.5281/zenodo.4317946
year: '2023'
version: 0.3.5.9000
version: 0.4.0
url: https://ropengov.github.io/giscoR/
abstract: Tools to download data from the GISCO (Geographic Information System of
the Commission) Eurostat database <https://ec.europa.eu/eurostat/web/gisco>. Global
Expand Down
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: giscoR
Title: Download Map Data from GISCO API - Eurostat
Version: 0.3.5.9000
Version: 0.4.0
Authors@R: c(
person("Diego", "Hernangómez", , "diego.hernangomezherrero@gmail.com", role = c("aut", "cre", "cph"),
comment = c(ORCID = "0000-0001-8457-4658", affiliation = "rOpenGov")),
Expand Down
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# giscoR (development version)
# giscoR 0.4.0

- `gisco_get_nuts()`: Add an additional `geo` column (identical to `NUTS_ID`)
for enhanced compatibility with **eurostat** package (#62).
Expand Down
26 changes: 1 addition & 25 deletions R/gisco_get_healthcare.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,31 +27,7 @@
#' \donttest{
#'
#' health_BEL <- gisco_get_healthcare(country = "Belgium")
#' # If downloaded
#'
#' if (!is.null(health_BEL)) {
#' health_BEL[health_BEL$public_private == "", ]$public_private <- "unknown"
#'
#' BEL <- gisco_get_nuts(country = "Belgium", nuts_level = 2)
#'
#' library(ggplot2)
#'
#' ggplot(BEL) +
#' geom_sf(fill = "white", color = "grey80") +
#' geom_sf(
#' data = health_BEL, aes(color = public_private),
#' alpha = 0.5, size = 3
#' ) +
#' theme_bw() +
#' labs(
#' title = "Healthcare in Belgium",
#' subtitle = "NUTS 2",
#' fill = "type",
#' caption = paste0(gisco_attributions())
#' ) +
#' scale_color_manual(name = "type", values = hcl.colors(3, "Berlin")) +
#' theme_minimal()
#' }
#' health_BEL
#' }
#' @export
gisco_get_healthcare <- function(cache = TRUE,
Expand Down
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,6 @@ install.packages("giscoR",

## Usage

You can have a look to the documentation of the dev version in
<https://ropengov.github.io/giscoR/dev/>

This script highlights some features of `giscoR`:

``` r
Expand Down Expand Up @@ -338,7 +335,7 @@ A BibTeX entry for LaTeX users is
doi = {10.5281/zenodo.4317946},
author = {Diego Hernangómez},
year = {2023},
version = {0.3.5.9000},
version = {0.4.0},
url = {https://ropengov.github.io/giscoR/},
abstract = {Tools to download data from the GISCO (Geographic Information System of the Commission) Eurostat database <https://ec.europa.eu/eurostat/web/gisco>. Global and European map data available. This package is in no way officially related to or endorsed by Eurostat.},
}
Expand Down
4 changes: 2 additions & 2 deletions codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"codeRepository": "https://github.com/rOpenGov/giscoR",
"issueTracker": "https://github.com/rOpenGov/giscoR/issues",
"license": "https://spdx.org/licenses/GPL-3.0",
"version": "0.3.5.9000",
"version": "0.4.0",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
Expand Down Expand Up @@ -216,7 +216,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": "1421.519KB",
"fileSize": "1419.969KB",
"citation": [
{
"@type": "SoftwareSourceCode",
Expand Down
2 changes: 1 addition & 1 deletion inst/schemaorg.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"url": "https://cran.r-project.org"
},
"runtimePlatform": "R version 4.3.1 (2023-06-16 ucrt)",
"version": "0.3.5.9000"
"version": "0.4.0"
},
{
"id": "https://doi.org/10.5281/zenodo.4317946",
Expand Down
26 changes: 1 addition & 25 deletions man/gisco_get_healthcare.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit eab1025

Please sign in to comment.