NEWS.md
build_secuTrial_url()
now has optional parameter prefix
with default "apps/WebObjects/"
. (#263)\"
(#220, #261)
read_export_options()
now also reads enclosure character from header.print.secuTrialoptions()
now also prints enclosure character. Quote and Tabulator are now printed as '\"'
and '\t'
rather than '"'
and ' '
.read_export_table()
now uses readr::read_delim()
with options escape_backslash = TRUE
and quote = export_options$quote
read_export_table()
to read_secuTrial_raw()
(one warning per export file instead of several warnings for each table)read_export_options()
now reads only the first 10 lines to find the encoding. Reading all lines would fail if the export options were ISO-8859 encoded and contained ‘problematic’ characaters, e.g. in center names.encoding
option in plot_recruitment()
: Not needed here, as centres are read with correct encoding in read_secuTrial_raw()
and stored in the secuTrialR object.write_secuTrial()
no longer allows format = "sas"
due to deprecation of write_sas in haven
(version 2.5.2).read_secuTrial_raw
now produces a more explicit warning when ISO-8859 encoding is used. Recent changes in R seem to have reduced compatibility with this encoding.as.data.frame.secuTrialData()
to allow named character vectors as option data.frames
to specify custom names for data.frames (#250)read_export_table
etc allowing passing other options to read.table
(#240)dictionary_secuTrial
function for easy access a data dictionary (#241)formtablename
added to the output of visit_structure
for better reference between the table names and labels (#242)export_date
and export_datetime
for easier access to the export date (and time) (#246)read_export_options()
to work with exports from new secuTrial version (6.1.2.5 - 6.3.2.5) (#245)factorize_secuTrial()
back to 1.0.3 version due to problems with lookup table factorization (#224)tcltk
and igraph
dependency to suggested (#223)skip
parameter to read_validation_overview()
(#212)subset_secuTrial()
would drop labels during the subsetting process (#203)dates_secutrial()
and factorize_secutrial()
(#204)read_secuTrial()
failure message (#187)project_setup
in visit_structure()
(#181)export_options
(#182)annual_recruitment()
and return_random_participants()
(#182)return_random_participants()
(#151)read_secuTrial()
to indicate that the problem could be a rectangular export file (#168)export_options
(#171)return_hidden_items()
function (#172)label_secuTrial()
label_secuTrial()
print.secuTrialdata
is now wrapped at 80 charactersread_secuTrial()
and read_secuTrial_raw()
now check if the input file exists. (#137)factorize_secuTrial()
warning messages have been adjusted to improve trouble shooting experience. (#134, #135)dates_secuTrial()
incomplete date warnings are now concatenated and returned as one warning per form instead of many. (#124)factorize_secuTrial()
can now handle exports which have the reset option enabled in radio buttons.write_secuTrial()
now allows xpt version 8 files to be written. (closes #57)check_export_options()
function was added. It informs on deviations from suggested export options. (closes #17)partial_date_string
, partial_date_handling
, unknown_date_string
).format_info
(e.g. “CSV format for MS Excel”) to export_options
.subset_secuTrial()
function was added. It allows subsetting of secuTrialdata based on patient ID and/or study centre name.get_participants()
function was added. It allows easy extractions of participant info from a secuTrialdata object.return_random_cases()
now returns a list. The first element are the cases and the second element is the output of RNGkind()
.diff_secuTrial()
added to allow light weight comparison of the setup of two secuTrial exports.factorize_secuTrial()
now no longer triggers an unexpected warning when the name of a secuTrial lookuptable is equal to the name of the variable it is being used in. (PR #108)return_random_cases()
has been added to the package. It allows to sample a random subset of cases from a secuTrial export in a reproducible fashion.read_secuTrial_raw()
and read_secuTrial()
no longer fail due to missing Add-ID, centre information or project setup in export data. Instead, adding of pat_id
(no Add-ID), centre
(no centre information) and visit_name
(no project setup) to the data tables is now omitted if the relevant data for the operation is not available.read_secuTrial_raw()
and read_secuTrial()
no longer fail due to missing “Description” in export options.dates_secuTrial()
now warns if not all dates were parsed (expected if there are incomplete dates).factorize_secuTrial()
now warns if there are issues with the factorization (not expected to trigger).build_secuTrial_url()
has been added. It allows users to easily compose URLs to specific secuTrial forms.read_secuTrial_export()
has been changed to read_secuTrial_raw()
to avoid confusion with read_secuTrial()
.