Fixed ds2dd() bug after first practical implementation.
stRoke 23.6.2
Functions:
NEW: pase_calc() function calculates PASE scores from raw questionnaire data. Gives sub scores as well and returns basic data quality and completeness checks. Acknowledges the difference between the scoring manual and the article by Washburn PA. et al. (1999) on including sitting work in the score calculations.
Data:
NEW: pase sample questionnaire data. Non-identifiable and for use with the pase_calc() function.
stRoke 23.6.1
Functions:
NEW: ‘color_plot()’ function implements the ‘contrast_text()’ and is very much inspired from ‘scales::show_col()’. Passes arguments to the internal ‘contrast_text()’. Tests and all. Took way longer than intended.
stRoke 23.4.1
CRAN release: 2023-04-13
Functions:
NEW: ds2dd() creates a REDCap data dictionary based on a data set for easy upload. A new vignette will be provided for example use. A separate vignette has been added.
Notes:
With newer additions to the package, these functions clearly has their potential use also outside stroke research.
A new vector with REDCap metadata headers has been added. Can be called with data(metadata_names).
stRoke 23.1.8
Functions:
write_ical() is an easy to use implementation of the package library(calendar) for easy conversion of spreadsheets to ical object. Export an .ics file using calendar::ic_write().
contrast_text() calculates the best contrast text color for a given background color. For use in graphics.
Notes:
This is the first update on CRAN.
Documentation
Badges, lots of badges
stRoke 23.1.7
CRAN release: 2023-01-24
Notes:
This is the version first published on CRAN as of 24.jan.2023.
redcap_read_tables() has been removed from the package for now. Looking to add it back later as a minimal data acquisition tool.
stRoke 23.1.6 - failed due to dependencies
New attempt at CRAN submission
Functions:
win_prop() added to implement the suggested methods in DOI: 10.1161/STROKEAHA.121.037744, as an implementation of “Tournament Methods” also found in library(genodds). The function is based on the spreadsheet provided by the authors. A print.win_Prop is also added for printing.
Notes:
23.1.5 failed on CRAN due to gt_plot(). This function has been dropped. Find it as as_ggplot() elsewhere.
agdamsbo/REDCapRITS added as “Additional_repositories”.
Included references listed as authors.
stRoke 23.1.5
RELEASE ON CRAN - failed
stRoke 0.23.1.4
Functions:
plot_olr() has been deprecated and removed.
ci_plot() functionality extended to include logistic model plotting.
age_calc() use vapply() instead of sapply()
gt_plot() function added to plot gt elements as ggplots. From bstfun. Not all done and satisfied with the layout with patchwork.
Documentation
Trying to complete all flags from goodpractice and inteRgrate
stRoke 0.23.1.3
Functions:
files_filter() added. Simple function to get file names in path with specified filter.
updated cpr_dob to give warnings if format is not recognised and return NAs.
ci_plot() updated to actually handle binary factors. Uses glm(), not lm().
Documentation:
test, test and tests to satisfy codecov and, of course, ensure higher quality
changes to comply with goodpractices::gp()
…and probably some more.
stRoke 0.23.1.2
Functions:
cpr_dob() now includes format=.
Other minor updates.
Documentation:
Two new vignettes
Taking last steps in documenting before releasing on CRAN
Other:
New hex logo
stRoke 0.23.1.1
Functions:
age_calc() now also outputs a numeric vector for units=“days”, and not a character vector as difftime() would.
Documentation:
Added a NEWS.md file to track changes to the package.