detect_region function

Detect country or region names in text for further mapping

Detect country or region names in text for further mapping

Detect country or region names in text for further mapping.

detect_region(x, col)

Arguments

  • x: Data frame or a string
  • col: Column name for text to be assessed

Returns

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)