infer the arrow Array type from an R vector
type(x)
x | an R vector |
---|
an arrow logical type
type(1:10)#> Int32 #> int32type(1L:10L)#> Int32 #> int32#> Float64 #> double#> Utf8 #> stringtype(mtcars)#> StructType #> struct<mpg: double, cyl: double, disp: double, hp: double, drat: double, wt: double, qsec: double, vs: double, am: double, gear: double, carb: double>#> Date32 #> date32[day]