GrantCollection(CollectionWithIDs)

class metaknowledge.GrantCollection(inGrants=None, name='', extension='', cached=False, quietStart=False)
__init__(inGrants=None, name='', extension='', cached=False, quietStart=False)

Basically a collections.abc.MutableSet wrapper for a set with a bunch of extra record keeping attached.

networkCoInvestigator(targetTags=None, tagSeperator=';', count=True, weighted=True, _institutionLevel=False)

Creates a co-investigator from the collection

Most grants do not have a known investigator tag so it must be provided by the user in targetTags and the separator character if it is not a semicolon should also be given.

Parameters

targetTags : optional list[str]

A list of all the Grant tags to check for investigators

tagSeperator : optional str

The character that separates the individual investigator’s names

count : optional bool

Default True, if True the number of time a name occurs will be given

weighted : optional bool

Default True, if True the edge weights will be calculated and added to the edges

Returns

networkx Graph

The graph of co-investigator
networkCoInvestigatorInstitution(targetTags=None, tagSeperator=';', count=True, weighted=True)

This works the same as networkCoInvestigator() see it for details.