Skip to content

Commit

Permalink
Update L1.qmd
Browse files Browse the repository at this point in the history
  • Loading branch information
bpbond committed May 24, 2024
1 parent 044a352 commit 560289a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion synoptic/L1.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,12 @@ error = function(e) {
out_df <- do.call("rbind", out)
if(!is.numeric(out_df$Rows)) {
stop("Rows is not numeric: ", class(out_df), class(out_df$Rows), out_df$Rows[1])
x <- which(is.na(as.numeric(out_df$Rows)))[1]
stop("Rows is not numeric: ", out_df$Dir[x], ",",
out_df$Files[x], ",",
out_df$Rows[x])
}
n_obs <- format(sum(out_df$Rows), big.mark = ",")
n_na <- format(sum(out_df$NA_rows), big.mark = ",")
```
Expand Down

0 comments on commit 560289a

Please sign in to comment.