Extracts coordinates of an event location from text based on dictionaries of landmarks, roads, and areas. Only returns the location of an event of interest and ignores other location references; for example, if determining the location of a road traffic crash from the text "crash near [location 1] heading towards [location 2]", only the coordinates of "location 1" would be returned. Moreover, accounts for differences in spelling between how a user references a location and how a location is captured in location dictionaries. For more information on the algorithm, see Milusheva et al. (2021) <doi:10.1371/journal.pone.0244317>.
| Version: | 0.1.1 |
| Depends: | R (≥ 4.1.0) |
| Imports: | dplyr, tidyr, readr, purrr, tidytext, stringr, stringi, ngram, hunspell, stringdist, tm, raster, parallel, sf, quanteda, geodist, spacyr, utils |
| Published: | 2026-02-13 |
| DOI: | 10.32614/CRAN.package.ulex |
| Author: | Robert Marty |
| Maintainer: | Robert Marty <rmarty at worldbank.org> |
| License: | MIT + file LICENSE |
| URL: | https://dime-worldbank.github.io/ulex/ |
| NeedsCompilation: | no |
| CRAN checks: | ulex results |
| Reference manual: | ulex.html , ulex.pdf |
| Package source: | ulex_0.1.1.tar.gz |
| Windows binaries: | r-devel: ulex_0.1.1.zip, r-release: ulex_0.1.1.zip, r-oldrel: ulex_0.1.1.zip |
| macOS binaries: | r-release (arm64): ulex_0.1.1.tgz, r-oldrel (arm64): ulex_0.1.1.tgz, r-release (x86_64): ulex_0.1.1.tgz, r-oldrel (x86_64): ulex_0.1.1.tgz |
| Old sources: | ulex archive |
Please use the canonical form https://CRAN.R-project.org/package=ulex to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.