Skip to content

Commit

Permalink
Prepare for CRAN
Browse files Browse the repository at this point in the history
  • Loading branch information
dieghernan committed Jun 8, 2022
1 parent 151bfef commit 9046842
Show file tree
Hide file tree
Showing 12 changed files with 22 additions and 17 deletions.
8 changes: 4 additions & 4 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ message: 'To cite package "nominatimlite" in publications use:'
type: software
license: MIT
title: 'nominatimlite: Interface with ''Nominatim'' API Service'
version: 0.1.5.9000
version: 0.1.6
doi: 10.5281/zenodo.5113195
abstract: Lite interface for getting data from 'OSM' service 'Nominatim' <https://nominatim.org/release-docs/latest/>.
Extract coordinates from addresses, find places near a set of coordinates, search
Expand All @@ -27,12 +27,12 @@ preferred-citation:
email: [email protected]
orcid: https://orcid.org/0000-0001-8457-4658
year: '2022'
version: 0.1.5.9000
version: 0.1.6
doi: 10.5281/zenodo.5113195
url: https://dieghernan.github.io/nominatimlite/
abstract: Lite interface for getting data from 'OSM' service 'Nominatim' <https://nominatim.org/release-docs/latest/>.
abstract: Lite interface for getting data from OSM service Nominatim <https://nominatim.org/release-docs/latest/>.
Extract coordinates from addresses, find places near a set of coordinates, search
for amenities and return spatial objects on 'sf' format.
for amenities and return spatial objects on sf format.
repository: https://CRAN.R-project.org/package=nominatimlite
repository-code: https://github.com/dieghernan/nominatimlite
url: https://dieghernan.github.io/nominatimlite/
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: nominatimlite
Title: Interface with 'Nominatim' API Service
Version: 0.1.5.9000
Version: 0.1.6
Authors@R: c(
person("Diego", "Hernangómez", , "[email protected]", role = c("aut", "cre", "cph"),
comment = c(ORCID = "0000-0001-8457-4658")),
Expand Down
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# nominatimlite (development version)
# nominatimlite 0.1.6

- Improve results when there is no response of the API.

Expand Down
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,19 +195,18 @@ the parameters available.

To cite the ‘nominatimlite’ package in publications use:

Hernangómez D (2022). *nominatimlite: Interface with ‘Nominatim’ API
Service*. <doi:10.5281/zenodo.5113195>
<https://doi.org/10.5281/zenodo.5113195>,
<https://dieghernan.github.io/nominatimlite/>.
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

@Manual{,
@Manual{R-nominatimlite,
title = {nominatimlite: Interface with 'Nominatim' API Service},
author = {Diego Hernangómez},
year = {2022},
version = {0.1.5.9000},
version = {0.1.6},
doi = {10.5281/zenodo.5113195},
url = {https://dieghernan.github.io/nominatimlite/},
abstract = {Lite interface for getting data from 'OSM' service 'Nominatim' <https://nominatim.org/release-docs/latest/>. Extract coordinates from addresses, find places near a set of coordinates, search for amenities and return spatial objects on 'sf' format.},
abstract = {Lite interface for getting data from OSM service Nominatim <https://nominatim.org/release-docs/latest/>. Extract coordinates from addresses, find places near a set of coordinates, search for amenities and return spatial objects on sf format.},
}
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/dieghernan/nominatimlite",
"issueTracker": "https://github.com/dieghernan/nominatimlite/issues",
"license": "https://spdx.org/licenses/MIT",
"version": "0.1.5.9000",
"version": "0.1.6",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
"url": "https://r-project.org"
},
"runtimePlatform": "R version 4.2.0 (2022-04-22)",
"runtimePlatform": "R version 4.2.0 (2022-04-22 ucrt)",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
Expand Down 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": "411.004KB",
"fileSize": "215.392KB",
"citation": [
{
"@type": "SoftwareSourceCode",
Expand Down
Binary file modified data/osm_amenities.rda
Binary file not shown.
8 changes: 7 additions & 1 deletion inst/CITATION
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
year <- format(Sys.time(), "%Y")
abs <- trimws(gsub("\\s+", " ", meta$Description))
abs <- gsub("'", "", abs)


bibentry(
"Manual",
header = "To cite the 'nominatimlite' package in publications use:",
title = paste("nominatimlite:", meta$Title),
author = person("Diego", "Hernangómez"),
year = year,
key = "R-nominatimlite",
version = meta$Version,
doi = "10.5281/zenodo.5113195",
url = unlist(strsplit(meta$URL, ","))[1],
abstract = abs
abstract = abs,
textVersion = paste0("Hernangomez D (",year,"). _nominatimlite: ",
gsub("'", "", meta$Title),"_. <https://doi.org/10.5281/zenodo.5113195>, <",
unlist(strsplit(meta$URL, ","))[1],">")
)
Binary file modified man/figures/README-line-object-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-penta-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-pizzahut-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/penta-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/pizzahut-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 9046842

Please sign in to comment.