Open
Description
Following is from the documentation:
import gdrive-sheets as GS
import data-source as DS
imported-my-table =
GS.load-spreadsheet("1BAexzf08Q5o8bXb_k8PwuE3tMKezxRfbKBKT-4L6UzI")
my-table = load-table: name :: String, age :: Number, favorite-color :: String
source: imported-my-table.sheet-by-name("3-rows", true)
sanitize name using DS.string-sanitizer
sanitize age using DS.strict-num-sanitizer
sanitize favorite-color using DS.string-sanitizer
end
If I change String
to Number
, everything still runs fine.