% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/core-classes.R
\name{survey_base}
\alias{survey_base}
\title{Abstract Base Survey Design Class}
\usage{
survey_base(
  data = data.frame(),
  metadata = survey_metadata(),
  variables = list(),
  groups = character(0),
  call = NULL
)
}
\value{
Cannot be instantiated directly. See \link{survey_taylor},
\link{survey_replicate}, \link{survey_twophase}, or \link{survey_nonprob} for
concrete subclasses.
}
\description{
All survey design objects (\code{survey_taylor}, \code{survey_replicate},
\code{survey_twophase}, \code{survey_nonprob}) inherit from \code{survey_base}. This
class is abstract and cannot be instantiated directly — use
\code{\link[=as_survey]{as_survey()}}, \code{\link[=as_survey_replicate]{as_survey_replicate()}}, \code{\link[=as_survey_twophase]{as_survey_twophase()}}, or
\code{\link[=as_survey_nonprob]{as_survey_nonprob()}} instead.
}
\section{Properties}{

\describe{
\item{\code{data}}{A \code{data.frame} containing the survey data.}
\item{\code{metadata}}{A \link{survey_metadata} object.}
\item{\code{variables}}{A named list of design specification (varies by
subclass).}
\item{\code{groups}}{Character vector of active grouping variables.
Set by surveytidy's \code{group_by()}. Always \code{character(0)} in
standalone surveycore use.}
\item{\code{call}}{The language object capturing the construction call,
or \code{NULL}.}
}
}

\keyword{internal}
