import_score_neuromap_self_reports: Import and Score NeuroMAP Self Report Data

View source: R/import_score_neuromap_self_reports.R

import_score_neuromap_self_reportsR Documentation

Import and Score NeuroMAP Self Report Data

Description

This is a comprehensive function for importing, scoring, and storing NeuroMAP self report data to be used in a data analysis pipeline. It uses the 'import_neuromap_self_reports' and applicable 'score_' functions from the dependlab package.

Usage

import_score_neuromap_self_reports(
  split_output = TRUE,
  path = paste0(getwd(), "/neuromap_self_reports_repo"),
  file_date = FALSE
)

Arguments

split_output

if true, outputs a list object with "scores" and "items" containing score- and item- level data, respectively. Default: /codeTRUE

path

string containing path to house csv data exports. Creates a new directory if it doesn't already exist. Default creates a new folder called "neuromap_self_reports_repo" in the working directory.

file_date

Logical. If TRUE, appends a timestamp with the format "_ Default is FALSE.

Note: the embedded 'import_neuromap_self_reports' exports new csvs into the data repo with a date/time stamp every time the function is run

Author(s)

Zach Vig


PennStateDEPENdLab/dependlab documentation built on April 10, 2024, 5:15 p.m.