Learn R Programming

iCiteR (version 0.2.1)

to_dataframe: 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.