library(stringr)
# Basic usage - compute and print
info("lugal-e")
# Store the result for further processing
result <- info("an-ki")
result
# Access the underlying data frame
result$sign
result$name
# Print with and without flattened separators
result <- info("(an)na")
print(result)
print(result, flatten = TRUE)
# Using a custom mapping table
path <- system.file("extdata", "etcsl_mapping.txt", package = "sumer")
my_mapping <- read.csv2(path, sep=";", na.strings="")
info("an-ki", mapping = my_mapping)
Run the code above in your browser using DataLab