MCPcopy Create free account
hub / github.com/apache/arrow / _arrow_Table__GetColumnByName

Function _arrow_Table__GetColumnByName

r/src/arrowExports.cpp:5560–5566  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5558// table.cpp
5559std::shared_ptr<arrow::ChunkedArray> Table__GetColumnByName(const std::shared_ptr<arrow::Table>& table, const std::string& name);
5560extern "C" SEXP _arrow_Table__GetColumnByName(SEXP table_sexp, SEXP name_sexp){
5561BEGIN_CPP11
5562 arrow::r::Input<const std::shared_ptr<arrow::Table>&>::type table(table_sexp);
5563 arrow::r::Input<const std::string&>::type name(name_sexp);
5564 return cpp11::as_sexp(Table__GetColumnByName(table, name));
5565END_CPP11
5566}
5567// table.cpp
5568std::shared_ptr<arrow::Table> Table__RemoveColumn(const std::shared_ptr<arrow::Table>& table, int i);
5569extern "C" SEXP _arrow_Table__RemoveColumn(SEXP table_sexp, SEXP i_sexp){

Callers

nothing calls this directly

Calls 2

as_sexpFunction · 0.85
Table__GetColumnByNameFunction · 0.85

Tested by

no test coverage detected