Learn R Programming

toxboot (version 0.2.0)

toxbootGetMySQLFields: Function to query toxboot results from MySQL

Description

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

Usage

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

Run this code
# 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"))
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab