unstruwwel {unstruwwel} | R Documentation |
Detect and Parse Historic Dates
Description
Detect and Parse Historic Dates, e.g., to ISO 8601:2-2019.
Usage
unstruwwel(
x,
language = NULL,
verbose = TRUE,
scheme = "time-span",
fuzzify = c(0, 0)
)
Arguments
x |
Input vector. Either a character vector, or something coercible to one. |
language |
Language code of the input vector as defined in
ISO 639-1. If |
verbose |
If |
scheme |
Scheme code of the output list. Either |
fuzzify |
A numerical vector of length 2 to extend the interval
of approximate or uncertain time periods. This is only applied if
|
Value
A named list of vectors or objects of R6Class
.
Note
Although multiple languages can be detected, only dominant ones are ultimately set.
Examples
if (interactive()) {
unstruwwel("1. Hälfte 19. Jahrhundert", language = "de")
unstruwwel("circa between 1901 and 1905", language = "en")
}
[Package unstruwwel version 0.2.0 Index]