dm 1.0.0
Features
-
New
dm_gui()
for interactive editing ofdm
objects (#1076, #1319). -
dm_get_tables()
andpull_tbl()
gain a newkeyed = FALSE
argument. If set toTRUE
, table objects of class"dm_keyed_tbl"
are returned. These objects inherit from the underlying data structure (tibble or lazy table), keep track of primary and foreign keys, and can be used later on in a call todm()
to recreate a dm object with the keys (#1187). -
New
by_position
argument tocheck_subset()
,check_set_equality()
,check_cardinality_...()
andexamine_cardinality()
(#1253). -
dm()
accepts dm objects (#1226). -
dm_examine_constraints()
honors implicit unique keys defined by foreign keys (#1131, #1209).
Breaking changes
-
dm_filter()
is now stable, with a new API that avoids exposing an intermediate state with filters not yet applied, with a compatibility wrapper (#424, #426, #1236). -
check_cardinality_...()
,examine_cardinality()
,check_subset()
andcheck_set_equality()
are now stable and consistently use a common interface with arguments namedx
,y
,x_select
andy_select
, with compatibility wrappers (#1194, #1229). -
dm_examine_cardinalities()
anddm_examine_constraints()
are now stable with a new signature and a compatibility wrapper (#1193, #1195). -
dm_apply_filters()
,dm_apply_filters_to_tbl()
anddm_get_filters()
are deprecated (#424, #426, #1236). -
dm_disambiguate_cols()
adds table names as a suffix by default, and gains a.position
argument to restore the original behavior. Argumentssep
andquiet
are renamed to.sep
and.quiet
(#1293, #1327). -
dm_squash_to_tbl()
is deprecated in favor of the new.recursive
argument todm_flatten_to_tbl()
. Argumentsstart
andjoin
are renamed to.start
and.join
(#1272, #1324). -
dm_rm_tbl()
is deprecated in favor ofdm_select_tbl()
(#1275). -
dm_bind()
anddm_add_tbl()
are deprecated in favor ofdm()
(#1226). -
rows_truncate()
anddm_rows_truncate()
are deprecated, because they use DDL as opposed to all other verbs that use DML (#1031, #1321). -
All internal S3 classes now use the
"dm_"
prefix (#1285, #1339). -
Add ellipses to all generics (#1298).
API
-
Reexport
tibble()
(#1279). -
dm_ptype()
,dm_financial()
anddm_pixarfilms()
are stable now (#1254). -
Turn all "questioning" functions to "experimental" (#1030, #1237).
Performance
-
is_unique_key()
usesvctrs::vec_count()
on local data frames for speed (@eutwt, #1247). -
check_key()
usesvctrs::vec_duplicate_any()
on local data frames for speed (@eutwt, #1234).
Bug fixes
-
dm_draw()
works if a table name has a space (#1219). -
Don't print rule in
glimpse.dm()
for emptydm()
(#1208).
Documentation
-
Work around ANSI escape issues in CRAN rendering of vignette (#1156, #1330).
-
Fix column names in
?dm_get_all_pks
(#1245). -
Improve contrast for display of
dm_financial()
(#1073, #1250). -
Add contributing guide (#1222).