build_Web_of_Knowledge_query: Search Query Builder for WoK

Description Usage Arguments Details Value Author(s) Examples

View source: R/build_Web_of_Knowledge_query.R

Description

Builds a String for the Web of Knowledge Advanced Search that contains all DOIs given as Input

Usage

1

Arguments

DOIvector

Details

Vektor with DOIs as Strings

Value

String in the format of CO=(X1 OR X2 OR ... OR Xn)

Author(s)

MFinst

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (DOIvector)
{
    result = "DO=("
    for (i in 1:length(DOIvector)) {
        if (DOIvector[i] != "") {
            result = paste(result, DOIvector[i], " OR ", sep = "")
        }
    }
    result = substr(result, 1, nchar(result) - 3)
    return(paste(result, ")", sep = ""))
  }

mfinst/TM-CoCit-Support-FM documentation built on March 4, 2020, 8:38 p.m.