Skip to contents

Get all ResearchBox links: real hyperlinks from the paper's own url table, plus a body-text fallback for a BARE mention like "researchbox.org/ 801" that the source PDF/HTML never encoded as an actual hyperlink (common in PDF-converted papers, where a plain-text URL mention loses its link formatting) — the url table only ever contains links the source document itself made clickable. Same two-tier approach github_links() uses for GitHub.

Usage

rbox_links(paper)

Arguments

paper

a paper object or paperlist object

Value

a table with the ResearchBox url in the first (href) column

Examples

paper <- demopaper()
rbox_links(paper)
#> # A tibble: 1 × 4
#>   href                         link_text text_id paper_id       
#>   <chr>                        <chr>       <int> <chr>          
#> 1 https://researchbox.org/4377 NA             20 to_err_is_human