><span class='fu'>prepare_ext_obs_table</span>(
  <span class='no'>df</span>,
  <span class='kw'>n</span> <span class='kw'>=</span> <span class='fl'>5</span>,
  <span class='kw'>cs_id</span> <span class='kw'>=</span> <span class='kw'>NULL</span>,
  <span class='kw'>ts_id</span> <span class='kw'>=</span> <span class='kw'>NULL</span>,
  <span class='kw'>var</span> <span class='kw'>=</span> <span class='kw pkg'>utils</span><span class='kw ns'>::</span><span class='fu'><a href='https://www.rdocumentation.org/pa