Import Data from EDC Software
Overview
A convenient toolbox to import data exported from Electronic Data Capture (EDC) software 'TrialMaster'.
New features
- New function
compare_databases(), which compares the structure of several extractions of a database: added/removed columns, number of patients, etc (#26). See the examples for a demo. - Cache system is supported in all reading functions
read_all_csv(),read_all_sas(), andread_all_xpt()(#75). - New features in
edc_viewer(): - Support for multiple instances on different ports with custom datasets (#100, #114)\ For instance, you can now run
edc_viewer(data=lst(iris, mtcars), port=1212) - New button to browse all the column labels (#113).
Bug fixes & Improvements
- Fixed modifiers
edc_clean_names(),edc_unify_subjid(), andedc_split_mixed()so they don't strip database attributes (like project name) (#111). - Fixed
edc_data_stop()so it works without a SUBJID and defaults to no issue number (#109). - Fixed
assert_no_duplicate()so it works in table with both columnsSUBJIDandsubjid(#105). - Fixed bugs in
edc_left_join()with case-sensitivity on SUBJID (#108, #117).
Show all changes in 0.7.0Hide the rest of the changes in 0.7.0
- Improved
save_edc_data_warnings()with options to hide the resolved issues and to not include stops, and better default path (#107, #110, #112) - Improved reading functions so that all tables are sorted by SUBJID (#115).
- Improved reading functions so that each dataset has a
labelattribute, taken fromFORMDESCorCRFNAME(#118). - Improved
edc_swimmerplot()by removingoriginby default (#106). - Improved
edc_swimmerplot()by adding argumentsorigin_funto summariseoriginat patient level using, anddata_listto control the datasets. - Improved
edc_warn_extraction_date()with a strict unit "days". - Improved
save_plotly()with a glue syntax for parameterfile.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 45 (4 internal)includes a package overview page
- Examples that run
- 75%24 run in a plain check · 7 never run · 1 hold no code
- Exported functions with examples
- 74%
- Documented parameters
- 93%
- Return-value docs
- 93%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 18
- Median days to close, 50 most recently updated closed PRs
- 0
Issues over time
PRs over time
Commits over time
11 development-tooling and community-health practices detected across 7 families in the upstream repository
Checks run against github.com/danchaltiel/edcimport on 2026-10-18.
The R CMD check workflow runs on Windows, and on R-devel
GitHub Pages site last deployed 2026-09-09 · The repository has a site deploy workflow
pkgdown site last built 2026-09-09
Show all practicesHide 3 practices
This repository shows signs of AI coding tools.
- Codexfirst seen 2025-12-28Pull request it wrote: opened by a project member
Dependencies
Installing EDCimport adds 44 packages (24 with compiled code, 33 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, isoband 1.5 MB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.7.0Latest2026-01-10 · current release · diff ↗ ·
added 3 exports
compare_databases, edc_example_multiple, get_project_name - 0.6.02025-06-24 · diff ↗ ·
removed 11 exports
build_lookup, edc_example_ae, edc_example_mixed, extend_lookup, get_crfname_cols, get_key_cols, get_meta_cols, get_subjid_cols, load_as_list, save_list, split_mixed_datasetsadded 14 exports
edc_clean_names, edc_crf_plot, edc_find_column, edc_find_value, edc_full_join, edc_left_join, edc_patient_gridplot, edc_right_join, edc_split_mixed, edc_unify_subjid, edc_viewer, load_database, save_edc_data_warnings, set_project_name - RR 4.5.0 released · 2025-04-11
- unarchivedReturned to CRAN2024-11-14
- 0.5.22024-11-14 · diff ↗
- archivedRemoved from CRAN2024-11-13issues were not corrected in time
- 0.5.12024-10-31 · diff ↗
- 0.5.02024-10-24 · diff ↗ ·
added 30 exports
assert_no_rows, build_lookup, crf_status_plot, edc_browse_excel, edc_data_stop, edc_data_warn, edc_data_warnings, edc_db_to_excel, edc_example_ae, edc_inform_code, edc_lookup, edc_pal_crf, edc_population_plot, edc_warn_extraction_date, edc_warn_patient_diffs, fct_yesno, get_common_cols, get_crfname_cols, get_meta_cols, get_subjid_cols, harmonize_subjid, lastnews_table, read_all_csv, read_all_sas, read_all_xpt, save_plotly, save_sessioninfo, search_for_newer_data, select_distinct, table_format - RR 4.4.0 released · 2024-04-24
- 0.4.12023-12-19 · diff ↗
- unarchivedReturned to CRAN2023-12-11
- 0.4.02023-12-11 · diff ↗ ·
removed 2 exports
extract_7z, get_7z_diradded 9 exports
assert_no_duplicate, check_subjid, edc_example, edc_options, edc_peek_options, edc_reset_options, manual_correction, reset_manual_correction, tibble - archivedRemoved from CRAN2023-06-03issues were not corrected in time
- 0.3.02023-05-19 · diff ↗ ·
added 8 exports
edc_example_mixed, edc_example_plot, edc_swimmerplot, extend_lookup, get_datasets, get_key_cols, split_mixed_datasets, unify - RR 4.3.0 released · 2023-04-21
Show 2 earlier eventsHide 2 earlier events
- 0.2.12022-12-02
- RR 4.2.0 released · 2022-04-22
Package metadata
- First published
- 2022-12-02
- Total releases
- 9 / 4 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 3.6.0
- Download size
- 3.2 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("EDCimport")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.