\begin{Schunk}
\begin{Sinput}
 table(dat_nat$ID, dat_nat$Quarter)
\end{Sinput}
\begin{Soutput}
      Q1 Q2
  UK   2  2
  USA  2  2
\end{Soutput}
\end{Schunk}
