identify_data_structure {cstidy}R Documentation

Hash the data structure of a dataset for a given column

Description

Reduces the data structure of a column inside a dataset into something that describes

Usage

identify_data_structure(x, col, ...)

## S3 method for class 'csfmt_rts_data_v1'
identify_data_structure(x, col, ...)

## S3 method for class ''tbl_Microsoft SQL Server''
identify_data_structure(x, col, ...)

Arguments

x

An object

col

Column name to hash

...

Arguments passed to or from other methods

Value

csfmt_rts_data_structure_hash_v1, a summary object.

See Also

Other csfmt_rts_data: expand_time_to(), remove_class_csfmt_rts_data(), set_csfmt_rts_data_v1(), unique_time_series()

Examples

cstidy::generate_test_data() %>%
  cstidy::set_csfmt_rts_data_v1() %>%
  cstidy::identify_data_structure("deaths_n") %>%
  plot()

[Package cstidy version 2023.5.24 Index]