original_docstring: 
      List available datasets in pysal.examples
      
docstring: List available datasets in pysal.examples
docstring_tokens: List available datasets in pysal . examples
code: def available(verbose=False):
      """
      List available datasets in pysal.examples
      """
      base = get_path('')
      examples = [os.path.join(get_path(''), d) for d in os.listdir(base)]
      examples = [d for d in examples if os.path.isdir(d) and '__' not in d]
      if not verbose:
          return [os.path.split(d)[-1] for d in examples]
      examples = [os.path.join(dty, 'README.md') for dty in examples]
      descs = [_read_example(path) for path in examples]
      return [{desc['name']:desc['description'] for desc in descs}]
code_tokens: def available ( verbose = False ) : base = get_path ( '' ) examples = [ os . path . join ( get_path ( '' ) , d ) for d in os . listdir ( base ) ] examples = [ d for d in examples if os . path . isdir ( d ) and '__' not in d ] if not verbose : return [ os . path . split ( d ) [ - 1 ] for d in examples ] examples = [ os . path . join ( dty , 'README.md' ) for dty in examples ] descs = [ _read_example ( path ) for path in examples ] return [ { desc [ 'name' ] : desc [ 'description' ] for desc in descs } ]
short_docstring: List available datasets in pysal.examples
short_docstring_tokens: List available datasets in pysal . examples
comment: """
      List available datasets in pysal.examples
      """