to_dataframe: Converts icite_api information into a dataframe

Description Usage Arguments Value

View source: R/get_metrics.R

Description

to_dataframe converts the parsed csv from icite_api into a dataframe

Usage

1
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.


iCiteR documentation built on Nov. 18, 2019, 5:16 p.m.