detect_dttm_fields: Detect Datetime Fields

View source: R/datetimes.R

detect_dttm_fieldsR Documentation

Detect Datetime Fields

Description

Detect datetime fields which are present in a dataframe

Usage

detect_dttm_fields(x, layer_details)

Arguments

x

a dataframe from a query

layer_details

the layer details object returned by get_layer_details

Details

This function uses the layer_details object to determine which columns have the datetime type and then only returns those which are present in the dataframe.

Value

a character vector of field names which are present in x and have the type Datetime


MatthewJWhittle/getarc documentation built on April 22, 2023, 12:16 p.m.