REDCapTidieR1.2.0 package

Extract 'REDCap' Databases into Tidy 'Tibble's

add_event_mapping

Supplement a supertibble from a longitudinal database with information...

add_labelled_xlsx_features

Add labelled features to write_redcap_xlsx

add_metadata_sheet

Add the metadata sheet

add_metadata

Supplement a supertibble with additional metadata fields

add_partial_keys

Add partial key helper variables to dataframes

add_skimr_metadata

Add skimr metrics to a supertibble's metadata

add_supertbl_toc

Add the supertbl table of contents sheet

apply_labs_factor

Apply factor labels to a vector

apply_labs_haven

Apply haven value labels to a vector

as_supertbl

Add supertbl S3 class

bind_supertbl_metadata

Bind supertbl metadata

bind_tibbles

Extract data tibbles from a REDCapTidieR supertibble and bind them to ...

calc_metadata_stats

Utility function to calculate summary for each tibble in a supertibble

check_data_arg_exists

Check requested data argument exists in REDCap data

check_equal_col_summaries

Check equal distinct values between two columns

check_extra_field_values

Check data field for field values not in metadata

check_field_is_logical

Parse logical field and compile data for warning if parsing errors occ...

check_fields_are_checkboxes

Check fields are of checkbox field type

check_fields_exist

Check fields exist for checkbox combination

check_file_exists

Check if file already exists

check_forms_exist

Check that all requested instruments are in REDCap project metadata

check_labelled

Check if labelled

check_metadata_fields_exist

Check metadata fields exist for checkbox combination

check_parsed_labels

Check that parsed labels are not duplicated

check_redcap_populated

Check that a supplied REDCap database is populated

check_repeat_and_nonrepeat

Check for instruments that have both repeating and non-repeating struc...

check_req_labelled_metadata_fields

Check that all metadata tibbles within a supertibble contain `field_na...

check_user_rights

Check for possible API user privilege issues

checkmate

Check an argument with checkmate

clean_redcap_long

Extract longitudinal REDCap databases into tidy tibbles

clean_redcap

Extract non-longitudinal REDCap databases into tidy tibbles

combine_and_repair_tbls

Combine checkbox fields with respect to repaired outputs

combine_checkboxes

Combine Checkbox Fields into a Single Column

convert_checkbox_vals

Convert a new checkbox column's values

convert_mixed_instrument

Convert Mixed Structure Instruments to Repeating Instruments

create_repeat_instance_vars

Utility function to convert redcap repeat instance columns into approp...

db_has_repeat_forms

Check whether a REDCap database has repeat forms

distill_nonrepeat_table_long

Extract non-repeat tables from longitudinal REDCap databases

distill_nonrepeat_table

Extract non-repeat tables from non-longitudinal REDCap databases

distill_repeat_table_long

Extract repeat tables from longitudinal REDCap databases

distill_repeat_table

Extract repeat tables from non-longitudinal REDCap databases

extract_metadata_tibble

Extract a specific metadata tibble from a supertibble

extract_tibble

Extract a single data tibble from a REDCapTidieR supertibble

extract_tibbles

Extract data tibbles from a REDCapTidieR supertibble into a list

format_error_val

Format value for error message

format-helpers

Format REDCap variable labels

get_fields_to_drop

Determine fields included in REDCapR::redcap_read_oneshot output tha...

get_metadata_spec

Get metadata specification table

get_mixed_structure_fields

Get Mixed Structure Instrument List

get_record_id_field

Utility function to extract the name of the project identifier field f...

get_repeat_event_types

Add identification for repeat event types

invert_vec

Swap vector names for values

is_labelled

Determine if an object is labelled

link_arms

Link longitudinal REDCap instruments with their events/arms

make_labelled

Apply variable labels to a REDCapTidieR supertibble

make_skimr_labels

Make skimr labels from default skimr outputs

multi_choice_to_labels

Update multiple choice fields with label data

parse_labels

Parse labels from REDCap metadata into usable formats

parse_logical_cols

Convert yesno, truefalse, and checkbox fields to logical

read_redcap

Import a REDCap database into a tidy supertibble

REDCapTidieR-package

REDCapTidieR: Extract 'REDCap' Databases into Tidy 'Tibble's

release_questions

Additional release questions

remove_empty_rows

Remove rows with empty data

replace_true

Replace checkbox TRUEs with raw_or_label values

resolve_formatter

Convert user input into label formatting function

safe_set_variable_labels

Safely set variable labels

skim_data

Apply applicable skimmers to data

strip_html_field_embedding

Remove html tags and field embedding logic from a string

supertbl_recode

Recode fields using supertbl metadata

tbl_sum.redcap_supertbl

Provide a succinct summary of an object

try_redcapr

Make a REDCapR API call with custom error handling

update_data_col_names

Correctly label variables belonging to checkboxes with minus signs

update_field_names

Update metadata field names for checkbox handling

vec_ptype_abbr.redcap_supertbl

Vector type as a string

write_redcap_xlsx

Write Supertibbles to XLSX

Convert 'REDCap' exports into tidy tables for easy handling of 'REDCap' repeat instruments and event arms.

  • Maintainer: Richard Hanna
  • License: MIT + file LICENSE
  • Last published: 2024-10-23