searchData: Extract dataset information based on a list of character...

Description Usage Arguments Value Details Examples

View source: R/searchData.R

Description

searchData finds the all datasets that contain the supplied string in the given dataset field

Usage

1
searchData(searchList = list(list("varname", "chl")))

Arguments

searchList

- A list of lists each list will contain the field to search and the search string

Value

dataframe with any matching information

Details

searchData will search for the given string in any of the fields dtypename,datasetname,longname,varname. Over the list of searches provided, the search sequentially refines the search result based on the next list in the list of lists.

It will return the following information about any dataset that matches the string:

Examples

1
2
3
4
list1 <- 'varname:x_wind'
list2 <- 'datasetname:8day'
mylist <- c(list1, list2)
searchResult <- searchData(mylist)

xtractomatic documentation built on May 2, 2019, 8:54 a.m.