14 zero_flag()

The zero_flag() function flags a zero at the start of a value. This function is useful for formatting numbers with a specified number of digits such as Social Security Numbers.

zero_flag(700, 4, format = 'd') # == '0700'
## [1] "0700"