Convert columntype in table to integer

Use system.dataset.fromCSV to specify data types and column headers for your blank dataset like this:

blankDataset = """#NAMES
Header1, Header2,
#TYPES
d,I
#ROWS,0"""

See Ignition Manual for data types, etc.