build_comment_row: Build a standardized comment data frame row

View source: R/utils.R

build_comment_rowR Documentation

Build a standardized comment data frame row

Description

Creates a single-row data frame with standardized comment fields. Used by get_all_comments and related functions.

Usage

build_comment_row(snippet, comment_id, parent_id = NA_character_)

Arguments

snippet

The comment snippet object from YouTube API

comment_id

The comment ID

parent_id

Parent comment ID for replies, NA for top-level comments

Value

A single-row data.frame with standardized columns


tuber documentation built on March 25, 2026, 9:08 a.m.