detect_region: Detect country or region names in text for further mapping

View source: R/detect_region.R

detect_regionR Documentation

Detect country or region names in text for further mapping

Description

Detect country or region names in text for further mapping.

Usage

detect_region(x, col)

Arguments

x

Data frame or a string

col

Column name for text to be assessed

Value

Returns the tool text outputs.

Examples

x <- c("This paper explores the method and results from an independent
evidence based assessment of Australia's progress towards the SDGs",
"Last year alone, the United States experienced 14 separate billion-dollar
 disasters related to climate change")
col <- data.frame(x)
regions <- detect_region(x, col)


SDGdetector documentation built on May 31, 2023, 9:32 p.m.