stay_id | TEXT | no | S + start date + country |
start_date | TEXTdate | yes | ISO date, first day counted |
end_date | TEXTdate | yes | ISO date, exclusive (the next stay's start) |
nights | INTEGER | yes | end_date - start_date |
country_code | TEXTcountry | yes | |
sheet_year | INTEGER | no | the sheet's Year column |
sheet_days | INTEGER | no | the sheet's Days column (DATEDIF) |
source_tab | TEXT | yes | source location: the sheet tab, or the file name for a CSV |
source_row | INTEGER | yes | 1-based row in the source tab, or the line in the file |
adjusted | TEXT | no | importer adjustment applied (e.g. year_end_fill), else NULL |
city | TEXT | no | 1.1: optional place within the country, as written in the source (e.g. Lisbon) |
source | TEXT | no | 1.1: connector id that wrote the row: stays-csv | google-sheet | calendar-ics | manual |
source_ref | TEXT | no | 1.1: where in the source: file:line (data/stays.csv:12) or tab!row (Travel Log!A12) |
imported_at | TEXTinstant | no | 1.1: ISO 8601 UTC instant of the import (left out of meta.data_hash) |