% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/scores_nt_fitbit.R
\name{compute_day_counts}
\alias{compute_day_counts}
\title{Computes the number of valid observation days}
\usage{
compute_day_counts(df)
}
\arguments{
\item{df}{tbl. Data frame containing at minimum:
\code{participant_id}, \code{session_id}, \code{wk}, and \code{dt_wknd} (logical indicator of
weekend).}
}
\value{
tbl. A weekly summary dataset with:
\itemize{
\item \code{n_day}: Total number of valid days in the week.
\item \code{n_wkdy}: Number of weekday observations.
\item \code{n_wknd}: Number of weekend observations.
}
}
\description{
This helper function summarizes the number of available days contributing to
weekly sleep or activity estimates, with separation into weekday and weekend
counts.
}
\keyword{internal}
