fetchConcertoData: Function to fetch data from Concerto

Description Usage Arguments Value Author(s)

Description

Returns candidate scores and demographics in a data frame format

Usage

1
fetchConcertoData(dbname, host, user, password, backup = FALSE, fetch = "scores")

Arguments

dbname

String containing the name of the database where the test is stored. E.g "concerto_2" for the UK version of Watson-Glaser. This information can be found in the spreadsheet "Concerto data collection" on Google Drive.

host

String containing the IP address of the Concerto server. This information can also be found in the spreadsheet "Concerto data collection" on Google Drive.

user

String containing the user name for accessing the database. To get access to this information, please email the author of this package.

password

String containing the password for accessing the database. To get access to this information, please email the author of this package.

backup

Boolean value - if TRUE (default), all candidate information from the server (tables candidate_summary and candidate_responses) will be stored as .csv files in the working directory.

fetch

String defining what data to fetch. If "scores" (default), the data will contain the scores matrix with 1 representing a correct response and 0 representing an incorrect response. If "responses", the data will instead contain participants' responses to the items.

Value

complete_data

A dataframe containing both demographic information and item scores from the concerto test. If you stored this in a dataframe called df, and you wish to save this as a .csv file in your working directory, type write.csv(df, file = "df.csv", na = "", row.names = FALSE) in the console and press Enter.

Author(s)

Morgan Strom, TalentLens UK


talentlens/talentlens documentation built on May 31, 2019, 2:52 a.m.