Skip to content

Convert data package variables to their native types

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

TalhoukLab/typeconv

Repository files navigation

typeconv

The goal of typeconv is to provide a consistent API for converting clinical data package variables back to their native types (e.g. character, factor, numeric, Date). Our deidentified, processed, clinical data are stored as data objects in R packages, where the class of each variable is the name of the R package. The main function of typeconv is to_native_type(), and allows for the conversion of variables back to native types.

Installation

You can install the development version of typeconv like so:

remotes::install_github("TalhoukLab/typeconv")

Example

This is a basic example of type conversion for the caEndometrial package:

library(typeconv)
data("emdb.ca", package = "caEndometrial")
dat <- to_native_type(emdb.ca)

About

Convert data package variables to their native types

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages