- Add "PLACE" and "PL" to the
usps_street
data frame. - Skip
non_ascii()
tests on OS other than Linux. - Fix package help documentation.
- Make
use_diary()
more flexible with custom file name argument. - Remove the flawed character vector method for the
dplyr::count()
function.
- Update template diary to match changes to TAP GitHub repository.
- Do not remove "AA" when using
normal_state(c("AA", "XX"), na_rep = TRUE)
. - The
end
argument ofstr_normal()
can now be controlled withabb_end
innormal_address()
(defaultTRUE
). - Simplify
normal_address()
by leaving number/letter mixes alone. - Change the
punct
argument ofstr_normal()
to take a replacement string.
- Add
string
argument toguess_delim()
to read the input as a single line of a file regardless of\n
presence. - Have the
delim
argument ofread_names()
default toguess_delim()
. - Add
pad
argument tonormal_zip()
(defaultFALSE
) to control the use ofstr_pad()
on ZIP codes without a leading zero. - The
end
argument has been added toabbrev_full
to target onlyfull
values at the end of a string. Defaults toFALSE
. normal_address()
usesend = TRUE
inabbrev_full
to target only the street type.
abbrev_full("123 MOUNTAIN ROAD", full = usps_street, end = FALSE)
#> "123 MTN RD"
normal_address("123 MOUNTAIN ROAD", abb = usps_street)
#> "123 MOUNTAIN RD"
- Fix testing issue with
non_ascii()
checking. - Tweak the default template diary for
use_diary()
.
- Deprecate
col_date_usa()
in favor ofcol_date_mdy()
. normal_address()
now only puts spaces between letters and numbers if the string either starts with letters or ends with numbers:normal_address()
now keeps the forward slash inC/O
.- Rename
which_in()
towhat_in()
to avoid confusion withwhich()
. - Remove
http_filename()
. - Remove
count_vec()
in favor of newdplyr::count()
method for characters. - Valid ZIP codes 22222, 44444, 55555 are not removed with
normal_zip(na.na_rep = TRUE)
.
normal_address("12east 2nd street, 3rd floor", abbs = usps_street)
#> "12 E 2ND ST 3 RD FL" # old output
#> "12 E 2ND ST 3RD FL" # fixed output
file_encoding()
now fails on Solaris and tests are skipped.- The use of the command line
file
tool viasystem2()
returns results on Solaris OS that are not the same as on a Unix-alike or Windows system and thus the results are unreliable for consistent replication.
- The use of the command line
- Tests and examples run more confidently.
- Improve the handling of internal data and vignette.
- Create
read_names()
.
flag_dupes()
has an argument to flag both duplicates.- Add encoding check to
use_diary().
- Improve documentation examples.
flag_dupes()
now also callsduplicated(fromLast = TRUE)
to capture all.- Separate address
[:digit:]
from[:alpha:]
with space. - Create
prop_distinct()
,which_in()
andwhich_out()
. - Comment out examples for fetching and checking cities.
- Use 'fs' bytes and paths.
- Create
use_diary()
with template diary. - Remove
print_all()
- The
normal_address()
now callsabbrev_full()
instead ofexpand_abbrev()
. - Reverse order of columns in
usps_street
,usps_state
, andusps_city
. - Update to version 2.0 of the
CODE_OF_CONDUCT.md
and URL.
- Added a
NEWS.md
file to track changes to the package. - Deprecated
glimpse_fun()
for more simplecol_stats()
.