From d38497016906eab8b203d45c4bb16a34281922f6 Mon Sep 17 00:00:00 2001 From: Trevor Riley <89118428+TNRiley@users.noreply.github.com> Date: Thu, 19 Dec 2024 13:17:21 -0500 Subject: [PATCH 1/2] change read citation argument to include all fields only_key_fields changed to FALSE as shiny users don't have ability to toggle this currently, TY field and others are helpful in organizing/evaluating. --- inst/shiny-app/CiteSource/app.R | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/inst/shiny-app/CiteSource/app.R b/inst/shiny-app/CiteSource/app.R index e7452ce..3751e51 100644 --- a/inst/shiny-app/CiteSource/app.R +++ b/inst/shiny-app/CiteSource/app.R @@ -387,7 +387,9 @@ server <- function(input, output, session) { files = path_list, cite_sources = suggested_source, cite_labels = empty_strings, - cite_strings = empty_strings + cite_strings = empty_strings, + only_key_fields = FALSE + ) # Summarize the number of records by citation source From d74de4d62d423c163b847a5b3bb6650622493548 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Thu, 19 Dec 2024 18:19:09 +0000 Subject: [PATCH 2/2] Documentation --- NAMESPACE | 1 + man/{CiteSource.Rd => CiteSource-package.Rd} | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) rename man/{CiteSource.Rd => CiteSource-package.Rd} (98%) diff --git a/NAMESPACE b/NAMESPACE index 80fd572..d376cde 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -1,5 +1,6 @@ # Generated by roxygen2: do not edit by hand +S3method(as.data.frame,bibliography) export("%>%") export(calculate_detailed_records) export(calculate_initial_records) diff --git a/man/CiteSource.Rd b/man/CiteSource-package.Rd similarity index 98% rename from man/CiteSource.Rd rename to man/CiteSource-package.Rd index 0c2363b..19a730d 100644 --- a/man/CiteSource.Rd +++ b/man/CiteSource-package.Rd @@ -1,9 +1,9 @@ % Generated by roxygen2: do not edit by hand % Please edit documentation in R/CiteSource.R \docType{package} -\name{CiteSource} -\alias{CiteSource-package} +\name{CiteSource-package} \alias{CiteSource} +\alias{CiteSource-package} \title{CiteSource: A package to compare sources of citation records} \description{ The CiteSource package supports evidence aggregation by helping with the