Package: ulex Title: Unique Location Extractor Version: 0.1.1 Authors@R: person("Robert", "Marty", , "rmarty@worldbank.org", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-3164-3813")) 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) . License: MIT + file LICENSE Encoding: UTF-8 RoxygenNote: 7.3.3 Depends: R (>= 4.1.0) Imports: dplyr, tidyr, readr, purrr, tidytext, stringr, stringi, ngram, hunspell, stringdist, tm, raster, parallel, sf, quanteda, geodist, spacyr, utils URL: https://dime-worldbank.github.io/ulex/ NeedsCompilation: no Packaged: 2026-10-22 15:32:39 UTC; root Author: Robert Marty [aut, cre] (ORCID: ) Maintainer: Robert Marty Config/pak/sysreqs: libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev libicu-dev libpng-dev libxml2-dev libssl-dev libproj-dev python3 libsqlite3-dev libudunits2-dev libx11-dev Repository: https://cranhaven.r-universe.dev Date/Publication: 2026-10-22 02:02:00 UTC RemoteUrl: https://github.com/cranhaven/cranhaven.r-universe.dev RemoteRef: package/ulex RemoteSha: 2d31def402e215cc498f4f7f660b63554d2a5606 RemoteSubdir: ulex