Learn R Programming

discoverableresearch (version 0.0.1)

format_keywords: Format input keywords

Description

Convert string of keywords with separator into a vector

Usage

format_keywords(keywords, sep = ";")

Arguments

keywords

The article keywords: a vector of strings

sep

Character that separates keywords in a single string

Value

A vector of lowercase keywords

Examples

Run this code
# NOT RUN {
keywords <- c("Systematic mapping; 
  Evidence-based environmental management; 
  Systematic evidence synthesis; 
  Evidence review; 
  Knowledge gaps; 
  Knowledge clusters")
newkeywords <- format_keywords(keywords, sep = ";")
newkeywords;
# }

Run the code above in your browser using DataLab