Type: Package
Title: Connect to the 'jamovi' Statistical Spreadsheet
Version: 2.5.7
Date: 2024-07-06
Maintainer: Jonathon Love <jon@thon.cc>
Description: Methods to access data sets from the 'jamovi' statistical spreadsheet (see https://www.jamovi.org for more information) from R.
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
Imports: jmvcore (≥ 2.3.12), evaluate, rappdirs, httr, Rcpp (≥ 0.12.16)
LinkingTo: Rcpp, BH
RoxygenNote: 6.1.1
SystemRequirements: jamovi (>= 1.2.8)
NeedsCompilation: yes
Packaged: 2024-07-06 08:59:01 UTC; c3113592
Author: Jonathon Love [aut, cre]
Repository: CRAN
Date/Publication: 2024-07-06 09:30:02 UTC

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)