| Top |
| void | import_na_init () |
| int | import_na_string () |
| int | import_obs_label () |
| int | test_markers_for_dates () |
| int | non_numeric_check () |
| void | reverse_data () |
| int | gretl_join_data () |
| int | probe_csv () |
| void | normalize_join_colname () |
| int | csv_open_needs_matrix () |
int test_markers_for_dates (DATASET *dset,int *reversed,char *skipstr,PRN *prn);
int non_numeric_check (DATASET *dset,int **plist,gretl_string_table **pst,PRN *prn);
int gretl_join_data (const char *fname,const char **vnames,int nvars,DATASET *dset,const int *ikeyvars,const char *okey,const char *filter,const char *dataname,AggrType agg,int seqval,const char *auxname,const char *tconvstr,const char *tconvfmt,gretlopt opt,PRN *prn);
Opens a delimited text data file or gdt file and carries out a "join" operation to pull data into the current working dataset.
fname |
name of data file. |
|
vnames |
name(s) of variables to create or modify. |
|
nvars |
the number of elements in |
|
dset |
pointer to dataset. |
|
ikeyvars |
list of 1 or 2 "inner" key variables, or NULL. |
|
okey |
string specifying "outer" key(s) or NULL. |
|
filtstr |
string specifying filter, or NULL. |
|
data |
name of outer "payload" column, or NULL. |
|
aggr |
aggregation method specifier. |
|
seqval |
1-based sequence number for aggregation, or 0. |
|
auxname |
name of auxiliary column for max or min aggregation, or NULL. |
|
tconvstr |
string specifying date columns for conversion, or NULL. |
|
tconvfmt |
string giving format(s) for "timeconv" columns, or NULL. |
|
opt |
may contain OPT_V for verbose operation, OPT_H to assume no header row. |
|
prn |
gretl printing struct (or NULL). |
int probe_csv (const char *fname,char ***varnames,int *nvars,gretlopt *opt);
Open a Comma-Separated Values data file and read enough to determine the variable names.