Functions available for useOnly these functions are loaded when using PROMISE.data. All the other functions are internal, but have documentation to describe them. |
|
---|---|
The final, master dataset for the PROMISE cohort |
|
This is just a thin wrapper around readr::write_excel_csv. |
|
View the various PROMISE manuals. |
|
Combine multiple datasets together into one, merged dataset. Merges based on SID and VN columns. |
|
Package description |
|
|
|
Internal functions: Generating Rda datasetsSave individual datasets as accessible Rda objects and merging them into a single dataset. |
|
Merge datasets together |
|
(Re-)Generate the individual datasets from PROMISE. |
|
Cleans, adds to, and processes the combined dataset into the final saved PROMISE dataset. |
|
Internal functions: Wrangling individual datasetsPrepare and clean the individual datasets into tidy dataframes. These functions are used before saving the dataset as an accessible Rda object. |
|
Imports raw BIA data and wrangles it into a tidy format. |
|
Import raw bloodwork data and wrangle it into a tidy format. |
|
Imports raw Canoe data and wrangles it into tidy format |
|
Import DHQ data and wrangle it into a tidy format. |
|
Import raw diabetes status data and wrangling into tidy format. |
|
Imports the raw DXA data and wrangles into a tidy format. |
|
Import fatty acid raw datafiles and wrangle it into a tidy format |
|
Import screening data from Form 1.0 (form010) and wrangle it into a tidy format |
|
Import family history of disease data from Form 1.2 (form012dx) and wrangle it into a tidy format |
|
Import medical history and anthropometric data from Form 1.2 (form012e) and wrangle it into a tidy format |
|
Merge form012dx and form012e datasets |
|
Import raw data from Form 1.4 (form014) and wrangle into a tidy format. |
|
Import bloodwork data from Form 1.5 (form015) and wrangle it into a tidy format. |
|
Homa2-IR, HOMA %B (beta cell function) and HOMA %S (insulin sensitivity) values for subjects with fasting insulin and glucose measures (n=1749). Calculated using HOMA2 excel spreadsheet available online. |
|
|
Convert medication data into tidy format. |
Merge all MSD protein data (adiponectin, TNFa, IL6, and YKL40). Code extracts and cleans raw data from files. |
|
Imports raw OGTT data and wrangles it into a tidy format. |
|
Calculates the MET (metabolic equivalents) from the physical activity questionnaire. |
|
Imports raw UDBP data and wrangles it into a tidy format. |
|
Imports raw vitamin D data and wrangles it into a tidy format. |
|
Imports raw WBC data and wrangles it into a tidy format. |
|
Calculate months and years from baseline visit. |
|
Visit date, drop reason, visit comments. |
|
Internal functions: Calculating measuresThese functions are used to calculate various measures such as MET (physical activity) and age. |
|
|
Add variables to the merged dataset. |
Calculate job-base MET. |
|
Calculate general (life) physical activity MET. |
|
Calculate total MET (metabolic equivalents) for physical activity. |
|
Calculate age from birth date to visit date. |
|
Internal functions: Minor fixer functions |
|
Fix job working times that are almost impossible. |
|
Clean up the imported raw MSD datasets and keep what is important (there is a lot of unnecessary data inside the MSD raw files). |
|
Internal functions: Importing specific datasetsThese functions import specific raw datasets that need special wrangling not available from the PROMISE.scrub package, such as from the MSD machine. |
|
Import the raw datasets obtained from the MSD analyzers for the various proteins. |
|
Import raw DXA data files. |
|
General function for fatty acid datasets only. |
|
Import one dataset from the CD163 measurement (it's in a tab delimited format). |
|
Import multiple CD163 datasets and clean them up (kind of necessary to clean up at the same time as importing). |
|
Internal functions: Incomplete functions |
|
Import DHQ additional milk and cheese data from raw scanned forms and wrangle it into a tidy format |
|
Export 450nm and 570nm output from CD163 runs. |