tabulate_sdg_keywords: Tabulate SDG keywords

tabulate_sdg_keywordsR Documentation

Tabulate SDG keywords

Description

Tabulate all SDG keywords that exist in a given text for a given goal.

Usage

tabulate_sdg_keywords(
  text,
  goal_num,
  keywords = "elsevier100",
  count_repeats = FALSE
)

Arguments

text

The target text to check SDG keywords

goal_num

The SDG goal we intend to check keywords for

keywords

The specific data set from which to draw keywords (ex. "elsevier", "sdsn")

count_repeats

Whether or not to count repeats for the keywords

Value

A vector of keywords representing a particular SDG

Examples

tabulate_sdg_keywords("Poverty entails more than the lack of income and productive resources
to ensure sustainable livelihoods.", 1)

pwu97/SDGmapR documentation built on May 13, 2022, 6:03 a.m.