As referenced in #29 get_publications() can return a large number of columns, many of which are empty for many rows because a single publication with many authors sets the upper limit on the number of columns in the Author data returned, and all other publications are expanded to match.
29 proposed to alter get_publications() so that it returned a list with two components instead of the single data frame that is currently returned.
The two components would be:
publications; a data frame with components PublicationID, PubType, Year, and Citation.
authors; a data frame in long (melted) format that contained the Authors.ContactName, Authors.ContactID, and Authors.Order information, plus a column with the PublicationID to match with the other publications component.
As referenced in #29
get_publications()
can return a large number of columns, many of which are empty for many rows because a single publication with many authors sets the upper limit on the number of columns in the Author data returned, and all other publications are expanded to match.29 proposed to alter
get_publications()
so that it returned a list with two components instead of the single data frame that is currently returned.The two components would be:
publications
; a data frame with componentsPublicationID
,PubType
,Year
, andCitation
.authors
; a data frame in long (melted) format that contained theAuthors.ContactName
,Authors.ContactID
, andAuthors.Order
information, plus a column with thePublicationID
to match with the otherpublications
component.