Finds links to LDbase (https://ldbase.org) projects, datasets, code and
documents, as hyperlinks or in the text, and LDbase DOIs (prefix 10.33009,
e.g. 10.33009/ldbase.1627053448.d151). LDbase's own DOI
(10.33009/ldbase, cited for the repository itself) and links to its home
or search pages are not included: they name no deposit.
Value
a data frame with a row for each link (href, plus text_id /
paper_id), with ldbase_url (the link) and ldbase_type (projects,
datasets, code, documents, or doi for a DOI not yet resolved)
Examples
paper <- test_paper(url = "https://ldbase.org/projects/09609d82-c45f-4442-8c0c-d136191bdc50")
ldbase_links(paper)
#> # A tibble: 1 × 6
#> href link_text text_id paper_id ldbase_url ldbase_type
#> <chr> <chr> <int> <chr> <chr> <chr>
#> 1 https://ldbase.org/projects… NA 1 9fcd876… https://l… projects
