Skip to contents

What was and was not read

Usage

pii_read_report(x)

Arguments

x

The result of pii_read() or pii_scan().

Value

A tibble with one row per file: source, status (read, unsupported, failed or ignored), the number of fields read (n_fields) and, when not read, the reason in detail. NULL if x did not come from files.

Examples

file <- tempfile(fileext = ".xyz")
writeLines("something", file)
pii_read_report(pii_read(file))
#> # A tibble: 1 × 4
#>   source                               status      n_fields detail              
#>   <chr>                                <chr>          <int> <chr>               
#> 1 /tmp/RtmpeoiXV6/file1d7913d2250b.xyz unsupported        0 no reader for this …