Learn R Programming

REDCapExporter (version 0.3.0)

as: as.*

Description

Coerce REDCapExporter objects to data.frame.

Usage

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

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

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

# S3 method for 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

Run this code

data("avs_raw_record")

avs_record <- as.data.frame(avs_raw_record)

str(avs_record)

Run the code above in your browser using DataLab