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.
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.
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.
Provides an overview of basic functionality of g_functions in 1010data.
All g_functions contain an optional S parameter, or a selection column, to tell the g_function whether to include or exclude a row in its calculations.
S
g_asof(G;S;O;X;Y;TX;TY;BA;L)
Returns the position of the row within a given group where all the values in one or more columns most closely match the values in another specified set of columns.
g_enum(G;S;O;X)
Returns the enumeration of unique values across one or more columns within a given group.
g_fill(G;S;O;X;D)
Returns the value of the nearest non-N/A value before or after the current row within a given group.
g_first(G;S;O;X)
Returns the first non-N/A value within a given group.
g_first1(G;S;O)
Returns a boolean value indicating whether this is the first row in a given group.
g_forecast(G;S;O;X;VV;M;OPTS;R)
Shows fitted values and forecasts future values of a time series X using the model object in the M argument. (Available as of version 19.14)
X
M
g_interp(G;S;O;X;N)
Returns interpolations for N/A values in a given group.
g_last(G;S;O;X)
Returns the last non-N/A value within a given group.
g_last1(G;S;O)
Returns a boolean value indicating whether this is the last row in a given group.
g_lst(G;S;O;X)
Returns a list value for each group, in the specified order. (Available as of version 15.21)
g_lstpkg(G;S;O;X)
g_pick(G;S;O;X;Y)
Returns the value corresponding to a specific position in a particular column within a given group.
g_pkg(G;S;O;K;X)
Returns a package value for each group, in the specified order. (Available as of version 15.21)
g_position(G;S;O;X;Y)
Returns the position of the first row within a given group where all the values in one or more columns match the values in another specified set of columns.
g_runs(G;S;O;X)
Returns the number of times that a value has changed from row to row within a given group.
g_splice(G;S;O;X;D;N)
Returns a concatenated list of values ordered in a specified manner within a given group.
g_stl(G;S;O;X;NP;OPTS;R)
Performs a time-series decomposition on the column X using the STL (Seasonal-Trend decomposition using LOESS). (Available as of version 19.00)
g_movavg(G;S;O;X;W;P)
Returns the average of valid (non-N/A) values in a moving window within a given group.
g_movcnt(G;S;O;X;W;P)
Returns the number of valid (non-N/A) values in a moving window within a given group.
g_movhi(G;S;O;X;W;P)
Returns the maximum of valid (non-N/A) values in a moving window within a given group.
g_movlo(G;S;O;X;W;P)
Returns the minimum of valid (non-N/A) values in a moving window within a given group.
g_movprod(G;S;O;X;W;P)
Returns the product of valid (non-N/A) values in a moving window within a given group.
g_movsum(G;S;O;X;W;P)
Returns the sum of valid (non-N/A) values in a moving window within a given group.
g_movvar(G;S;O;X;W;P)
Returns the variance of valid (non-N/A) values in a moving window within a given group.
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.
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.
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.