A named character vector mapping common arrow::Schema field types (as strings) to their corresponding base R types. This mapping is used to translate or validate column types when working with Parquet files or Arrow datasets, especially for schema inference and compatibility checks.
Details
Only the safest and most portable Arrow types are supported in the hubverse. Types not present in this mapping should be treated as unsupported.
Arrow type | R type | Notes |
bool | logical | |
int32 | integer | |
int64 | integer | R supports via Arrow |
float | double | Promoted to double in R |
double | double | |
string | character | |
date32[day] | Date | |
timestamp[ms] | POSIXct | Safest timestamp format |