Skip to contents

Searches for known column name patterns and returns a mapping.

Usage

detect_columns(data, source_type = "reddit", config = NULL)

Arguments

data

tibble to inspect

source_type

Platform identifier ("reddit", "reviews", "generic")

config

ThematicConfig (uses data.column_mappings if present)

Value

Named list with id, text, author, timestamp, metrics mappings