Skip to content

Instantly share code, notes, and snippets.

@ifknot
Created October 17, 2020 12:44
Show Gist options
  • Save ifknot/9185a6a48b217b8f83bcb7207091f079 to your computer and use it in GitHub Desktop.
Save ifknot/9185a6a48b217b8f83bcb7207091f079 to your computer and use it in GitHub Desktop.
Read dumb data into C++ heterogeneous data frame
#include <iostream>
#include "data_frame.h"
#include "read_csv.h"
#include "head.h"
using namespace R;
int main() {
std::cout << "read dumb data into heterogeneous container\n\n";
auto car_data = read_csv("mpg.csv");
std::cout << head(car_data);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment