Skip to content

Commit

Permalink
more interleaving #78
Browse files Browse the repository at this point in the history
  • Loading branch information
dcooley committed Apr 22, 2020
1 parent ab2a757 commit 33bd5a2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions inst/include/sfheaders/interleave/interleave.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,16 @@ namespace interleave {
);
}


// interleaves an `sf` object
inline Rcpp::List interleave( Rcpp::DataFrame& sf ) {
// and expand rows
std::string sfc_col = sf.attr("sf_column");
Rcpp::List sfc = sf[ sfc_col ];


}

} // interleave
} // sfheaders

Expand Down

0 comments on commit 33bd5a2

Please sign in to comment.