Skip to content

Commit

Permalink
Fix issues in gisco_get_lau
Browse files Browse the repository at this point in the history
  • Loading branch information
dieghernan committed Dec 27, 2024
1 parent 016eaeb commit 708029c
Show file tree
Hide file tree
Showing 10 changed files with 273 additions and 269 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.6.0
version: 0.6.0.9000
doi: 10.32614/CRAN.package.giscoR
identifiers:
- type: doi
Expand All @@ -34,7 +34,7 @@ preferred-citation:
affiliation: rOpenGov
doi: 10.32614/CRAN.package.giscoR
year: '2024'
version: 0.6.0
version: 0.6.0.9000
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.6.0
Version: 0.6.0.9000
Authors@R: c(
person("Diego", "Hernangómez", , "[email protected]", role = c("aut", "cre", "cph"),
comment = c(ORCID = "0000-0001-8457-4658", affiliation = "rOpenGov")),
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# giscoR (development version)

- Fix an issue when filtering source on `gisco_get_lau()`.

# giscoR 0.6.0

## Update with latest data available
Expand Down
2 changes: 1 addition & 1 deletion R/gisco_get_lau.R
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ gisco_get_lau <- function(year = "2021", epsg = "4326", cache = TRUE,
}

# Get layer name
layer <- tools::file_path_sans_ext(basename(namefileload))
layer <- as.character(sf::st_layers(namefileload)[1, 1])

# Construct query
q <- paste0("SELECT * from \"", layer, "\" WHERE")
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ 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 @@ -327,7 +330,7 @@ A BibTeX entry for LaTeX users is
doi = {10.32614/CRAN.package.giscoR},
author = {Diego Hernangómez},
year = {2024},
version = {0.6.0},
version = {0.6.0.9000},
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.6.0",
"version": "0.6.0.9000",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
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": "1242.847KB",
"fileSize": "1242.898KB",
"citation": [
{
"@type": "SoftwareSourceCode",
Expand Down
1 change: 1 addition & 0 deletions giscoR.Rproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Version: 1.0
ProjectId: ad377fc7-fb8f-49ed-8435-81f1b6ea610c

RestoreWorkspace: No
SaveWorkspace: No
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.4.2 (2024-10-31 ucrt)",
"version": "0.6.0"
"version": "0.6.0.9000"
},
{
"id": "https://doi.org/10.32614/CRAN.package.giscoR",
Expand Down
3 changes: 0 additions & 3 deletions pkgdown/_pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ template:
creator: '@dhernangomez'
card: summary_large_image

development:
mode: auto

home:
title: giscoR | R package for download geodata from GISCO - Eurostat
description: >
Expand Down
Loading

0 comments on commit 708029c

Please sign in to comment.