import_wpa {wpa} | R Documentation |
Import a Workplace Analytics Query
Description
Import a Workplace Analytics Query from a local CSV File, with variable classifications optimised for other 'wpa' functions.
Usage
import_wpa(x, standardise = FALSE, encoding = "UTF-8")
Arguments
x |
String containing the path to the Workplace Analytics query to be
imported. The input file must be a CSV file, and the file extension must be
explicitly entered, e.g. |
standardise |
logical. If TRUE, |
encoding |
String to specify encoding to be used within
|
Details
import_wpa()
uses data.table::fread()
to import CSV files for speed,
and by default stringsAsFactors
is set to FALSE.
A data frame is returned by the function (not a data.table
).
Value
A tibble
is returned.
See Also
Other Import and Export:
copy_df()
,
create_dt()
,
export()
,
import_to_fst()
,
standardise_pq()