• Fixed a potential bug in read_folder(). Certain file paths on windows would fail a regex match. This normalizes the paths to avoid the error.
  • Expanded data types in the various spec functions. Now includes ‘INTEGER’, ‘BOOLEAN’, ‘DECIMAL’, and ‘LONGTEXT’ as options to map back to the most appropriate R base data types (integer, logical, double, and character, respectively).
  • Minor fixes to make functions some functions more compatible with dbplyr. This includes add_missing_column().
  • Fixed a bug with assert_case() when moving back to “native”. In certain cases it was possible for the data_case attribute to be dropped. (#32)
  • Added in the validate_data() generic.
  • Fixed a bug related to the classes being dropped when changing case. (#28)
  • Improved ability to work with different cases from the file spec.
    • Renamed the “base” case to “native” which is more descriptive. Adjusted functions to now refer to this “native” case as such instead of using the term “data model”. This resulted in the name change of data_model_to_snake() and snake_to_data_model() to native_to_snake_case() and snake_to_native_case(), respectively.
    • Added in functions to pull the data_case and data_spec attributes from objects.
    • Added in function assert_case() to check if an object is in the correct case, and correct if needed. This should rarely be used. It is better to simply use one consistent case. However, some older packages applied an ill-advised naming convention, so this is used to improve the names but not break old code. (#23)
  • Added the function write_json_zip() to write a list of tibbles into a zipped folder of JSON files.
  • Moved the flatten_data() generic from readflexfile into costmisc. This should have no impact to the user.
  • Added a new function read_json_zip() to read a folder of JSON files into a list of tibbles.
  • First public release of costmisc! This package is available now on GitHub and is licensed under the GPLv3.
  • Updated citation and copyright notifications.
  • Moved the dplyr modification functions to another package. These were purposely removed rather than deprecated. This includes both insensitive() and distinct_insensitive().
  • Tweaked insensitive() so that it passes through all the join arguments.
  • Moved in as_int() from wbstools.
  • Moved in strip_Attributes() from wbstools.