/usda-nnd-import

Imports the USDA National Nutrient Database to a Postgres database.

Primary LanguageRuby

usda-nnd-import

Imports the USDA National Nutrient Database to a Postgres database from the ASCII data files provided here.

Usage

  • bundle install
  • Extract text files from the above link to data/source.
  • Rename config.sample.rb to config.rb and set up the db connection in it.
  • ruby main.rb