getData: extract data from wwhypda database

Description Usage Arguments Value Examples

View source: R/function_getData.R

Description

getData queries the wwhypda database according to specifications of site name, rock type, and parameter of interest and returns data as a dataframe.

Usage

1
2
getData(rockType = NULL, param = NULL, site = NULL,
  viewInfo = FALSE)

Arguments

rockType

a character indicating rock type. if left blank, data from all rock types returned.

param

a character indicating parameter. if left blank, data from all parameters returned.

site

the name of the site from which data are available. if left blank, data from all site returned.

viewInfo

logical; if TRUE, calls viewInfor(), returns list of rock types, parameters, and sites

Value

data queried from the wwhypda database as a dataframe

Examples

1
my_data <- getData(rockType = "Sandstone, channel", param = "porosity")

GeoStat-Bayesian/geostatDB documentation built on Oct. 30, 2019, 6:28 p.m.