bibtex_core_data function

Makes a bibtex entry from an output of abstract_retrieval or article_retrieval

Makes a bibtex entry from an output of abstract_retrieval or article_retrieval

bibtex_core_data(x)

Arguments

  • x: output of abstract_retrieval or article_retrieval, with both get_statement

    and content

Returns

A character vector of bibtex values

Note

Adapted from https://github.com/pybliometrics-dev/pybliometrics/blob/master/pybliometrics/scopus/abstract_retrieval.py

Examples

api_key = get_api_key(NULL, error = FALSE) if (!is.null(api_key)){ x = abstract_retrieval("S1053811915002700", identifier = "pii", verbose = FALSE) res = bibtex_core_data(x) cat(res) x = abstract_retrieval("S1053811915002700", identifier = "pii", verbose = FALSE) res2 = bibtex_core_data(x) cat(res2) }