HTML gives the structure of a text without the layout noise of PDFs, so it
is preferred when it is the full text. A page counts as the full text when
it holds at least min_ratio of the words of the PDF.
Details
The default of 0.6 comes from central_bank_database: a summary or landing
page holds far fewer words (median ratio of about 1% for Bank of England
publications with a PDF, measured in October 2026). It may not suit other
sources.
See also
Other html:
html_paragraphs(),
html_text_or_na(),
read_html_blocks()