Skip to content

Commit

Permalink
Add DOI
Browse files Browse the repository at this point in the history
  • Loading branch information
dieghernan committed Jan 12, 2024
1 parent bcb55b9 commit 8d345ac
Show file tree
Hide file tree
Showing 9 changed files with 29 additions and 18 deletions.
2 changes: 2 additions & 0 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ type: software
license: MIT
title: 'arcgeocoder: Geocoding with the ''ArcGIS'' REST API Service'
version: 0.0.1
doi: 10.5281/zenodo.10495365
abstract: Lite interface for geocoding and reverse geocoding with the 'ArcGIS' REST
API service <https://developers.arcgis.com/rest/geocode/api-reference/overview-world-geocoding-service.htm>.
authors:
Expand All @@ -26,6 +27,7 @@ preferred-citation:
orcid: https://orcid.org/0000-0001-8457-4658
year: '2024'
version: 0.0.1
doi: 10.5281/zenodo.10495365
url: https://dieghernan.github.io/arcgeocoder/
abstract: Lite interface for geocoding and reverse geocoding with the ArcGIS REST
API service <https://developers.arcgis.com/rest/geocode/api-reference/overview-world-geocoding-service.htm>.
Expand Down
1 change: 1 addition & 0 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ knitr::opts_chunk$set(
[![Project Status: WIP -- Initial development is in progress, but there has not
yet been a stable, usable release suitable for the
public.](https://www.repostatus.org/badges/latest/wip.svg)](https://www.repostatus.org/#wip)
[![DOI](https://img.shields.io/badge/DOI-10.5281/zenodo.10495365-blue)](https://doi.org/10.5281/zenodo.10495365)

<!-- badges: end -->

Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
[![Project Status: WIP – Initial development is in progress, but there
has not yet been a stable, usable release suitable for the
public.](https://www.repostatus.org/badges/latest/wip.svg)](https://www.repostatus.org/#wip)
[![DOI](https://img.shields.io/badge/DOI-10.5281/zenodo.10495365-blue)](https://doi.org/10.5281/zenodo.10495365)

<!-- badges: end -->

Expand Down Expand Up @@ -237,6 +238,7 @@ ggplot(food_eiffel_sf) +
<p>
Hernangómez D (2024). <em>arcgeocoder: Geocoding with the ArcGIS REST
API Service</em>.
<a href="https://doi.org/10.5281/zenodo.10495365">doi:10.5281/zenodo.10495365</a>,
<a href="https://dieghernan.github.io/arcgeocoder/">https://dieghernan.github.io/arcgeocoder/</a>.
</p>

Expand All @@ -247,6 +249,7 @@ A BibTeX entry for LaTeX users is
author = {Diego Hernangómez},
year = {2024},
version = {0.0.1},
doi = {10.5281/zenodo.10495365},
url = {https://dieghernan.github.io/arcgeocoder/},
abstract = {Lite interface for geocoding and reverse geocoding with the ArcGIS REST API service <https://developers.arcgis.com/rest/geocode/api-reference/overview-world-geocoding-service.htm>.},
}
Expand Down
7 changes: 5 additions & 2 deletions codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
},
"applicationCategory": "cartography",
"keywords": ["r", "geocoding", "arcgis", "address", "reverse-geocoding", "rstats", "r-package", "api-wrapper", "api-rest", "arcgis-api", "gis"],
"fileSize": "708.745KB",
"fileSize": "709.476KB",
"citation": [
{
"@type": "SoftwareSourceCode",
Expand All @@ -143,7 +143,10 @@
}
],
"name": "{arcgeocoder}: Geocoding with the {ArcGIS} {REST} {API} Service",
"url": "https://dieghernan.github.io/arcgeocoder/"
"identifier": "10.5281/zenodo.10495365",
"url": "https://dieghernan.github.io/arcgeocoder/",
"@id": "https://doi.org/10.5281/zenodo.10495365",
"sameAs": "https://doi.org/10.5281/zenodo.10495365"
}
],
"releaseNotes": "https://github.com/dieghernan/arcgeocoder/blob/master/NEWS.md",
Expand Down
3 changes: 2 additions & 1 deletion inst/CITATION
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ title <- gsub("'", "", meta$Title, fixed = TRUE)
title <- gsub("ArcGIS", "{ArcGIS}", title, fixed = TRUE)
title <- gsub("API", "{API}", title, fixed = TRUE)
title <- gsub("REST", "{REST}", title, fixed = TRUE)

doi <- "10.5281/zenodo.10495365"

bibentry(
"Manual",
Expand All @@ -15,6 +15,7 @@ bibentry(
year = year,
key = "R-arcgeocoder",
version = meta$Version,
doi = doi,
url = unlist(strsplit(meta$URL, ","))[1],
abstract = abs
)
1 change: 1 addition & 0 deletions inst/schemaorg.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"version": "0.0.1"
},
{
"id": "https://doi.org/10.5281/zenodo.10495365",
"type": "SoftwareSourceCode",
"author": {
"type": "Person",
Expand Down
30 changes: 15 additions & 15 deletions vignettes/arcgeocoder.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,9 @@ eiffel_tower <- arc_geo_multi(
eiffel_tower %>%
select(lon, lat, LongLabel)
#> # A tibble: 1 × 3
#> lon lat LongLabel
#> <dbl> <dbl> <chr>
#> 1 2.29 48.9 Tour Eiffel, 5 Avenue Anatole France, 75007, 7e Arrondissement, Par
#> lon lat LongLabel
#> <dbl> <dbl> <chr>
#> 1 2.29 48.9 Tour Eiffel, 5 Avenue Anatole France, 75007, 7e Arrondissement, Pari


# Use lon,lat to boots the search and using category = Food
Expand Down Expand Up @@ -213,18 +213,18 @@ food_eiffel_sf
#> Bounding box: xmin: 2.29211 ymin: 48.85416 xmax: 2.30085 ymax: 48.86252
#> Geodetic CRS: WGS 84
#> # A tibble: 50 × 76
#> q_category q_x q_y q_bbox_xmin q_bbox_ymin q_bbox_xmax q_bbox_ymax address
#> * <chr> <dbl> <dbl> <lgl> <lgl> <lgl> <lgl> <chr>
#> 1 Food 2.29 48.9 NA NA NA NA Le Jule
#> 2 Food 2.29 48.9 NA NA NA NA 58 Tour…
#> 3 Food 2.29 48.9 NA NA NA NA Le Bail
#> 4 Food 2.29 48.9 NA NA NA NA Le Bail
#> 5 Food 2.29 48.9 NA NA NA NA Castel …
#> 6 Food 2.29 48.9 NA NA NA NA Le Cast
#> 7 Food 2.29 48.9 NA NA NA NA Ribe
#> 8 Food 2.29 48.9 NA NA NA NA Chez Ri…
#> 9 Food 2.29 48.9 NA NA NA NA Bistrot…
#> 10 Food 2.29 48.9 NA NA NA NA Bistrot…
#> q_category q_x q_y q_bbox_xmin q_bbox_ymin q_bbox_xmax q_bbox_ymax address
#> * <chr> <dbl> <dbl> <lgl> <lgl> <lgl> <lgl> <chr>
#> 1 Food 2.29 48.9 NA NA NA NA Le Jules
#> 2 Food 2.29 48.9 NA NA NA NA 58 Tour
#> 3 Food 2.29 48.9 NA NA NA NA Le Baill
#> 4 Food 2.29 48.9 NA NA NA NA Le Baill
#> 5 Food 2.29 48.9 NA NA NA NA Castel C
#> 6 Food 2.29 48.9 NA NA NA NA Le Caste
#> 7 Food 2.29 48.9 NA NA NA NA Ribe
#> 8 Food 2.29 48.9 NA NA NA NA Chez Ribe
#> 9 Food 2.29 48.9 NA NA NA NA Bistrot
#> 10 Food 2.29 48.9 NA NA NA NA Bistrot
#> # ℹ 40 more rows
#> # ℹ 68 more variables: score <int>, x <dbl>, y <dbl>, Loc_name <chr>,
#> # Status <chr>, Score <int>, Match_addr <chr>, LongLabel <chr>,
Expand Down
Binary file modified vignettes/eiffel-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/eiffel_sf-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 8d345ac

Please sign in to comment.