Skip to content

Commit

Permalink
Send to CRAN
Browse files Browse the repository at this point in the history
  • Loading branch information
dieghernan committed Jun 10, 2022
1 parent 9046842 commit c37864b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,8 @@ the parameters available.

To cite the ‘nominatimlite’ package in publications use:

Hernangomez D (2022). *nominatimlite: Interface with Nominatim API
Service*. <https://doi.org/10.5281/zenodo.5113195>,
Hernangomez D (2022). nominatimlite: Interface with Nominatim API
Service. <https://doi.org/10.5281/zenodo.5113195>,
<https://dieghernan.github.io/nominatimlite/>

A BibTeX entry for LaTeX users is
Expand Down
2 changes: 1 addition & 1 deletion codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@
},
"applicationCategory": "cartography",
"keywords": ["r", "geocoding", "openstreetmap", "address", "nominatim", "reverse-geocoding", "rstats", "shapefile", "r-package", "spatial", "cran", "api-wrapper", "api", "gis"],
"fileSize": "215.392KB",
"fileSize": "215.399KB",
"citation": [
{
"@type": "SoftwareSourceCode",
Expand Down
12 changes: 7 additions & 5 deletions inst/CITATION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
year <- format(Sys.time(), "%Y")
abs <- trimws(gsub("\\s+", " ", meta$Description))
abs <- gsub("'", "", abs)

doi <- "10.5281/zenodo.5113195"

bibentry(
"Manual",
Expand All @@ -11,10 +11,12 @@ bibentry(
year = year,
key = "R-nominatimlite",
version = meta$Version,
doi = "10.5281/zenodo.5113195",
doi = doi,
url = unlist(strsplit(meta$URL, ","))[1],
abstract = abs,
textVersion = paste0("Hernangomez D (",year,"). _nominatimlite: ",
gsub("'", "", meta$Title),"_. <https://doi.org/10.5281/zenodo.5113195>, <",
unlist(strsplit(meta$URL, ","))[1],">")
textVersion = paste0(
"Hernangomez D (", year, "). nominatimlite: ",
gsub("'", "", meta$Title), ". <https://doi.org/", doi, ">, <",
unlist(strsplit(meta$URL, ","))[1], ">"
)
)

0 comments on commit c37864b

Please sign in to comment.