Description Usage Arguments Details Value See Also
View source: R/functions_preprocessing.R
This function assigns values to each observation for each of the predictors that will be used in the downstream analysis phase. This value assignment relies on an internal mapping, and results in the addition of a handful of columns to the data.
1 | getPredictors(orsMnGCe)
|
orsMnGCe |
Data with errors and bounds (output of |
The additions to the data are described below:
(1) The data_element_text field is restructured into a new field, Requirement, and added to the data.
(2) The data_element_text and data_type_text fields have somewhat overlapping roles in the original data. Moreover their structure makes for a large increase in the dimensions of the data. We devised a way to map these two fields to numeric fields (Frequency and Intensity), leading to a significant reduction in dimension. This mapping is applied here, and the new fields are added to the data.
(3) Also added to the data are fields for SOC2, SOC3, and SOC4 codes, as well as a field for the relevant Requirement Category.
(4) An indicator column that differentiates between known estimates missing estimates is added.
Data augmented with relevant predictors
predictors.data for data mapping
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.