Show the number of search hits with DOIs

show_search_hits_with_dois(x, output = "kable")

Arguments

x

The object with search results, as produced by a call to import_search_results().

output

Output format: "kable" or "table".

Value

A character vector with the table in Markdown

Examples

### Path to extra files in {metabefor} package
metabefor_files_path <-
  system.file(
    "extdata",
    package = "metabefor"
  ); 

### Example path with search hits
EbscoExport_path <-
  file.path(
    metabefor_files_path,
    "ebsco-exports"
  ); 
  
bibHits_Ebsco <-
  metabefor::import_search_results(
    EbscoExport_path
  );
#> Error in metabefor::import_search_results(EbscoExport_path): To use this function, you need to have the `synthesisr` package installed. To install it, run:
#> 
#>   install.packages('synthesisr');
  
### Show the databases
metabefor::show_search_hits_with_dois(
  bibHits_Ebsco
);
#> Error in eval(expr, envir, enclos): object 'bibHits_Ebsco' not found