Imports collected data from file into a dataframe of class datasource
and specified
socialmedia
type that is usable by Create
functions.
ImportData(path, socialmedia, type = NULL)
A dataframe with datasource class attributes.
Character string. Collected data file path.
Character string. Social media type of collected data twitter
, youtube
or
reddit
.
Character string. Type of file or file format of file to import csv
or rds
. Default is
NULL
to use extension.