sort_file: Sort data stored in a rds file

Description Usage Arguments

View source: R/misc.R

Description

A dataset stored in an rds file is ordered according to a list of variable names. Unmentioned variables are attached at the end and the original file is overwritten with the sorted dataset.

Usage

1
sort_file(file, sorted_variables)

Arguments

file

A path to an rds file generated with this package and containing social media data.

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.