extractMetaData: Extract sensata metadata

View source: R/extractMetaData.R

extractMetaDataR Documentation

Extract sensata metadata

Description

This function creates table to fill out metadata on https://docs.google.com/spreadsheets/d/1CdSqvX3Hhayk_NGvr9eqDeAlA8XG9BX_-Exm5K3RKlI/edit#gid=2106088199

Usage

extractMetaData(
  df = intData,
  dict = dict,
  stage = NULL,
  source = NULL,
  medium = NULL
)

Arguments

df

Interim dataset after scrubRows.r

dict

Dictionary created using dictGenerator.R

stage

pilot or live collection for params.utm_campaign

source

wa, fb, email, etc for params.utm_source

medium

cpc, referral, etc for params.utm_medium

Value

1-row metadata for columns A to H (except lang)

Author(s)

Gabriel N. Camargo-Toledo gcamargo@sensata.io

Examples

extractMetaData(data$q1time)

SensataUX/sensataDataProg documentation built on April 18, 2023, 3:48 p.m.