0.1.0
Pre-release
Pre-release
abcdutils 0.1.0
First release of the abcdutils package to facilitate working with NDA's ABCD dataset.
-
Initial package release, including:
- utility functions:
dummy
: generate dummy variablescol_to_num
: convert specific factor columns to numericcol_to_fac
: convert specific character columns to numeric
- tbi functions:
rename_tbi
: provide meaningful column names to abcd_otbi01.txtoriginal_otbi_names
: view original abcd_otbi01.txt column namesidentify_all_tbi
: label mTBIs and moderate/severe TBIsidentify_mtbi
: identify which mechanism of injury counts as an mTBIidentify_mtbi_times
: identify time since most recent mTBIidentify_latest_mtbi_mechanism
: identify mechanism of injury for latest mTBIidentify_num_mtbi
: identify how many mTBIs a subject sustainedidentify_latest_mtbi_loc
: identify LOC time for latest mTBIidentify_latest_mtbi_mem_daze
: identify if memory loss / feeling dazed or confused occurred for latest mTBIdetail_mtbi
: apply all other TBI functions to a dataframe
- extraction functions:
get_mtbi_subjects
get_cbcl_aggressive_r
get_cbcl_anxiety_r
get_cbcl_attention_r
get_cbcl_depress_r
get_cbcl_dizzy
get_cbcl_headaches
get_cbcl_overtired
get_cbcl_sleeping_less
get_cbcl_sleeping_more
get_cbcl_vomiting
get_cort_sa
get_cort_t
get_exercise
get_family_function
get_full_sleep_df
get_gord_cor
get_gord_var
get_headaches
get_income
get_loneliness
get_mtbi_age
get_mtbi_count
get_mtbi_loc
get_mtbi_mechanism
get_mtbi_mem_daze
get_nihtbx_cardsort_fc
get_nihtbx_list_fc
get_nihtbx_pattern_fc
get_parent_psychopathology
get_prosocial_behaviour
get_pubertal_status
get_race
get_screen_time
get_sex
get_sports_and_activities
get_subc_cor
get_subc_v
get_subc_var
get_wmnd
- subsetting functions:
filter_timepoint
: (isolate to specific data collection year)filter_subjects
: (isolate to provided list of subjects)
- data dictionary functions:
remove_dd
: remove the data dictionary from a dataframesearch_dd
: open the data dictionary search results for a stringabcd_dd
: open the data dictionary page for a data item's short name
- plotting functions:
vis_missing_by_df
: visualize missing data across multiple dataframes
- utility functions:
-
Added a
NEWS.md
file to track changes to the package.