Skip to content

ulex

Unique Location Extractor

v0.1.1 · Feb 13, 2026 · MIT + file LICENSE

Description

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>.

Downloads

CRAN

218

Last 30 days

20401st

646

Last 90 days

2.1K

Last year

Trend: +19.8% (30d vs prior 30d)

r2u CRAN

9

Last 30 days

27

Last 90 days

109

Last year

Trend: -47.1% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 7, 2026
ERROR r-devel-linux-x86_64-debian-gcc

examples

Running examples in ‘ulex-Ex.R’ failed
The error occurred in:

Fatal error: cannot create 'R_TempDir'
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies dplyr tidyr readr purrr tidytext stringr stringi ngram hunspell stringdist tm raster sf quanteda geodist +1 more dependencies ulex

Version History

3 tracked
new 0.1.1 Mar 10, 2026
updated 0.1.1 ← 0.1.0 diff Feb 12, 2026
new 0.1.0 Jun 16, 2024