toxbootGetMySQLFields: Function to query toxboot results from MySQL

Description Usage Arguments Details Examples

Description

toxbootGetMySQLFields queries the toxboot MySQL table and returns a data.table with the requested results

Usage

1
toxbootGetMySQLFields(fields = "*", table_name = "toxboot", ...)

Arguments

fields

a vector specifying which columns to return. Default to '*' which will return all columns

table_name

the name of the table to query. By default 'toxboot'.

...

parameters to query on. Format is query_field = query_values.

Details

Use the fields parameters to specify which columns to return. The parameter 'table_name' defaults to 'toxboot' which is the default table for writing and reading results. All other parameters will be passed as values to select on.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Not run: 
toxbootmc(dat = erl3data,
          m4ids = unique(erl3data[, m4id])[1:50],
          boot_method = "smooth",
          destination = "mysql",
          replicates = 10,
          cores = 8)
toxbootGetMySQLFields()
toxbootGetMySQLFields(m4id = 1288500)
toxbootGetMySQLFields(m4id = 1288500, fields = c("boot_method", "hill_ga"))
toxbootGetMySQLFields(m4id = 1288500, replicates = 10, fields = c("boot_method", "hill_ga"))

## End(Not run)

ericwatt/toxboot documentation built on May 16, 2019, 8:41 a.m.