read: Reads a data set from jamovi

View source: R/main.R View source: R/main.R

readR Documentation

Reads a data set from jamovi

Description

Reads a data set from jamovi

Usage

read(id, columns)

Arguments

id

the number, or the title of the data set to read

columns

(optional) only reads the columns named

Value

the data set as a data frame

Examples

## Not run: 
jmvconnect::what()

#  Available Data Sets
#  -------------------------------------
#         Title           Rows    Cols
#  -------------------------------------
#    1    iris             150       5
#    2    Tooth Growth      60       3
#  -------------------------------------

data <- jmvconnect::read('Tooth Growth')

# or

data <- jmvconnect::read(2)

## End(Not run)

jmvconnect documentation built on June 9, 2022, 9:05 a.m.

Related to read in jmvconnect...