How to extract part of ReadStatDataFrame?

#1

julia> using ReadStat
julia> using DataValues

I have A

julia> A
ReadStatDataFrame(Any[DataValue{Float64}[1.0, 2.0, 1.0, 2.0], DataValue{Float64}[1.0, 1.0, 2.0, 2.0], DataValue{Float64}[0.139644, 0.431302, 0.612179, 0.290753], DataValue{String}[“aa”, “ab”, “aa”, “bb”], DataValue{Float64}[#NA, #NA, #NA, #NA]], Symbol[:plec, :klwm, :waga, :pismo, :nowa_zmienna], DataType[Float64, Float64, Float64, String, Float64], ["", “”, “”, “”, “”], [“F8.2”, “F8.2”, “F8.2”, “A8”, “F8.2”], UInt64[0x0000000000000008, 0x0000000000000008, 0x0000000000000008, 0x0000000000000008, 0x0000000000000008], Int32[1, 1, 1, 1, 0], Int32[0, 0, 0, 0, 0], [“labels0”, “labels1”, “”, “”, “labels2”], Dict(“labels2”=>Dict(4.0=>“cztery”,2.0=>“dwa”,3.0=>“trzy”,1.0=>“raz”),“labels0”=>Dict(2.0=>“facet”,1.0=>“kob”),“labels1”=>Dict(2.0=>“miasto”,1.0=>“wiocha”)), 4, 5, “”, 2019-03-21T15:46:30, 2)

A.labels not works :confused:

julia> A.labels

5-element Array{String,1}:
“”
“”
“”
“”
“”

My labels it is : Symbol[:plec, :klwm, :waga, :pismo, :nowa_zmienna]
How to extract it from A ?
Thanks , Paul

#2

I Really can’t reconstruct A, i will try