Skip to content

Releases: irworkshop/campfin

Campfin 1.0.10

08 Mar 17:42
Compare
Choose a tag to compare
Increment version number to 1.0.10.9000

[skip ci]

campfin 1.0.8

02 Sep 17:14
Compare
Choose a tag to compare
  • Add string argument to guess_delim() to read the input as a single line
    of a file regardless of \n presence.
  • Have the delim argument of read_names() default to guess_delim().
  • Add pad argument to normal_zip() (default FALSE) to control the use of
    str_pad() on ZIP codes without a leading zero.
  • The end argument has been added to abbrev_full to target only full
    values at the end of a string. Defaults to FALSE.
  • normal_address() uses end = TRUE in abbrev_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

04 Mar 15:47
Compare
Choose a tag to compare
  • Deprecate col_date_usa() in favor of col_date_mdy().
  • Rename which_in() to what_in() to avoid confusion with which().
  • Remove http_filename().
  • Remove count_vec() in favor of new dplyr::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 in C/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

27 Nov 16:18
Compare
Choose a tag to compare

More safely fail with tools built around the command line, which can vary on different operating systems.

campfin 1.0.3

07 Nov 18:10
Compare
Choose a tag to compare

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.