as: as.*

asR Documentation

as.*

Description

Coerce REDCapExporter objects to data.frame.

Usage

## S3 method for class 'rcer_raw_metadata'
as.data.frame(x, ...)

## S3 method for class 'rcer_raw_record'
as.data.frame(x, ...)

## S3 method for class 'rcer_raw_project'
as.data.frame(x, ...)

## S3 method for class 'rcer_raw_user'
as.data.frame(x, ...)

Arguments

x

any R object.

...

additional arguments to be passed to or from methods.

Details

These functions are S3 methods for as.data.frame for the raw exports from the REDCap API.

Examples


data("avs_raw_record")

avs_record <- as.data.frame(avs_raw_record)

str(avs_record)


REDCapExporter documentation built on April 4, 2025, 2:29 a.m.