map_sdgs_keywords: Map text to SDGs keywords

View source: R/functions.R

map_sdgs_keywordsR Documentation

Map text to SDGs keywords

Description

Return vector of keywords for SDGs 1 to 16

Usage

map_sdgs_keywords(df, keywords = "elsevier100", count_repeats = FALSE)

Arguments

df

Dataframe with a column 'text'

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

Original Dataframe plus 16 additional columns representing vectors of keywords for SDGs 1 to 16.

Examples

map_sdgs_keywords(df, keywords = "elsevier", count_repeats = TRUE)

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