def title(self, doi_lst=None): """ """ dois = listafy(doi_lst, self._corpus_info['d2c']) d2info = self._corpus_info['d2info'] tlist = [] for d in dois: (_,_,_,t,_) = d2info[d] tlist.extend((d, t)) return tlist
def article_type(self, doi_lst=None): """ """ dois = listafy(doi_lst, self._corpus_info['d2c']) d2info = self._corpus_info['d2info'] alist = [] for d in dois: (_,_,atype,_,_) = d2info[d] if d in d2info else (0,0,None,0,0) alist.extend((d, atype)) return alist
def pub_date(self, doi_lst=None): """ """ dois = listafy(doi_lst, self._corpus_info['d2c']) d2info = self._corpus_info['d2info'] dlist = [] for d in dois: (_,pd,_,_,_) = d2info[d] if d in d2info else (0,None,0,0,0) dlist.extend((d, pd)) return dlist
def authors(self, doi_lst=None): """ Build a list of (doi , author) tuples. """ dois = listafy(doi_lst, self._corpus_info['d2c']) d2info = self._corpus_info['d2info'] alist = [] for d in dois: (_,_,_,_,authors) = d2info[d] alist.extend([ (d, a) for a in authors]) return alist
def doi2fid(self, doi_lst=None): """ """ dois = listafy(doi_lst, self._corpus_info['d2c']) return zip(dois, doi2fn(dois, self._doc_part))
def articleXML(self, doi_lst=None): """ """ dois = listafy(doi_lst, self._corpus_info['d2c']) xmap = self._corpus_info['xml_link'] return zip(dois, [ xmap[d] for d in dois ])
def articleURL(self, doi_lst=None): """ """ dois = listafy(doi_lst, self._corpus_info['d2c']) amap = self._corpus_info['article_link'] return zip(dois, [ amap[d] for d in dois])