Man pages for PHSKC-APDE/rads
Assisted computation of King County public health data

adjust_directCalculate crude and directly adjusted rates
age_standardizeCalculate age standardized rates from a data.table with age,...
as_imputed_brfssConvert modified BRFSS data.table to an imputationList
as_table_brfssConvert BRFSS imputationList to a single data.table
build_getpop_queryA helper function for building queries for get_pop
calcCompute metrics from record (e.g. vital stats) or survey data
calc_ageProper calculation of age in years
chars_icd_ccsView available CHARS ICD-9-CM OR ICD-10-CM (diagnosis) codes,...
chars_icd_ccs_countCount (non-injury) Comprehensive Hospital Abstract Reporting...
chars_injury_matrixView available combinations of CHARS injury mechanisms and...
chars_injury_matrix_countGenerate injury matrix counts from line-level Comprehensive...
check_binCheck to see if input implies a binning recode
check_namesCheck to see if a vector of variable names do indeed exist in...
check_nanCheck to see if a value is NA, NULL, or ""
chi_colsVector of standard CHI / Tableau Ready columns
chi_compare_estCompare two data.frames with properly formatted CHI data
chi_compare_kcCompare CHI standard tabular results to the King County...
chi_metadata_colsVector of standard CHI / Tableau Ready metadata columns
chi_qaQA for CHI/Tableau ready standards using R
compare_estimateCompare aggregated results (proportions or means) for one...
convert_to_dateConvert Numeric and Character Data to Dates
create_dictionaryCreate a Dictionary for a Data Table or Data Frame
create_recodeInstruction set for recoding
death_113View the NCHS 113 COD causeids
death_113_countSummarize NCHS 113 causes of deaths
death_130View the NCHS 130 Infant COD causeids
death_130_countSummarize NCHS 130 Select Causes of Infant Death
death_icd10_cleanClean and Standardize ICD-10 Death Codes
death_injury_matrixView available combinations of injury death mechanisms and...
death_injury_matrix_countGenerate a death injury matrix from line-level death data
death_otherView "Other" Causes of Death available in RADS
death_other_countSummarize "Other" causes of deaths
death_xxx_countSummarize NCHS causes of deaths
depthCheck the depth of a list
digitsRound data according to APDE/CHI standards or custom requests
do_recodeRecode a vector
dumb_convertConvert from one type to another type
enact_recodesApply a set of recode instructions to a dataset
format_timeFormat a vector of time, date, or any numeric values into a...
format_time_simpleFormat a vector of time (or any numeric values) into a single...
generate_yamlGenerate a YAML file for SQL loading based on in a data.frame...
get_dataGet (micro)data from APDE storage.
get_data_birthGet Birth microdata from storage.
get_data_brfssGet BRFSS microdata with adjusted weights from storage.
get_data_charsGet CHARS (Comprehensive Hospital Abstract Reporting System)...
get_data_deathGet Death microdata from storage.
get_data_hysGet HYS microdata from storage.
get_data_pumsGet PUMS microdata from storage
get_populationGet standard population estimates from SQL
get_ref_popLoad a reference population as a data.table object in memory
get_xwalkLoad clean geographic crosswalk tables
life_tableGenerate a standard life table
life_table_predict_mxPredict Mortality Rate for Highest Age Group
life_table_prepPrepare death data for use with life_table()
list_apde_dataReturns the list of datasets currently available for analysis...
list_dataset_columnsList columns available for analysis in APDE datasets
list_dataset_columns_brfssColumn Type Handler for BRFSS dataset
list_dataset_columns_configConfiguration settings for APDE datasets
list_dataset_columns_hysColumn Type Handler for HYS dataset
list_dataset_columns_pumsColumn Type Handler for PUMS dataset
list_dataset_columns_sqlColumn Type Handler for SQL-based datasets
list_ref_popReturn vector of all reference populations available in RADS
list_ref_xwalkView table of geographic pairs usable in the get_xwalk()...
list_to_dtconvert validated list instructions into data frames to be...
lossless_convertConvert the class of a vector to another class - when...
make_subsetA function to make subsets
metricsList of available metric for 'calc'
multi_t_testPerform t-tests for Multiple Comparisons with Summary...
parse_recode_instructionsParse Recode Instructions
pool_brfss_weightsCreate New BRFSS Survey Weights for Multi-Year Analyses
quietSilence (i.e., suppress or mute) printed messages from...
rads-packagerads: Assisted computation of King County public health data
ref_get_xwalkReference table of available geographic crosswalks
round2Improved rounding function
sql_cleanClean string columns read from SQL
std_errorCalculate standard error of the mean
string_cleanClean string & factor columns
substrRightSubstring selection from the right to complement base R...
suppressSuppress data according to APDE standards or custom requests...
tsql_chunk_loaderLoads large data sets to Microsoft SQL Server (TSQL) in...
tsql_validate_field_typesValidates whether a named vector of TSQL data types is...
validate_hhsaw_keyValidate HHSAW keys and connect (if possible)
validate_list_inputValidate list inputs into the tabulate functions
validate_yaml_dataValidate the structure and data types of a data.frame or...
PHSKC-APDE/rads documentation built on April 14, 2025, 10:47 a.m.