detect_region {SDGdetector}R 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)


[Package SDGdetector version 2.7.3 Index]