sort_data: Sort a dataset

Description Usage Arguments Value

View source: R/misc.R

Description

A social media dataset is ordered according to a list of variable names. Unmentioned variables are attached at the end.

Usage

1
sort_data(data, sorted_variables)

Arguments

data

A data.frame 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.

Value

The sorted dataset.


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