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 strThe character that separates the individual investigator’s namescount :
optional boolDefaultTrue, ifTruethe number of time a name occurs will be givenweighted :
optional boolDefaultTrue, ifTruethe edge weights will be calculated and added to the edges
-
networkCoInvestigatorInstitution(targetTags=None, tagSeperator=';', count=True, weighted=True)¶ This works the same as networkCoInvestigator() see it for details.
-