class_docstr: The Political Blogs dataset from the `"The Political Blogosphere and
  the 2004 US Election: Divided they Blog"
  <https://dl.acm.org/doi/10.1145/1134271.1134277>`_ paper.
  
  :class:`Polblogs` is a graph with 1,490 vertices (representing political
  blogs) and 19,025 edges (links between blogs).
  The links are automatically extracted from a crawl of the front page of the
  blog.
  Each vertex receives a label indicating the political leaning of the blog:
  liberal or conservative.
  
  Args:
      root (str): Root directory where the dataset should be saved.
      transform (callable, optional): A function/transform that takes in an
          :obj:`torch_geometric.data.Data` object and returns a transformed
          version. The data object will be transformed before every access.
          (default: :obj:`None`)
      pre_transform (callable, optional): A function/transform that takes in
          an :obj:`torch_geometric.data.Data` object and returns a
          transformed version. The data object will be transformed before
          being saved to disk. (default: :obj:`None`)
      force_reload (bool, optional): Whether to re-process the dataset.
          (default: :obj:`False`)
  
  **STATS:**
  
  .. list-table::
      :widths: 10 10 10 10
      :header-rows: 1
  
      * - #nodes
        - #edges
        - #features
        - #classes
      * - 1,490
        - 19,025
        - 0
        - 2
class_docstr_tok: ["The","Political","Blogs","dataset","from","the","`","``","The","Political","Blogosphere","and","the","2004","US","Election",":","Divided","they","Blog","''","<","https",":","\/\/dl.acm.org\/doi\/10.1145\/1134271.1134277",">","`","_","paper",".",":","class",":","`","Polblogs","`","is","a","graph","with","1,490","vertices","(","representing","political","blogs",")","and","19,025","edges","(","links","between","blogs",")",".","The","links","are","automatically","extracted","from","a","crawl","of","the","front","page","of","the","blog",".","Each","vertex","receives","a","label","indicating","the","political","leaning","of","the","blog",":","liberal","or","conservative",".","Args",":","root","(","str",")",":","Root","directory","where","the","dataset","should","be","saved",".","transform","(","callable",",","optional",")",":","A","function\/transform","that","takes","in","an",":","obj",":","`","torch_geometric.data.Data","`","object","and","returns","a","transformed","version",".","The","data","object","will","be","transformed","before","every","access",".","(","default",":",":","obj",":","`","None","`",")","pre_transform","(","callable",",","optional",")",":","A","function\/transform","that","takes","in","an",":","obj",":","`","torch_geometric.data.Data","`","object","and","returns","a","transformed","version",".","The","data","object","will","be","transformed","before","being","saved","to","disk",".","(","default",":",":","obj",":","`","None","`",")","force_reload","(","bool",",","optional",")",":","Whether","to","re-process","the","dataset",".","(","default",":",":","obj",":","`","False","`",")","*","*","STATS",":","*","*","..","list-table",":",":",":","widths",":","10","10","10","10",":","header-rows",":","1","*","-","#","nodes","-","#","edges","-","#","features","-","#","classes","*","-","1,490","-","19,025","-","0","-","2"]
code: def download(self) -> None:
      path = download_url(self.url, self.raw_dir)
      extract_tar(path, self.raw_dir)
      os.unlink(path)
  
file_path: pytorch_geometric/torch_geometric/datasets/polblogs.py
imports: import os
  from typing import Callable, List, Optional
  import torch
  from torch_geometric.data import Data, InMemoryDataset, download_url, extract_tar
label_desc: Use image node_id 4 for calling the PolBlogs obj's underlying member method code with example usage: obj.download() without return types