Skip to contents

Turns the log information returned by convert() into a pretty table, showing relative input/output paths and row counts.

Usage

print_log_row_count(log)

Arguments

log

A tibble returned by convert(), with columns input_path, output_path, and row_count.

Value

log invisibly.

Examples

sas_file <- fs::path_package("fastreg", "extdata", "test.sas7bdat")
conversion_log <- convert(sas_file, output_dir = fs::path_temp("output"))
#>  Converted test.sas7bdat
print_log_row_count(conversion_log)
#> 
#> 
#> |Input (.sas7bdat)                              |Output (.parquet)                                  | Row count|
#> |:----------------------------------------------|:--------------------------------------------------|---------:|
#> |../../../../_temp/Library/fastreg/extdata/test |...est/year=__HIVE_DEFAULT_PARTITION__/part-c876dc |      1000|