get.sapa: get.sapa

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

Imports a single Synthetic Aperture Personality Assessment (i.e., SAPA) table from MySQL into R.

Usage

1
get.sapa(table.name, con, filename, write = TRUE)

Arguments

table.name

Desired MySQL table in quotes (e.g., 'TAI...').

user

SAPA MySQL username

password

SAPA MySQL password

con

Existing RMySQL connection. Output object of sapa.db()

filename

If write=TRUE, the desired filename to write.

write

Write the output of get.sapa() to an .Rdata file?

Details

See https://sapa-project.org/r/

Value

data

data.frame from MySQL table.

Author(s)

Jason A. French jason@sapa-project.org

References

https://sapa-project.org/r/

See Also

merge.sapa sapa.db make.sapa check.location

Examples

1
2
# con.active <- sapa.db('SAPAactive')
# TAIdata <- get.sapa(table.name='TAI_responses_052013',con=con.active)

frenchja/SAPATools documentation built on May 16, 2019, 2:47 p.m.