Create the metadata for Zenodo based on the Rmd or qmd protocol file.
Source:R/zen.R
zen_create_protocol_metadata.Rd
Create the metadata for Zenodo based on the Rmd or qmd protocol file.
Examples
fs::path_package("ukbAid", "examples", "protocol.qmd") |>
zen_create_protocol_metadata()
#> $title
#> [1] "Protocol: Legume consumption and risk of metabolic dysfunction-associated steatotic liver disease in the UK Biobank Study: a prospective follow-up"
#>
#> $creator
#> $creator[[1]]
#> $creator[[1]]$name
#> [1] "Fie Langmann"
#>
#> $creator[[1]]$affiliation
#> [1] "Aarhus University"
#>
#>
#> $creator[[2]]
#> $creator[[2]]$name
#> [1] "Daniel Borch Ibsen"
#>
#> $creator[[2]]$affiliation
#> [1] "Aarhus University"
#>
#>
#> $creator[[3]]
#> $creator[[3]]$name
#> [1] "Luke W. Johnston"
#>
#> $creator[[3]]$affiliation
#> [1] "Aarhus University"
#>
#> $creator[[3]]$orcid
#> [1] "0000-0003-4169-2616"
#>
#>
#> $creator[[4]]
#> $creator[[4]]$name
#> [1] "Christina Catherine Dahm"
#>
#> $creator[[4]]$affiliation
#> [1] "Aarhus University"
#>
#>
#>
#> $accessRights
#> [1] "open"
#>
#> $format
#> [1] "publication"
#>
#> $description
#> Protocol for research project using UK Biobank. This research will use the UK Biobank Resource under Application Number 81520.
#>
#> $isPartOf
#> $isPartOf[[1]]
#> $isPartOf[[1]]$identifier
#> [1] "https://github.com/steno-aarhus/ukbAid"
#>
#> $isPartOf[[1]]$relation
#> [1] "isPartOf"
#>
#>
#>