Package: EDCimport 0.5.0

Dan Chaltiel

EDCimport: Import Data from EDC Software

A convenient toolbox to import data exported from Electronic Data Capture (EDC) software 'TrialMaster'.

Authors:Dan Chaltiel [aut, cre]

EDCimport_0.5.0.tar.gz
EDCimport_0.5.0.tar.gz(r-4.5-noble)EDCimport_0.5.0.tar.gz(r-4.4-noble)
EDCimport_0.5.0.tgz(r-4.4-emscripten)EDCimport_0.5.0.tgz(r-4.3-emscripten)
EDCimport.pdf |EDCimport.html
EDCimport/json (API)
NEWS

# Install 'EDCimport' in R:
install.packages('EDCimport', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/danchaltiel/edcimport/issues

2.18 score 4 scripts 233 downloads 55 exports 49 dependencies

Last updated 6 days agofrom:7a9b64e2ba. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKOct 25 2024
R-4.5-linuxOKOct 25 2024

Exports:%>%assert_no_duplicateassert_no_rowsbuild_lookupcheck_subjidcrf_status_plotedc_browse_exceledc_data_stopedc_data_warnedc_data_warningsedc_db_to_exceledc_exampleedc_example_aeedc_example_mixededc_example_plotedc_inform_codeedc_lookupedc_optionsedc_pal_crfedc_peek_optionsedc_population_plotedc_reset_optionsedc_swimmerplotedc_warn_extraction_dateedc_warn_patient_diffsextend_lookupfct_yesnofind_keywordget_common_colsget_crfname_colsget_datasetsget_key_colsget_lookupget_meta_colsget_subjid_colsharmonize_subjidlastnews_tableload_as_listload_listmanual_correctionread_all_csvread_all_sasread_all_xptread_tm_all_xptread_trialmasterreset_manual_correctionsave_listsave_plotlysave_sessioninfosearch_for_newer_dataselect_distinctsplit_mixed_datasetstable_formattibbleunify

Dependencies:bitbit64clicliprcolorspacecpp11crayondplyrfansifarverforcatsfsgenericsggplot2gluegtablehavenhmsisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigprettyunitsprogresspurrrR6RColorBrewerreadrrlangscalesstringistringrtibbletidyrtidyselecttzdbutf8vctrsviridisLitevroomwithr

Readme and manuals

Help Manual

Help pageTopics
Assert that a dataframe has one row per patientassert_no_duplicate
Generate a lookup tablebuild_lookup
Show the current CRF status distributioncrf_status_plot edc_pal_crf
Example databasesdata_example edc_example edc_example_ae edc_example_mixed edc_example_plot
Standardized warning systemassert_no_rows edc_data_stop edc_data_warn edc_data_warnings
Save the database as an Excel fileedc_browse_excel edc_db_to_excel
Shows how many code you wroteedc_inform_code
Retrieve the lookup table from optionsedc_lookup get_lookup
Set global options for 'EDCimport'edc_options
See which 'EDCimport' option is currently set.edc_peek_options
Plot the populationsedc_population_plot
Reset all 'EDCimport' options.edc_reset_options
Swimmer plot of all dates columnsedc_swimmerplot
Warn if extraction is too oldedc_warn_extraction_date
Check the validity of the subject ID columncheck_subjid edc_warn_patient_diffs
Extend the lookup tableextend_lookup
Format factor levels as Yes/Nofct_yesno
Find a keyword in the whole databasefind_keyword
Get columns that are common to multiple datasetsget_common_cols summary.common_cols
Retrieve the datasets as a list of data.framesget_datasets
Important column namesget_key_cols
Get columns shared by most datasetsget_meta_cols
Get key column namesget_crfname_cols get_subjid_cols
Harmonize the subject ID of the databaseharmonize_subjid
Get a table with the latest date for each patientlastnews_table
Load a '.RData' file as a listload_as_list
Load a list in an environmentload_list
Manual correctionmanual_correction reset_manual_correction
Read all '.csv' files in a directoryread_all_csv
Read all '.sas7bdat' files in a directoryread_all_sas
Read all '.xpt' files in a directoryread_all_xpt read_tm_all_xpt
Read the '.zip' archive of a TrialMaster exportread_trialmaster
Save a list as '.RData' filesave_list
Save a plotly to an HTML filesave_plotly
Save 'sessionInfo()' outputsave_sessioninfo
Search for newer datasearch_for_newer_data
Select only distinct columnsselect_distinct
Split mixed datasetssplit_mixed_datasets
Identify if a dataframe has a long or a wide formattable_format
Unify a vectorunify