{"id":13400964,"url":"https://github.com/ropensci/parzer","last_synced_at":"2025-10-22T05:59:25.428Z","repository":{"id":45431350,"uuid":"170767695","full_name":"ropensci/parzer","owner":"ropensci","description":"Parse geographic coordinates","archived":false,"fork":false,"pushed_at":"2025-09-11T19:09:52.000Z","size":349,"stargazers_count":64,"open_issues_count":9,"forks_count":7,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-22T05:59:21.293Z","etag":null,"topics":["geo","geospatial","parser","r","r-package","rstats"],"latest_commit_sha":null,"homepage":"https://docs.ropensci.org/parzer","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ropensci.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":"codemeta.json","zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-02-14T22:36:58.000Z","updated_at":"2025-09-22T10:37:25.000Z","dependencies_parsed_at":"2024-01-18T11:03:58.524Z","dependency_job_id":"23c18078-b352-4fa2-8286-93eb2f6af950","html_url":"https://github.com/ropensci/parzer","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/ropensci/parzer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2Fparzer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2Fparzer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2Fparzer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2Fparzer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ropensci","download_url":"https://codeload.github.com/ropensci/parzer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2Fparzer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280389299,"owners_count":26322507,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-22T02:00:06.515Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["geo","geospatial","parser","r","r-package","rstats"],"created_at":"2024-07-30T19:00:57.394Z","updated_at":"2025-10-22T05:59:25.423Z","avatar_url":"https://github.com/ropensci.png","language":"R","funding_links":[],"categories":["R"],"sub_categories":[],"readme":"---\ntitle: \"parzer\"\noutput: github_document\n---\n\n```{r echo=FALSE}\nknitr::opts_chunk$set(\n  comment = \"R\u003e\",\n  echo = TRUE,\n  output = TRUE,\n  collapse = TRUE,\n  eval = TRUE,\n  warning = FALSE\n)\n```\n\n[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)\n[![cran checks](https://badges.cranchecks.info/worst/parzer.svg)](https://cran.r-project.org/web/checks/check_results_parzer.html)\n[![R-CMD-check](https://github.com/ropensci/parzer/workflows/R-CMD-check/badge.svg)](https://github.com/ropensci/parzer/actions/)\n[![rstudio mirror downloads](https://cranlogs.r-pkg.org/badges/parzer)](https://github.com/r-hub/cranlogs.app)\n[![cran version](https://www.r-pkg.org/badges/version/parzer)](https://cran.r-project.org/package=parzer)\n\n[![codecov.io](https://codecov.io/github/ropensci/parzer/coverage.svg?branch=main)](https://app.codecov.io/github/ropensci/parzer?branch=main)\n\n[![Ropensci Peer Reviewed](https://badges.ropensci.org/341_status.svg)](https://github.com/ropensci/software-review/issues/341)\n\n[![CRAN DOI](https://img.shields.io/badge/DOI-10.32614%2FCRAN.package.parzer-blue)](https://doi.org/10.32614/CRAN.package.parzer)\n\n\n`parzer` parses messy geographic coordinates\n\nDocs: https://docs.ropensci.org/parzer/\n\nYou may get data from a published study or a colleague where the coordinates\nare in some messy character format that you'd like to clean up to get\nall decimal degree numeric data.\n\n## `parzer` usage\nFor example, parse latitude and longitude from messy character vectors.\n\n```{r echo=FALSE}\nlibrary(\"parzer\")\n```\n\n```{r}\nparse_lat(c(\"45N54.2356\", \"-45.98739874\", \"40.123°\"))\n```\n\n```{r}\nparse_lon(c(\"45W54.2356\", \"-45.98739874\", \"40.123°\"))\n```\nAnd you can even split and parse strings that contain latitude and longitude\ntogether.\n\n```{r}\nparse_llstr(c(\"4 51'36\\\"S, 101 34'7\\\"W\",\n              \"40.123°; 45W54.2356\"))\n```\n\nSee more in the [Introduction to the `parzer` package vignette](https://docs.ropensci.org/parzer/articles/parzer.html).\n\n## Installation\n\n### Stable version:\n\n```{r echo = TRUE, eval=FALSE}\ninstall.packages(\"parzer\")\n```\n\n### Development version:\n\n```{r echo = TRUE, eval=FALSE}\nremotes::install_github(\"ropensci/parzer\")\n```\n\n## List of functions:\n\n```{r echo=FALSE, comment=NA, results='asis'}\ncat(paste(\" -\", paste(sprintf(\"`%s`\", sort(getNamespaceExports(\"parzer\"))), collapse = \"\\n - \")))\n```\n\n\n## Similar art\n\n- `sp::char2dms`: is most similar to `parzer::parse_lat` and `parzer::parse_lon`.\nHowever, with `sp::char2dms` you have to specify the termination character for\neach of degree, minutes and seconds. `parzer` does this for the user.\n- `biogeo::dms2dd`: very unlike functions in this package. You must pass separate\ndegrees, minutes, seconds and direction to `dms2dd`. No exact analog is found in\n`parzer`, whose main focus is parsing messy geographic coordinates in strings to\na more machine readable version.\n\n## Meta\n\n* Please [report any issues or bugs](https://github.com/ropensci/parzer/issues).\n* License: MIT\n* Get citation information for `parzer` in R doing `citation(package = 'parzer')`\n* Please note that this package is released with a [Contributor Code of Conduct](https://ropensci.org/code-of-conduct/). By contributing to this project, you agree to abide by its terms.\n\n[![ropensci_footer](https://ropensci.org/public_images/ropensci_footer.png)](https://ropensci.org)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fropensci%2Fparzer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fropensci%2Fparzer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fropensci%2Fparzer/lists"}