Skip to content

Commit 211f1d9

Browse files
authored
Merge pull request #168 from tracykteal/plotid
updated table with data types matching the sqlite database
2 parents 4c384ef + 6fc84ac commit 211f1d9

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

_episodes/00-sql-introduction.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -191,18 +191,18 @@ follow these instructions:
191191

192192
| Field | Data Type | Motivation | Table(s) |
193193
|-------------------|:---------------|----------------------------------------------------------------------------------|-------------------|
194-
| day | INTEGER | Allows for meaningful arithmetic and comparisons | surveys |
195-
| genus | TEXT | Field contains alphanumeric data | species |
196-
| hindfoot_length | REAL | Field contains measured data | surveys |
197-
| month | INTEGER | Allows for meaningful arithmetic and comparisons | surveys |
198-
| plot_id | TEXT | Field conatins numeric data, which does not lend itself to meaningful arithmetic | plots, surveys |
199-
| plot_type | TEXT | Field contains alphanumeric data | plots |
200-
| record_id | TEXT | Field conatins numeric data, which does not lend itself to meaningful arithmetic | surveys |
201-
| sex | TEXT | Field contains alphanumeric data | surveys |
202-
| species_id | TEXT | Field conatins numeric data, which does not lend itself to meaningful arithmetic | species, surveys |
203-
| species | TEXT | Field contains alphanumeric data | species |
204-
| taxa | TEXT | Field contains alphanumeric data | species |
205-
| weight | REAL | Field contains measured data | surveys |
194+
| day | INTEGER | Having data as numeric allows for meaningful arithmetic and comparisons | surveys |
195+
| genus | TEXT | Field contains text data | species |
196+
| hindfoot_length | REAL | Field contains measured numeric data | surveys |
197+
| month | INTEGER | Having data as numeric allows for meaningful arithmetic and comparisons | surveys |
198+
| plot_id | INTEGER | Field contains numeric data | plots, surveys |
199+
| plot_type | TEXT | Field contains text data | plots |
200+
| record_id | INTEGER | Field contains numeric data | surveys |
201+
| sex | TEXT | Field contains text data | surveys |
202+
| species_id | TEXT | Field contains text data | species, surveys |
203+
| species | TEXT | Field contains text data | species |
204+
| taxa | TEXT | Field contains text data | species |
205+
| weight | REAL | Field contains measured numerical data | surveys |
206206
| year | INTEGER | Allows for meaningful arithmetic and comparisons | surveys |
207207

208208

0 commit comments

Comments
 (0)