R/chunk.R

Defines functions ragnar_view

# ' @export
ragnar_view <- function(x) {
  # concept, pop up widget or page that makes it easy to inspect chunks,
  # for tweaking a chunking approach to a particular corpus. The viewer shows:
  # - distinct boundaries between chunks
  # - print representation of text shown (i.e., cat() not print())
  # - makes it easy to quickly scan across lots of content:
  #     all chunks shown on one page, easy scroll, easy jump between chunks via sidebar?, interactive search?
  # - metadata (other columns like 'h1' , 'h2') shown adjacent to chunks
  .NotYetImplemented()
}

Try the ragnar package in your browser

Any scripts or data that you put into this service are public.

ragnar documentation built on Aug. 8, 2025, 7:07 p.m.