count_sdg_weights | R Documentation |
For a given SDG, determine the total weights of the keywords that exist in the text.
count_sdg_weights(text, sdg, keywords = "elsevier100", count_repeats = FALSE)
text |
The target text to map SDG keywords |
sdg |
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 repeat weights for the keywords |
A number representing the total weight of words for an SDG
count_goal(text = "Poverty entails more than the lack of income and productive resources to ensure sustainable livelihoods.", sdg = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.