Package 'jmvconnect'

Title: Connect to the 'jamovi' Statistical Spreadsheet
Description: Methods to access data sets from the 'jamovi' statistical spreadsheet (see <https://www.jamovi.org> for more information) from R.
Authors: Jonathon Love [aut, cre]
Maintainer: Jonathon Love <[email protected]>
License: GPL (>= 2)
Version: 2.5.7
Built: 2024-11-04 03:17:55 UTC
Source: https://github.com/cran/jmvconnect

Help Index


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)

Lists the data sets available from jamovi

Description

Lists the data sets available from jamovi. Data sets can then be read using the read() function.

Usage

what()

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)