10 std::vector<std::string> &data);
13 std::vector<std::string> &data);
16 std::vector<std::string> &data);
19 std::vector<std::string> &data);
21 std::map<std::string, std::size_t>
23 const std::vector<std::string> fields);
38 std::map<std::string, std::string> columns,
39 std::string delimiter =
",");
45 std::map<hc::Identifier, std::vector<double>>
Defines a Datatable for in memory data class.
Definition: datatable.h:16
Primitive data type DataTable column builder class.
Definition: column_builder.h:13
Top-level namespace for Health-GPS Core C++ API.
Definition: analysis.h:7
hc::StringDataTableColumnBuilder parse_string_column(std::string name, std::vector< std::string > &data)
Definition: csvparser.cpp:19
hc::FloatDataTableColumnBuilder parse_float_column(std::string name, std::vector< std::string > &data)
Definition: csvparser.cpp:52
hc::IntegerDataTableColumnBuilder parse_int_column(std::string name, std::vector< std::string > &data)
Definition: csvparser.cpp:37
std::map< std::string, std::size_t > create_fields_index_mapping(const std::vector< std::string > &column_names, const std::vector< std::string > fields)
Definition: csvparser.cpp:83
hc::DoubleDataTableColumnBuilder parse_double_column(std::string name, std::vector< std::string > &data)
Definition: csvparser.cpp:67
Top-level namespace for Health-GPS Console host application.
Definition: configuration.cpp:31
bool load_datatable_from_csv(hc::DataTable &out_table, std::string full_filename, std::map< std::string, std::string > columns, std::string delimiter)
Populates a datatable with the input data file contents.
Definition: csvparser.cpp:99
std::map< hc::Identifier, std::vector< double > > load_baseline_from_csv(const std::string &full_filename, const std::string delimiter)
Loads the contents of baseline adjustments file into a table.
Definition: csvparser.cpp:159