knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
Example: ABBV_CONSISTENCY_20222
Within this folder:
README file to note things to yourself with dates and topics, anything you need to jot down, do it here.
Folders: DATA_20222, CODE_20222, TABLES_20222, FIGURES_20222, DOCUMENTS_2022; “DEPRECATED” subfolder to hold old, archived versions; “SANDBOX” subfolder to dump any code where you were messing around with something but it’s not for use - eg: “mmrm_testing_df_for_meeting_check”
Create browser folder containing bookmarks related to a project
Learn the SDTM/ADaM file formats. This is not the place for it, but there are extensive resources online: https://www.fda.gov/media/143550/download
The key here is that clinical data is aggressively standardized - this is super important when trying to manage data; once you get familiar with the naming processes, you don’t need much in the way of a data dictionary or data specs to manage the data. This is good, because you’ll be lucky to get a “good luck” accompanying the data dump.
View(dat)
and str(dat)
it to get a feel for how your data should look. factor()
function, specifically the “levels” and “labels” calls. data_mgmt()
gtsummary
R packageCode guidelines: https://style.tidyverse.org/
Most important - document heavily; another programmer should be able to step in, review your code, and figure out what you’re doing and why without too much difficulty.
Code very slowly in order to code very quickly
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.