% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get.R
\name{as.data.frame.connect_list_hits}
\alias{as.data.frame.connect_list_hits}
\title{Convert usage data to a data frame}
\usage{
\method{as.data.frame}{connect_list_hits}(x, row.names = NULL, optional = FALSE, ..., unnest = TRUE)
}
\arguments{
\item{x}{A \code{connect_list_hits} object (from \code{\link[=get_usage]{get_usage()}}).}

\item{row.names}{Passed to \code{\link[base:as.data.frame]{base::as.data.frame()}}.}

\item{optional}{Passed to \code{\link[base:as.data.frame]{base::as.data.frame()}}.}

\item{...}{Passed to \code{\link[base:as.data.frame]{base::as.data.frame()}}.}

\item{unnest}{Logical; if \code{TRUE} (default), extracts nested fields using
\pkg{tidyr}. Set to \code{FALSE} to skip unnesting.}
}
\value{
A \code{data.frame} with one row per usage record.
}
\description{
Converts an object returned by \code{\link[=get_usage]{get_usage()}} into a data frame with parsed
column types. By default, extracts \code{path} and \code{user_agent} from the \code{data}
field, if available.
}
