diff --git a/.Rbuildignore b/.Rbuildignore index de5b702..db7d6c8 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -16,3 +16,5 @@ ^pkgdown$ ^\.github$ ^_site$ +^CITATION\.cff$ +^\.zenodo\.json$ diff --git a/.zenodo.json b/.zenodo.json new file mode 100644 index 0000000..9e1e3d7 --- /dev/null +++ b/.zenodo.json @@ -0,0 +1,19 @@ +{ + "title": "openalexVectorComp: Embedding Vectorization and Distance-Based Scoring Workflows", + "upload_type": "software", + "creators": [ + { + "name": "Krug, Rainer M", + "orcid": "0000-0002-7490-0066" + } + ], + "license": "MIT", + "keywords": ["OpenAlex", "bibliometrics", "R", "embeddings", "text vectorization", "openalexPro ecosystem"], + "related_identifiers": [ + { + "identifier": "https://openalexpro.github.io/", + "relation": "isPartOf", + "resource_type": "software" + } + ] +} diff --git a/CITATION.cff b/CITATION.cff new file mode 100644 index 0000000..e48209b --- /dev/null +++ b/CITATION.cff @@ -0,0 +1,21 @@ +cff-version: 1.2.0 +message: "If you use this software, please cite it as below." +type: software +title: "openalexVectorComp: Embedding Vectorization and Distance-Based Scoring Workflows" +authors: + - family-names: Krug + given-names: Rainer M + orcid: "https://orcid.org/0000-0002-7490-0066" +doi: 10.5281/zenodo.19607514 +license: MIT +repository-code: "https://github.com/openalexPro/openalexVectorComp" +url: "https://openalexpro.github.io/openalexVectorComp/" +keywords: [OpenAlex, bibliometrics, R, embeddings, text vectorization] +references: + - type: software + title: "The openalexPro ecosystem: R packages for large-scale work with OpenAlex" + authors: + - family-names: Krug + given-names: Rainer M + orcid: "https://orcid.org/0000-0002-7490-0066" + url: "https://openalexpro.github.io/" diff --git a/DESCRIPTION b/DESCRIPTION index 602075b..f75d5a5 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -2,13 +2,9 @@ Package: openalexVectorComp Type: Package Title: Embedding Vectorization and Distance-Based Scoring Workflows Version: 0.3.5.9000 -Authors@R: c( - person(given = "Rainer M", family = "Krug", role = c("aut", "cre"), email = "Rainer@krugs.de"), - person(given = "ChatGPT", family = "Assistant", role = "ctb") - ) -Author: Rainer M Krug [aut, cre], - ChatGPT Assistant [ctb] -Maintainer: Rainer M Krug +Authors@R: + person("Rainer M", "Krug", , "Rainer@krugs.de", role = c("aut", "cre"), + comment = c(ORCID = "0000-0002-7490-0066")) Description: R-first orchestration for text vectorization (embeddings), embedding distance computation, and distance-based scoring workflows. Supports backend-neutral embedding providers (HF, OpenAI, TEI), diff --git a/inst/CITATION b/inst/CITATION new file mode 100644 index 0000000..0c8977c --- /dev/null +++ b/inst/CITATION @@ -0,0 +1,33 @@ +citHeader("To cite openalexVectorComp in publications use:") + +# Version and year come from the installed package, so nothing to bump at release. +year <- substr(c(meta$`Date/Publication`, meta$Date, meta$Packaged, format(Sys.Date()))[1], 1, 4) + +bibentry( + bibtype = "Manual", + key = "openalexVectorComp", + title = "{openalexVectorComp}: Embedding Vectorization and Distance-Based Scoring Workflows", + author = person("Rainer M", "Krug", comment = c(ORCID = "0000-0002-7490-0066")), + year = year, + note = paste("R package version", meta$Version), + doi = "10.5281/zenodo.19607514", + url = "https://github.com/openalexPro/openalexVectorComp", + textVersion = paste0( + "Krug, R. M. (", year, "). openalexVectorComp: Embedding Vectorization and Distance-Based Scoring Workflows. ", + "R package version ", meta$Version, ". https://doi.org/10.5281/zenodo.19607514" + ) +) + +bibentry( + header = "openalexVectorComp is part of the openalexPro ecosystem; to cite the ecosystem as a whole use:", + bibtype = "Misc", + key = "openalexProEcosystem", + title = "The {openalexPro} ecosystem: R packages for large-scale work with OpenAlex", + author = person("Rainer M", "Krug", comment = c(ORCID = "0000-0002-7490-0066")), + year = year, + url = "https://openalexpro.github.io/", + textVersion = paste0( + "Krug, R. M. (", year, "). The openalexPro ecosystem: R packages for ", + "large-scale work with OpenAlex. https://openalexpro.github.io/" + ) +)