sort_dir: Sort all data files from a directory

Description Usage Arguments

View source: R/misc.R

Description

All datasets from one folder with rds files are ordered according to a list of variable names. Unmentioned variables are attached at the end and the original files are overwritten with the sorted datasets.

Usage

1
sort_dir(dir, sorted_variables)

Arguments

dir

A path to a directory containing data files generated with this package.

sorted_variables

A list of variable names according to which the dataset is sorted. Defaults to the package default for Facebook data.


jogrue/RfacebookHelperFunctions documentation built on May 7, 2020, 2:03 p.m.