def createCitation(self, multiCite = False):
        """Creates a citation string, using the same format as other WOS citations, for the [Record](./Record.html#metaknowledge.Record) by reading the relevant special tags (`'year'`, `'J9'`, `'volume'`, `'beginningPage'`, `'DOI'`) and using it to create a [Citation](./Citation.html#metaknowledge.citation.Citation) object.

        # Parameters

        _multiCite_ : `optional [bool]`

        > Default `False`, if `True` a tuple of Citations is returned with each having a different one of the records authors as the author

        # Returns

        `Citation`

        > A [Citation](./Citation.html#metaknowledge.citation.Citation) object containing a citation for the Record.
        """
        #Need to put the import here to avoid circular import issues
        from .citation import Citation
        valsLst = []
        if multiCite:
            auths = []
            for auth in self.get("authorsShort", []):
                auths.append(auth.replace(',', ''))
        else:
            if self.get("authorsShort", False):
                valsLst.append(self['authorsShort'][0].replace(',', ''))
        if self.get("year", False):
            valsLst.append(str(self.get('year')))
        if self.get("j9", False):
            valsLst.append(self.get('j9'))
        elif self.get("title", False):
            #No j9 means its probably book so using the books title/leaving blank
            valsLst.append(self.get('title', ''))
        if self.get("volume", False):
            valsLst.append('V' + str(self.get('volume')))
        if self.get("beginningPage", False):
            valsLst.append('P' + str(self.get('beginningPage')))
        if self.get("DOI", False):
            valsLst.append('DOI ' + self.get('DOI'))
        if multiCite and len(auths) > 0:
            return(tuple((Citation(', '.join([a] + valsLst)) for a in auths)))
        elif multiCite:
            return Citation(', '.join(valsLst)),
        else:
            return Citation(', '.join(valsLst))
def createCitation ( self , multiCite = False ) : from . citation import Citation valsLst = [ ] if multiCite : auths = [ ] for auth in self . get ( "authorsShort" , [ ] ) : auths . append ( auth . replace ( ',' , '' ) ) else : if self . get ( "authorsShort" , False ) : valsLst . append ( self [ 'authorsShort' ] [ 0 ] . replace ( ',' , '' ) ) if self . get ( "year" , False ) : valsLst . append ( str ( self . get ( 'year' ) ) ) if self . get ( "j9" , False ) : valsLst . append ( self . get ( 'j9' ) ) elif self . get ( "title" , False ) : valsLst . append ( self . get ( 'title' , '' ) ) if self . get ( "volume" , False ) : valsLst . append ( 'V' + str ( self . get ( 'volume' ) ) ) if self . get ( "beginningPage" , False ) : valsLst . append ( 'P' + str ( self . get ( 'beginningPage' ) ) ) if self . get ( "DOI" , False ) : valsLst . append ( 'DOI ' + self . get ( 'DOI' ) ) if multiCite and len ( auths ) > 0 : return ( tuple ( ( Citation ( ', ' . join ( [ a ] + valsLst ) ) for a in auths ) ) ) elif multiCite : return Citation ( ', ' . join ( valsLst ) ) , else : return Citation ( ', ' . join ( valsLst ) )
Creates a citation string, using the same format as other WOS citations, for the [Record](./Record.html#metaknowledge.Record) by reading the relevant special tags (`'year'`, `'J9'`, `'volume'`, `'beginningPage'`, `'DOI'`) and using it to create a [Citation](./Citation.html#metaknowledge.citation.Citation) object.

        # Parameters

        _multiCite_ : `optional [bool]`

        > Default `False`, if `True` a tuple of Citations is returned with each having a different one of the records authors as the author

        # Returns

        `Citation`

        > A [Citation](./Citation.html#metaknowledge.citation.Citation) object containing a citation for the Record.