GithubHelp home page GithubHelp logo

pysal_examples's Introduction

pysal_examples

https://travis-ci.org/sjsrey/pysal_examples.svg?branch=master

Example data sets and helper functions for PySAL

This module is pre-alpha and is part of a refactoring of PySAL.

Using pysal_examples

In [1]: import pysal_examples

In [2]: pysal_examples.available()
Out[2]:
['10740',
 'Line',
 'Point',
 'Polygon',
 'Polygon_Holes',
 'arcgis',
 'baltim',
 'book',
 'burkitt',
 'calemp',
 'chicago',
 'columbus',
 'desmith',
 'geodanet',
 'juvenile',
 'mexico',
 'nat',
 'networks',
 'newHaven',
 'nyc_bikes',
 'sacramento2',
 'sids2',
 'snow_maps',
 'south',
 'stl',
 'street_net_pts',
 'taz',
 'us_income',
 'virginia',
 'wmat']

In [3]: pysal_examples.explain('baltim')
Out[3]:
{'description': 'Baltimore house sales prices and hedonics',
 'explanation': ['* baltim.dbf attribute data',
  '* baltim.shp shape file',
  '* baltim.shx spatial index file',
  '* baltim.tri.k12.kwt Kernel weights using a triangular kernel with 12 neares',
  '  neighbors',
  '* baltim_k4.gwt Nearest neighbor weights (4nn)',
  '* baltim_q.gal Queen contiguity file',
  '* baltimore.geojson',
  'Point data, n=211, k= 17.'],
 'name': 'baltim'}

In [4]: pysal_examples.get_path('baltim.shp')
Out[4]: '/home/serge/Documents/p/pysal/src/pysal-reorg/pysal-examples/pysal_examples/baltim/baltim.shp'

pysal_examples's People

Contributors

sjsrey avatar pastephens avatar schmidtc avatar mhwang4 avatar jlaura avatar tayloroshan avatar pedrovma avatar ljwolf avatar lanselin avatar darribas avatar nmalizia avatar weikang9009 avatar

Watchers

 avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.