Skip to content
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

Update entry points #54

Merged
merged 2 commits into from
May 20, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,4 @@ jobs:
with:
name: coverage-test-failures
path: ${{ runner.temp }}/package

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 "CatastRo" in publications use:'
type: software
license: GPL-2.0-only
title: 'CatastRo: Interface to the API ''Sede Electronica Del Catastro'''
version: 0.3.1
version: 0.3.1.9000
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 All @@ -34,7 +34,7 @@ preferred-citation:
email: [email protected]
orcid: https://orcid.org/0000-0001-8457-4658
year: '2024'
version: 0.3.1
version: 0.3.1.9000
url: https://ropenspain.github.io/CatastRo/
doi: 10.5281/zenodo.6044091
abstract: Access public spatial data available under the INSPIRE directive. Tools
Expand Down
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: CatastRo
Title: Interface to the API 'Sede Electronica Del Catastro'
Version: 0.3.1
Version: 0.3.1.9000
Authors@R: c(
person("Ángel", "Delgado Panadero", , "[email protected]", role = c("aut", "cph"),
comment = c(ORCID = "0000-0002-8189-9251")),
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# CatastRo (development version)

- Update entry points (#53).

# CatastRo 0.3.1

- Migrate from **httr** to **httr2** (#44), no visible change for users.
Expand Down
4 changes: 2 additions & 2 deletions R/atom_ad_db.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#'
#'
#' @source
#' <https://www.catastro.minhap.es/INSPIRE/CadastralParcels/ES.SDGC.CP.atom.xml>
#' <https://www.catastro.hacienda.gob.es/INSPIRE/Addresses/ES.SDGC.AD.atom.xml>
#'
#'
#' @family INSPIRE
Expand Down Expand Up @@ -58,7 +58,7 @@ catr_atom_get_address_db_all <- function(cache = TRUE,
cache_dir = NULL,
verbose = FALSE) {
api_entry <- paste0(
"https://www.catastro.minhafp.es/INSPIRE/",
"https://www.catastro.hacienda.gob.es/INSPIRE/",
"Addresses/ES.SDGC.AD.atom.xml"
)

Expand Down
4 changes: 2 additions & 2 deletions R/atom_bu_db.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#'
#'
#' @source
#' <https://www.catastro.minhap.es/INSPIRE/CadastralParcels/ES.SDGC.CP.atom.xml>
#' <https://www.catastro.hacienda.gob.es/INSPIRE/buildings/ES.SDGC.BU.atom.xml>
#'
#' @family INSPIRE
#' @family ATOM
Expand Down Expand Up @@ -52,7 +52,7 @@ catr_atom_get_buildings_db_all <- function(cache = TRUE,
cache_dir = NULL,
verbose = FALSE) {
api_entry <- paste0(
"https://www.catastro.minhafp.es/INSPIRE/",
"https://www.catastro.hacienda.gob.es/INSPIRE/",
"buildings/ES.SDGC.BU.atom.xml"
)

Expand Down
4 changes: 2 additions & 2 deletions R/atom_cp_db.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#'
#'
#' @source
#' <https://www.catastro.minhap.es/INSPIRE/CadastralParcels/ES.SDGC.CP.atom.xml>
#' <https://www.catastro.hacienda.gob.es/INSPIRE/CadastralParcels/ES.SDGC.CP.atom.xml>

Check warning on line 18 in R/atom_cp_db.R

View workflow job for this annotation

GitHub Actions / Run lintr scanning

file=R/atom_cp_db.R,line=18,col=81,[line_length_linter] Lines should not be more than 80 characters. This line is 86 characters.
Dismissed Show dismissed Hide dismissed
#'
#' @family INSPIRE
#' @family ATOM
Expand Down Expand Up @@ -52,7 +52,7 @@
cache_dir = NULL,
verbose = FALSE) {
api_entry <- paste0(
"https://www.catastro.minhafp.es/INSPIRE/",
"https://www.catastro.hacienda.gob.es/INSPIRE/",
"CadastralParcels/ES.SDGC.CP.atom.xml"
)

Expand Down
6 changes: 3 additions & 3 deletions codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
"codeRepository": "https://github.com/rOpenSpain/CatastRo",
"issueTracker": "https://github.com/rOpenSpain/CatastRo/issues",
"license": "https://spdx.org/licenses/GPL-2.0",
"version": "0.3.1",
"version": "0.3.1.9000",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
"url": "https://r-project.org"
},
"runtimePlatform": "R version 4.3.3 (2024-02-29 ucrt)",
"runtimePlatform": "R version 4.4.0 (2024-04-24)",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
Expand Down Expand Up @@ -271,7 +271,7 @@
},
"SystemRequirements": null
},
"fileSize": "1838.245KB",
"fileSize": "1831.254KB",
"citation": [
{
"@type": "SoftwareSourceCode",
Expand Down
Binary file modified data/catr_srs_values.rda
Binary file not shown.
4 changes: 2 additions & 2 deletions inst/schemaorg.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"runtimePlatform": "R version 4.3.3 (2024-02-29 ucrt)",
"version": "0.3.1"
"runtimePlatform": "R version 4.4.0 (2024-04-24)",
"version": "0.3.1.9000"
},
{
"id": "https://doi.org/10.5281/zenodo.6044091",
Expand Down
2 changes: 1 addition & 1 deletion man/catr_atom_get_address_db.Rd

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

2 changes: 1 addition & 1 deletion man/catr_atom_get_buildings_db.Rd

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

2 changes: 1 addition & 1 deletion man/catr_atom_get_parcels_db.Rd

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

Binary file modified vignettes/santbernabeu-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading