Skip to content

Commit

Permalink
Update docs with pkgdev
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 7, 2025
1 parent 94249c3 commit b84bfa6
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 26 deletions.
31 changes: 17 additions & 14 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ preferred-citation:
email: [email protected]
orcid: https://orcid.org/0000-0001-8457-4658
doi: 10.32614/CRAN.package.nominatimlite
year: '2024'
year: '2025'
version: 0.4.2
url: https://dieghernan.github.io/nominatimlite/
abstract: Lite interface for getting data from OSM service Nominatim <https://nominatim.org/release-docs/latest/>.
Expand Down Expand Up @@ -69,7 +69,7 @@ references:
institution:
name: R Foundation for Statistical Computing
address: Vienna, Austria
year: '2024'
year: '2025'
version: '>= 3.6.0'
- type: software
title: dplyr
Expand All @@ -94,7 +94,7 @@ references:
given-names: Davis
email: [email protected]
orcid: https://orcid.org/0000-0003-4777-038X
year: '2024'
year: '2025'
doi: 10.32614/CRAN.package.dplyr
version: '>= 1.0.0'
- type: software
Expand All @@ -108,7 +108,10 @@ references:
given-names: Jeroen
email: [email protected]
orcid: https://orcid.org/0000-0002-4035-0289
year: '2024'
year: '2025'
identifiers:
- type: url
value: https://arxiv.org/abs/1403.2805
doi: 10.32614/CRAN.package.jsonlite
version: '>= 1.7.0'
- type: software
Expand All @@ -122,7 +125,7 @@ references:
given-names: Edzer
email: [email protected]
orcid: https://orcid.org/0000-0001-8049-7069
year: '2024'
year: '2025'
doi: 10.32614/CRAN.package.sf
version: '>= 0.9.0'
- type: software
Expand All @@ -134,7 +137,7 @@ references:
institution:
name: R Foundation for Statistical Computing
address: Vienna, Austria
year: '2024'
year: '2025'
- type: software
title: arcgeocoder
abstract: 'arcgeocoder: Geocoding with the ''ArcGIS'' REST API Service'
Expand All @@ -146,7 +149,7 @@ references:
given-names: Diego
email: [email protected]
orcid: https://orcid.org/0000-0001-8457-4658
year: '2024'
year: '2025'
doi: 10.32614/CRAN.package.arcgeocoder
- type: software
title: ggplot2
Expand Down Expand Up @@ -186,7 +189,7 @@ references:
given-names: Teun
name-particle: van den
orcid: https://orcid.org/0000-0002-9335-7468
year: '2024'
year: '2025'
doi: 10.32614/CRAN.package.ggplot2
version: '>= 3.0.0'
- type: software
Expand All @@ -200,7 +203,7 @@ references:
given-names: Yihui
email: [email protected]
orcid: https://orcid.org/0000-0003-0645-5666
year: '2024'
year: '2025'
doi: 10.32614/CRAN.package.knitr
- type: software
title: lifecycle
Expand All @@ -216,7 +219,7 @@ references:
given-names: Hadley
email: [email protected]
orcid: https://orcid.org/0000-0003-4757-117X
year: '2024'
year: '2025'
doi: 10.32614/CRAN.package.lifecycle
- type: software
title: rmarkdown
Expand Down Expand Up @@ -260,7 +263,7 @@ references:
given-names: Richard
email: [email protected]
orcid: https://orcid.org/0000-0003-3925-190X
year: '2024'
year: '2025'
doi: 10.32614/CRAN.package.rmarkdown
- type: software
title: testthat
Expand All @@ -272,7 +275,7 @@ references:
- family-names: Wickham
given-names: Hadley
email: [email protected]
year: '2024'
year: '2025'
doi: 10.32614/CRAN.package.testthat
version: '>= 3.0.0'
- type: software
Expand All @@ -289,7 +292,7 @@ references:
- family-names: Wickham
given-names: Hadley
email: [email protected]
year: '2024'
year: '2025'
doi: 10.32614/CRAN.package.tibble
- type: software
title: tidygeocoder
Expand All @@ -314,6 +317,6 @@ references:
given-names: Daniel
email: [email protected]
orcid: https://orcid.org/0000-0002-6738-9845
year: '2024'
year: '2025'
doi: 10.32614/CRAN.package.tidygeocoder

20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,11 +170,11 @@ Only latitude and longitude are returned from the geocoder service in
this example, but `full_results = TRUE` can be used to return all of the
data from the geocoder service.

| query | latitude | longitude | address |
|:---|---:|---:|:---|
| 1600 Pennsylvania Ave NW, Washington, DC | 38.89770 | -77.03655 | White House, 1600, Pennsylvania Avenue Northwest, Ward 2, Washington, District of Columbia, 20500, United States |
| query | latitude | longitude | address |
|:-------------------------------------------|---------:|-----------:|:------------------------------------------------------------------------------------------------------------------|
| 1600 Pennsylvania Ave NW, Washington, DC | 38.89770 | -77.03655 | White House, 1600, Pennsylvania Avenue Northwest, Ward 2, Washington, District of Columbia, 20500, United States |
| 600 Montgomery St, San Francisco, CA 94111 | 37.79519 | -122.40279 | Transamerica Pyramid, 600, Montgomery Street, Financial District, San Francisco, California, 94111, United States |
| 233 S Wacker Dr, Chicago, IL 60606 | 41.87874 | -87.63596 | Willis Tower, 233, South Wacker Drive, Printer’s Row, Loop, Chicago, Cook County, Illinois, 60606, United States |
| 233 S Wacker Dr, Chicago, IL 60606 | 41.87874 | -87.63596 | Willis Tower, 233, South Wacker Drive, Printer’s Row, Loop, Chicago, Cook County, Illinois, 60606, United States |

To perform reverse geocoding (obtaining addresses from geographic
coordinates), we can use the `reverse_geo_lite()` function. The
Expand All @@ -191,11 +191,11 @@ reverse <- reverse_geo_lite(
#> | | | 0% | |================= | 33% | |================================= | 67% | |==================================================| 100%
```

| address_found | lat | lon |
|:---|---:|---:|
| White House, 1600, Pennsylvania Avenue Northwest, Ward 2, Washington, District of Columbia, 20500, United States | 38.89770 | -77.03655 |
| address_found | lat | lon |
|:------------------------------------------------------------------------------------------------------------------|---------:|-----------:|
| White House, 1600, Pennsylvania Avenue Northwest, Ward 2, Washington, District of Columbia, 20500, United States | 38.89770 | -77.03655 |
| Transamerica Pyramid, 600, Montgomery Street, Financial District, San Francisco, California, 94111, United States | 37.79519 | -122.40279 |
| Willis Tower, 233, South Wacker Drive, Printer’s Row, Loop, Chicago, Cook County, Illinois, 60606, United States | 41.87874 | -87.63596 |
| Willis Tower, 233, South Wacker Drive, Printer’s Row, Loop, Chicago, Cook County, Illinois, 60606, United States | 41.87874 | -87.63596 |

For more advance users, see [Nominatim
docs](https://nominatim.org/release-docs/latest/api/Search/) to check
Expand All @@ -204,7 +204,7 @@ the parameters available.
## Citation

<p>
Hernangómez D (2024). <em>nominatimlite: Interface with Nominatim API
Hernangómez D (2025). <em>nominatimlite: Interface with Nominatim API
Service</em>.
<a href="https://doi.org/10.32614/CRAN.package.nominatimlite">doi:10.32614/CRAN.package.nominatimlite</a>,
<a href="https://dieghernan.github.io/nominatimlite/">https://dieghernan.github.io/nominatimlite/</a>.
Expand All @@ -216,7 +216,7 @@ A BibTeX entry for LaTeX users is
title = {{nominatimlite}: Interface with {Nominatim} {API} Service},
doi = {10.32614/CRAN.package.nominatimlite},
author = {Diego Hernangómez},
year = {2024},
year = {2025},
version = {0.4.2},
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 and return spatial objects on sf format.},
Expand Down
4 changes: 2 additions & 2 deletions codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -220,11 +220,11 @@
},
"applicationCategory": "cartography",
"keywords": ["r", "geocoding", "openstreetmap", "address", "nominatim", "reverse-geocoding", "rstats", "shapefile", "r-package", "spatial", "cran", "api-wrapper", "api", "gis"],
"fileSize": "244.554KB",
"fileSize": "246.942KB",
"citation": [
{
"@type": "SoftwareSourceCode",
"datePublished": "2024",
"datePublished": "2025",
"author": [
{
"@type": "Person",
Expand Down
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-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 b84bfa6

Please sign in to comment.