Skip to content

Commit

Permalink
Enumerate terminology in penguin 'table' example
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesaoverton committed Aug 2, 2024
1 parent 833b210 commit 5afd4a0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
10 changes: 5 additions & 5 deletions examples/penguins/table/src/schema/column.tsv
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,18 @@ datatype sql_type SQL type empty sql_type the SQLite type for representing this
datatype html_type HTML type empty html_type the HTML type for viewing and editing this data
penguin study_name studyName word the name of the study
penguin sample_number Sample Number natural_number primary the sample identifier
penguin species Species trimmed_line the species of the measured individual
penguin region Region trimmed_line the region where the measurement took place
penguin island Island trimmed_line the island where the measurement took place
penguin stage Stage trimmed_line the growth stage of the individual
penguin species Species species the species of the measured individual
penguin region Region regions the region where the measurement took place
penguin island Island islands the island where the measurement took place
penguin stage Stage stages the growth stage of the individual
penguin individual_id Individual ID individual_id unique the ID of the measured individual
penguin clutch_completion Clutch Completion word whether the measured individual's clutch of eggs was complete
penguin date_egg Date Egg date the date that an egg in the clutch was observed
penguin culmen_length Culmen Length (mm) positive_decimal the length of the culmen of the individual, in millimetres
penguin culmen_depth Culmen Depth (mm) positive_decimal the depth of the culmen of the individual, in millimetres
penguin flipper_length Flipper Length (mm) natural_number the length of the individual's flipper, in millimetres
penguin body_mass Body Mass (g) natural_number the body mass of the individual, in grams
penguin sex Sex word the sex of the individual
penguin sex Sex sexes the sex of the individual
penguin delta_15_n Delta 15 N (o/oo) positive_decimal the Delta 15 N measurement
penguin delta_13_c Delta 13 C (o/oo) negative_decimal the Delta 13 C measurement
penguin comments Comments empty trimmed_text comments on the measurement or the individual
5 changes: 5 additions & 0 deletions examples/penguins/table/src/schema/datatype.tsv
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ positive_decimal nonspace match(/\d+.\d+/) a number with decimal places, greater
negative_decimal nonspace match(/-\d+.\d+/) a number with decimal places, less than than zero NUMERIC
date nonspace match(/\d\d\d\d-\d\d-\d\d/) a date in YYYY-MM-DD format
individual_id word match(/N\d+A\d/) an ID for an individual penguin: Nest number + Adult number
species trimmed_line in('Adelie Penguin (Pygoscelis adeliae)') search
regions word in('Anvers') search
islands word in('Biscoe', 'Dream', 'Torgersen') search
stages trimmed_line in('Adult, 1 Egg Stage') search
sexes word in('FEMALE', 'MALE') search
table_type word in('table', 'column', 'datatype') a VALVE table type search
sql_type word in('NULL', 'TEXT', 'INTEGER', 'REAL', 'NUMERIC') a SQL type search
html_type word in('input', 'textarea', 'search', 'radio', 'number', 'select') an HTML form type search

0 comments on commit 5afd4a0

Please sign in to comment.