nc_merge: Merging Network Canvas CSV Files ('nc_merge')

View source: R/nc_merge.R

nc_mergeR Documentation

Merging Network Canvas CSV Files (nc_merge)

Description

The nc_merge function combines CSV files exported from Network Canvas, a popular tool for egocentric data capture. It is designed to address issues that may be encountered by nc_read when Network Canvas exports separate CSV files for individual responses.

Usage

nc_merge(path, export_path)

Arguments

path

A character value indicating the directory in which Network Canvas CSVs are located. nc_read will read in all CSV files located in this directory and process them.

export_path

A character value indicating the directory to which merged CSV files should be exported. This should not be the same directory as path, and this function will return an error if it detects that path and export_path are equivalent.

Value

nc_merge always writes two CSV files to the directory specified in export_path: an ego list and an alters list. If CSV files containing alter-alter ties are detected, it also writes a third merged CSV of these ties.


ideanet documentation built on April 3, 2025, 11:55 p.m.