1010data Insights Platform offers a rich set of functions that may be used in value expressions when creating computed columns and in selection expressions when performing row selections.
List functions are scalar functions that return lists, subsets of lists, and combinations of lists, among other functionality. Lists, along with packages, are compound scalar data types that facilitate programmatic interaction with scalar data values and variables.
1010data provides a whole range of functions that can provide information and act on your data.
The time/date functions are vector functions that operate on columns containing time-related data and return specific information about the date/time for each row.
Group functions, or g_functions, are used to perform operations, such as summarizations, on rows that have the same values in a set of given columns.
Math functions are vector functions that perform mathematical operations on one or more columns and return a column of results based on the operation.
Categorization functions are vector functions that organize data and determine logical groupings. These functions can be used for conditionalizing results and/or bucketing value ranges.
String functions are vector functions that manipulate vectors of strings to provide information about a string or substring, concatenate and split strings, or transform strings based on specified criteria.
csl_drop(X;Y)
Returns all but the first number of elements in a given comma-separated list.
csl_len(X)
Returns the number of elements in a given comma-separated list.
csl_pick(X;Y)
Returns a particular element in a given comma-separated list.
csl_take(X;Y)
Returns the first number of elements in a given comma-separated list.
pick(X;L)
Returns the item in a specified list at the position denoted by the given value.
position(X;L)
Returns the position of a given value in a specified list.
strdrop(X;Y;N)
Returns all but the first number of characters, or the substring consisting of all but the first number of elements delimited by a particular value, within a given string.
strpick(X;Y;I)
Returns the character at a particular position, or the element delimited by a particular value, within a given string.
strreverse(X;Y)
Returns the characters, or the elements delimited by a particular value, of a given string in reverse.
strsort(X;Y;U;D)
Returns the characters, or the elements delimited by a particular value, of a given string sorted in ascending or descending order.
strsplit(X;Y;I)
Returns the character at a particular position, or the substring delimited by a particular value, within a given string.
strsplitpos(X;Y;I)
Returns the position of a certain element delimited by a particular value within a given string.
strtake(X;Y;N)
Returns the first number of characters, or the substring consisting of the first number of elements delimited by a particular value, within a given string.
Data-handling functions are vector functions that return a hash value based on an input column or columns.
Row functions are vector functions that return computational outputs for row inputs, as opposed to column outputs. Row inputs are defined as a space- or comma-separated list of column names.
SQL compatibility functions are functions that treat null values as SQL nulls.
System functions are special functions in 1010data that return information about users, tables, and other system objects.
The object functions can be used to check the existence, type, and accessibility of objects such as folders, tables, and queries on the 1010data Insights Platform.
This category of functions contains special functions that don't neatly fit into other categories of functions.