Binding Dataset component property using expression

I am trying to bind custom dataset to display some values/rows of dataset table: 2 columns and x rows based on the roster/role. I need info on the syntax for binding dataset expression property to get this done using something like this?

for table 1:
"#NAMES"
"String Column", "Int Column"
"#TYPES"
"str","I"
"#ROWS","2"
"String 1","Int 1"
"String 2","Int 2"

tables looks like something like this but

table 1/dataset

String Column Int Column
String 1 Int 1
String 2 Int 2

Another table 2 /dataset

String Column Int Column
String 3 Int 3
String 4 Int 4

Ignition doesn't natively have much in the expression language for manipulating datasets. You probably want to look at my Integration Toolkit module.

Thanks for replying. That sucks. There is a dataset editor where we can manually create a table that but not using script.
For testing purpose what I did was created two memory tags with separate datasets and bind that to the table component data property using expression and it worked.
if (hasRole('administrator'), {Tag1Path},{Tag2Path})