powered by
Users Can Add Customized Patterns for Each SDG or Target
add_sdg_pattern(sdg_id, x, operator = "AND", quiet = FALSE)
A regerx string
SDG Goal's ID or Target's ID, in the format of 'SDGx_y', e.g., SDG1_1, SDG2_general
A vector of strings
'AND', 'OR' to combine a vector of keywords for identifying SDG Goals or Targets.
Logical. Suppress info message
terms_new <- c("improve", "farmer", "income") add_sdg_pattern(sdg_id = 'SDG1_2', x = terms_new, operator = 'AND')
Run the code above in your browser using DataLab