DataFrame(read_from_sas)
method that converts data loaded with SASLib.read
#18
Labels
DataFrame(read_from_sas)
method that converts data loaded with SASLib.read
#18
Currently conversion to DataFrame requires
DataFrame(read_from_sas[:data])
. Overload theDataFrame
method so thatDataFrame(read_from_sas)
automatically converts feels more Julian.Also can default to convert in the same column order e.g. define a new Type that is
<: Dict{Symbol,Any}
and call it theSASInput
or something so it dispatch on the followingDataFrame(x::SASInput, colstable = true) = colstable ? DataFrame((c => x[:data][c]) for c in x[:column_symbols])...) : DataFrame(x[:data]);
The text was updated successfully, but these errors were encountered: