An open API service indexing awesome lists of open source software.

https://github.com/ctsit/rdatil

REDCap data and metadata utilities for R
https://github.com/ctsit/rdatil

deprecated redcap

Last synced: 19 days ago
JSON representation

REDCap data and metadata utilities for R

Awesome Lists containing this project

README

          

# About - ARCHIVED

**This repository has been archived and is no longer actively maintained.**

This project was archived as of October 1, 2025. The project for which it was written is now over. There's no funding to provide further maintenance for other projects. Please don't hesitate to use this code in accordance with the license; however, the authors are unable to offer any additional support.

-----------

**REDCap** data and metadata utilities for R.

# Functions overview

`get_categorical_field_labels`: Generates a dataset with key-value pairs mapping variable names to their corresponding labels.

`standarize_metadata`: Standardizes variable names in the metadata file according to the [SpectrumHealthResearch](https://github.com/SpectrumHealthResearch/REDCapRITS/blob/master/R/R/REDCap_split.r) format.

`get_latest_data_file_names`: Obtains the latest downloaded data and metadata data filenames (in terms of date) from the provided from_directory based on the given pattern, as well as the date provided in their filenames.

`print_table`: Outputs a table with the percentage and count of the given factor input data.