Skip to content

Commit

Permalink
Update USDA nutrient database to release 28.
Browse files Browse the repository at this point in the history
  • Loading branch information
m5n committed Mar 16, 2016
1 parent dcf6de1 commit ee4360e
Show file tree
Hide file tree
Showing 14 changed files with 305,758 additions and 267,272 deletions.
6 changes: 5 additions & 1 deletion usda_nndsr/MODIFICATIONS
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,13 @@ Clarification of foreign key relationships is needed as the textual description
- SRC_CD.Src_Cd


Modifications made that were missing or incorrect in the data description file ./data/sr27_doc.pdf:
Modifications made that were missing or incorrect in the data description file ./data/sr28_doc.pdf:

DATA_SRC table
- Number of records = 682 instead of 681.

FOOTNOTE table
- Number of records = 552 instead of 553.
- (MySQL) convert empty string Nutr_No values to null to avoid foreign key error added on FOOTNOTE table
+ this is to fix ERROR 1452 (23000) at line 387: Cannot add or update a child row:
a foreign key constraint fails (`usda_nndsr`.<result 2 when explaining filename '#sql-36d3_48'>,
Expand Down
Loading

0 comments on commit ee4360e

Please sign in to comment.