This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Thu Oct 01 16:21:00 -0700 2009 | |
| |
LICENSE.md | Thu Oct 01 16:14:18 -0700 2009 | |
| |
README.md | Thu Oct 08 15:57:59 -0700 2009 | |
| |
app.rb | ||
| |
config/ | ||
| |
lib/ | ||
| |
rakefile.rb | Wed Oct 07 14:51:22 -0700 2009 | |
| |
spec/ | Wed Oct 07 14:51:22 -0700 2009 | |
| |
tasks/ |
README.md
Data.Gov Importer for the National Data Catalog
Installation
Install Needed RubyGems
# If you don't already have gemcutter:
gem install gemcutter
gem tumble
# For development and production:
gem install datacatalog
gem install fastercsv
gem install ruby-unindentable
gem install schema_hash
# For testing:
gem install rspec
Set Up Config Files
- Create
config/config.ymlusingconfig/config_example.ymlas a template.
Run the Tests
- Run
rake test
Usage
Quick Method
rake rundoes everything in one command
For More Control
- If you want to run one command at a time...
rake pulldownloads and parses pages from data.govrake pushuploads the data to the National Data Catalog API
Step By Step
- If you want to run one command at a time...
rake config:verifyto test your settingsrake pull:directorydownloads a directory (a list of pages)rake pull:pagesdownloads pages listed in the directoryrake pull:parseparses the downloaded pagesrake pushuploads the data to the National Data Catalog API
Join The National Data Catalog Community
Here are some ways to get involved:
- the National Data Catalog Mailing List
- the National Data Catalog project page
- the Sunlight Labs Mailing List
- the transparency chat room
You might also like to read our inaugural blog post about the project.








