findSDGs | R Documentation |
The findSDGs
function identify 17 Sustainable Development Goals and
associated targets in text.
df |
Data frame |
col |
Column name for text to be assessed |
In 2015, leaders worldwide adopted 17 Sustainable Development Goals (SDGs) with 169
targets to be achieved by 2030 (https://sdgs.un.org). The framework of SDGs serves
as a blueprint for shared prosperity for both people and the earth. findSDGs
identifies both direct and indirect expressions of SDGs and associated targets in
chunks of text. It takes a data frame with a specified column of text to process as
inputs and outputs a data frame with original columns plus matched SDGs and targets.
Data frame with the same information as df
and 18 extra columns: 17 columns marking
the number of occurrence of each of the 17 SDGs and one column match_detail
listing
details of specific targets.
my_text <- data.frame(my_col=c('our goal is to end poverty globally', 'this product contributes to slowing down climate change')) findSDGs(my_text, my_col)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.