Skip to content

Commit

Permalink
Merge pull request #57 from dieghernan/main
Browse files Browse the repository at this point in the history
Updatde docs and ORCID
  • Loading branch information
dieghernan authored Jun 26, 2024
2 parents 3b023c6 + d16fe72 commit e9b595d
Show file tree
Hide file tree
Showing 14 changed files with 26 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/rhub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
config:
description: 'A comma separated list of R-hub platforms to use.'
type: string
default: 'linux,windows,macos'
default: 'linux,windows'
name:
description: 'Run name. You can leave this empty now.'
type: string
Expand Down
4 changes: 2 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ type: software
license: GPL-2.0-only
title: 'CatastRo: Interface to the API ''Sede Electronica Del Catastro'''
version: 0.4.0
doi: 10.5281/zenodo.6044091
doi: 10.32614/CRAN.package.CatastRo
abstract: Access public spatial data available under the 'INSPIRE' directive. Tools
for downloading references and addresses of properties, as well as map images.
authors:
Expand All @@ -33,10 +33,10 @@ preferred-citation:
given-names: Diego
email: [email protected]
orcid: https://orcid.org/0000-0001-8457-4658
doi: 10.32614/CRAN.package.CatastRo
year: '2024'
version: 0.4.0
url: https://ropenspain.github.io/CatastRo/
doi: 10.5281/zenodo.6044091
abstract: Access public spatial data available under the INSPIRE directive. Tools
for downloading references and addresses of properties, as well as map images.
repository: https://CRAN.R-project.org/package=CatastRo
Expand Down
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ library(CatastRo)
[![R-CMD-check](https://github.com/rOpenSpain/CatastRo/actions/workflows/roscron-check-standard.yaml/badge.svg)](https://github.com/rOpenSpain/CatastRo/actions/workflows/roscron-check-standard.yaml)
[![R-hub](https://github.com/rOpenSpain/CatastRo/actions/workflows/rhub.yaml/badge.svg)](https://github.com/rOpenSpain/CatastRo/actions/workflows/rhub.yaml)
[![codecov](https://codecov.io/gh/rOpenSpain/CatastRo/graph/badge.svg?token=KPPwTkZjW6)](https://app.codecov.io/gh/rOpenSpain/CatastRo)
[![DOI](https://img.shields.io/badge/DOI-10.5281/zenodo.6044091-blue)](https://doi.org/10.5281/zenodo.6044091)
[![DOI](https://img.shields.io/badge/DOI-10.32614/CRAN.package.CatastRo-blue)](https://doi.org/10.32614/CRAN.package.CatastRo)
[![Project Status: Active -- The project has reached a stable, usable state and
is being actively
developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
[![R-CMD-check](https://github.com/rOpenSpain/CatastRo/actions/workflows/roscron-check-standard.yaml/badge.svg)](https://github.com/rOpenSpain/CatastRo/actions/workflows/roscron-check-standard.yaml)
[![R-hub](https://github.com/rOpenSpain/CatastRo/actions/workflows/rhub.yaml/badge.svg)](https://github.com/rOpenSpain/CatastRo/actions/workflows/rhub.yaml)
[![codecov](https://codecov.io/gh/rOpenSpain/CatastRo/graph/badge.svg?token=KPPwTkZjW6)](https://app.codecov.io/gh/rOpenSpain/CatastRo)
[![DOI](https://img.shields.io/badge/DOI-10.5281/zenodo.6044091-blue)](https://doi.org/10.5281/zenodo.6044091)
[![DOI](https://img.shields.io/badge/DOI-10.32614/CRAN.package.CatastRo-blue)](https://doi.org/10.32614/CRAN.package.CatastRo)
[![Project Status: Active – The project has reached a stable, usable
state and is being actively
developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)
Expand Down Expand Up @@ -225,19 +225,19 @@ it will load it, speeding up the process.
<p>
Delgado Panadero Á, Hernangómez D (2024). <em>CatastRo: Interface to the
API Sede Electrónica Del Catastro</em>.
<a href="https://doi.org/10.5281/zenodo.6044091">doi:10.5281/zenodo.6044091</a>,
<a href="https://doi.org/10.32614/CRAN.package.CatastRo">doi:10.32614/CRAN.package.CatastRo</a>,
<a href="https://ropenspain.github.io/CatastRo/">https://ropenspain.github.io/CatastRo/</a>.
</p>

A BibTeX entry for LaTeX users is:

@Manual{R-catastro,
@Manual{R-CatastRo,
title = {{CatastRo}: Interface to the {API} Sede Electrónica Del Catastro},
author = {Ángel {Delgado Panadero} and Diego Hernangómez},
doi = {10.32614/CRAN.package.CatastRo},
year = {2024},
version = {0.4.0},
url = {https://ropenspain.github.io/CatastRo/},
doi = {10.5281/zenodo.6044091},
abstract = {Access public spatial data available under the INSPIRE directive. Tools for downloading references and addresses of properties, as well as map images.},
}

Expand Down
10 changes: 5 additions & 5 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.0 (2024-04-24 ucrt)",
"runtimePlatform": "R version 4.4.1 (2024-06-14 ucrt)",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
Expand Down Expand Up @@ -271,7 +271,7 @@
},
"SystemRequirements": null
},
"fileSize": "1839.652KB",
"fileSize": "1834.989KB",
"citation": [
{
"@type": "SoftwareSourceCode",
Expand All @@ -289,10 +289,10 @@
}
],
"name": "{CatastRo}: Interface to the {API} Sede Electrónica Del Catastro",
"identifier": "10.5281/zenodo.6044091",
"identifier": "10.32614/CRAN.package.CatastRo",
"url": "https://ropenspain.github.io/CatastRo/",
"@id": "https://doi.org/10.5281/zenodo.6044091",
"sameAs": "https://doi.org/10.5281/zenodo.6044091"
"@id": "https://doi.org/10.32614/CRAN.package.CatastRo",
"sameAs": "https://doi.org/10.32614/CRAN.package.CatastRo"
}
],
"releaseNotes": "https://github.com/rOpenSpain/CatastRo/blob/master/NEWS.md",
Expand Down
Binary file modified data/catr_srs_values.rda
Binary file not shown.
8 changes: 5 additions & 3 deletions inst/CITATION
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
year <- format(Sys.time(), "%Y")
abs <- trimws(gsub("\\s+", " ", meta$Description))
abs <- gsub("'", "", abs)
pkg <- meta$Package
doi <- paste0("10.32614/CRAN.package.", pkg)

bibentry(
"Manual",
header = paste0("To cite '", meta$Package, "' in publications use:"),
header = paste0("To cite '", pkg, "' in publications use:"),
title = "{CatastRo}: Interface to the {API} Sede Electrónica Del Catastro",
author = c(person("Ángel", "Delgado Panadero"), person("Diego", "Hernangómez")),
doi = doi,
year = year,
version = meta$Version,
url = unlist(strsplit(meta$URL, ","))[1],
doi = "10.5281/zenodo.6044091",
abstract = abs,
key = "R-catastro"
key = paste0("R-", pkg)
)
4 changes: 2 additions & 2 deletions inst/schemaorg.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"runtimePlatform": "R version 4.4.0 (2024-04-24 ucrt)",
"runtimePlatform": "R version 4.4.1 (2024-06-14 ucrt)",
"version": "0.4.0"
},
{
"id": "https://doi.org/10.5281/zenodo.6044091",
"id": "https://doi.org/10.32614/CRAN.package.CatastRo",
"type": "SoftwareSourceCode",
"author": [
{
Expand Down
4 changes: 2 additions & 2 deletions man/catr_wms_get_layer.Rd

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

Binary file modified man/figures/README-atom-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-wms-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 4 additions & 3 deletions vignettes/CatastRo.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,10 @@ city_catr_code <- catr_get_code_from_coords(city)

city_catr_code
#> # A tibble: 1 × 12
#> munic catr_to catr_munic catrcode cpro cmun inecode nm cd cmc cp cm
#> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr>
#> 1 GRANADA 18 900 18900 18 087 18087 GRANADA 18 900 18 87
#> munic catr_to catr_munic catrcode cpro cmun inecode nm cd cmc cp
#> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr>
#> 1 GRANA… 18 900 18900 18 087 18087 GRAN… 18 900 18
#> # ℹ 1 more variable: cm <chr>
```

``` r
Expand Down
Binary file modified vignettes/dviz-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified vignettes/minimal-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e9b595d

Please sign in to comment.