Skip to content

codeforutah/datacatalog-imp-utah-old

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

National Data Catalog Importer for utah.gov/data

Only focuses on "State Data Files" listed here. There are many other "Data Sources" listed, but they amount to online databases only accessible via custom web interfaces, which is out of the scope of the National Data Catalog.

Installation

Install Needed RubyGems

# For development and production:
gem install datacatalog-importer

Set Up Config Files

  • Create config.yml using config.example.yml as a template.

Usage

First, rake pull. Then, rake push. It's easy.

1. rake pull

Download and parse pages from the source catalog. You will need to specify the environment using the IMPORTER_ENV environment variable. Some examples:

  • IMPORTER_ENV=local rake pull
  • IMPORTER_ENV=sandbox rake pull
  • IMPORTER_ENV=production rake pull

2. rake push

Upload pulled data to the National Data Catalog API. You will need to specify the environment using the IMPORTER_ENV environment variable. Some examples:

  • IMPORTER_ENV=local rake push
  • IMPORTER_ENV=sandbox rake push
  • IMPORTER_ENV=production rake push

Join The National Data Catalog Community

About

National Data Catalog Importer for Utah.gov

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published