to_dataframe: Converts icite_api information into a dataframe

View source: R/get_metrics.R

to_dataframeR Documentation

Converts icite_api information into a dataframe

Description

to_dataframe converts the parsed csv from icite_api into a dataframe

Usage

to_dataframe(info, error = FALSE, call_type = "pmid")

Arguments

info

S3. The S3 object returned from icite_api

error

logical. Indicates whether the icite_api call resulted in an error.

call_type

character. Indicates whether the data is from a call to icite_api ('pmid') or icite_search ('search')

Value

All values from the icite_api reformatted into a dataframe. see https://icite.od.nih.gov/api for details.


riddlet/iCiteR documentation built on Jan. 27, 2024, 10:31 a.m.