Releases: irworkshop/campfin
Releases · irworkshop/campfin
Campfin 1.0.10
campfin 1.0.8
- 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 of
str_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"
campfin 1.0.6
- Deprecate
col_date_usa()
in favor ofcol_date_mdy()
. - 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()
now keeps the forward slash inC/O
.normal_address()
now only puts spaces between letters and numbers if the string either starts with letters or ends with numbers: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
campfin 1.0.4
More safely fail with tools built around the command line, which can vary on different operating systems.
campfin 1.0.3
This is the initial CRAN release of the campfin package. The package includes all the functions and data needed to complete the data cleaning workflow done by the Investigative Reporting Workshop on our Accountability Project.
Going forward, users should expect more stability in function use and identity. That is, all efforts will be made to ensure backwards capability and respectful deprecation. Data diaries documenting a cleaning workflow will install the package from CRAN and indicate the version number used to ensure reproducibility.