hubverse-org / hubData

Tools for accessing and working with hubverse Hub data
https://hubverse-org.github.io/hubData/
Other
3 stars 4 forks source link

Write a function to save a model_out_tbl as a CSV or parquet file #45

Open lshandross opened 1 week ago

lshandross commented 1 week ago

It would be useful to have a general function that saves model output as a CSV or parquet file with the correct hub first formatting, with the following proposed formatting:

save_model_out_tbl(model_outputs, format=c("csv", "parquet"), path)

In the case of parquet files, uses the hub’s schema to ensure correct data types

annakrystalli commented 1 week ago

This is a great idea!