Created
          October 17, 2020 12:44 
        
      - 
      
- 
        Save ifknot/9185a6a48b217b8f83bcb7207091f079 to your computer and use it in GitHub Desktop. 
    Read dumb data into C++ heterogeneous data frame
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #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