Skip to contents

Thin wrapper around figshare_info() with host = "data.4tu.nl" – see the note at the top of this file for why 4TU.ResearchData's Djehuty platform can reuse the Figshare-family implementation directly.

Usage

researchdata4tu_info(researchdata4tu_url, id_col = 1, pb = NULL, cache = FALSE)

Arguments

researchdata4tu_url

a 4TU.ResearchData URL or DOI, or a table containing them (e.g., as created by researchdata4tu_links())

id_col

the index or name of the column that contains 4TU.ResearchData URLs, if researchdata4tu_url is a table

pb

a progress bar passed from another function

cache

if TRUE, reuse a previously cached listing for an article already looked up (see repo_info_cache_clear()) instead of re-querying the API. Off by default.

Value

a data frame of information

Examples

# \donttest{
if (online("data.4tu.nl")) {
    researchdata4tu_info("https://doi.org/10.4121/16766929.v1")
}
#>                   researchdata4tu_url researchdata4tu_id            title
#> 1 https://doi.org/10.4121/16766929.v1           16766929 Crafting dataset
#>                   doi    publication_date        updated_date
#> 1 10.4121/16766929.v1 2021-10-14T08:30:05 2021-10-14T08:30:08
#>                   authors license
#> 1 Alfredo Rodriguez-Muñoz     CC0
#>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         files
#> 1 31023880, a1b1b8b3-ce99-4a25-9cb6-727397fce061, Crafting dataset.sav, 46251, FALSE, FALSE, https://data.4tu.nl/file/7f866e02-eb39-4a2a-8f7d-2d053ee6cde9/a1b1b8b3-ce99-4a25-9cb6-727397fce061, cf244f68b2f7ec35a6b68beb5c49b663, cf244f68b2f7ec35a6b68beb5c49b663, Crafting dataset.sav, 31084375, dc32263e-c945-412c-a94d-e5284565a893, Readme.txt, 1855, FALSE, FALSE, https://data.4tu.nl/file/7f866e02-eb39-4a2a-8f7d-2d053ee6cde9/dc32263e-c945-412c-a94d-e5284565a893, 36a0d0651ed45fd2207a41c72efd405b, 36a0d0651ed45fd2207a41c72efd405b, Readme.txt
# }