Project

dillo

0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Dillo is a Ruby module that allows you to easily interact with the City of Austin's Data Portal.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.6
~> 0.4
~> 1.7

Runtime

 Project Readme

#Dillo

Ruby library for working with the City of Austin Data Portal. This library is derived from Windy which is a library for interacting with Chicago's Socrata powered data portal.

##Installing

$ gem install dillo

##Usage

###Views

Views are the most basic buidling blocks of Socrata, these are what you see when you use the website. To get a list of views:

all_views = Dillo.views

This returns an array of views.

###Rows

To get the data inside of a view use the following:

unclaimed_property = Dillo.views.find_by_id("h3i4-5e5v")

To get an individual record:

record = unclaimed_property[0]

The individual column names now became properties that can be accessed like:

record.first  # first is the name of the column

To search rows by column name you can use the "find_by_columnname" method:

just_first_names = unclaimed_property.find_all_by_first("insert a value")

##Future Plans

  • Full RDoc documentation
  • Rake tasks for running tests and misc.
  • More tests
  • Example applications

##Issues

Please use the issue tracker here on github.

##Contributions

Any contributions are welcome, there are not any specific requirements or standards being used at the moment.

##Licensing

CC0 This is released under the [Creative Commons 0](http://creativecommons.org/publicdomain/zero/1.0/legalcode) license.