selectCols | R Documentation |
This function eliminates most metadata from the dataset. This is basically a wrapper for tidyverse::select()
selectCols(
df,
dropGeo = T,
geoCoordinates = F,
dropParams = T,
dropUserData = T,
dropMetaData = T,
dropTotalTime = T,
dropQuestionTime = T
)
df |
data downloaded from Mongo, cleaned with cleanData.R, scrubbed with scrubData.R and prepared with factorSensata.R. |
dropGeo |
if TRUE will drop coordinates (lat & long) and geo.accuracy |
geoCoordinates |
if TRUE will drop geo.coordinates columns, instead of lat & long |
dropParams |
if TRUE will drop all columns that start with params |
dropUserData |
if TRUE will drop fingerprint and sensataId |
dropMetaData |
if TRUE will drop createdAt, surveyId and surveyName |
dropTotalTime |
if TRUE it drops totalTimeMin column |
dropQuestionTime |
if TRUE drops q_time columns |
Dataframe ready for client.
Gabriel N. Camargo-Toledo gcamargo@sensata.io
TBD
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.