Skip to content

Commit

Permalink
dm_zoomed
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Jul 21, 2022
1 parent c8de85c commit 1aba679
Show file tree
Hide file tree
Showing 49 changed files with 412 additions and 412 deletions.
96 changes: 48 additions & 48 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
# Generated by roxygen2: do not edit by hand

S3method("$",dm)
S3method("$",zoomed_dm)
S3method("$",dm_zoomed)
S3method("$<-",dm)
S3method("[",dm)
S3method("[",zoomed_dm)
S3method("[",dm_zoomed)
S3method("[<-",dm)
S3method("[[",dm)
S3method("[[",zoomed_dm)
S3method("[[",dm_zoomed)
S3method("[[<-",dm)
S3method("length<-",dm)
S3method("names<-",dm)
S3method(anti_join,dm)
S3method(anti_join,dm_keyed_tbl)
S3method(anti_join,zoomed_dm)
S3method(anti_join,dm_zoomed)
S3method(arrange,dm)
S3method(arrange,zoomed_dm)
S3method(arrange,dm_zoomed)
S3method(as.list,dm)
S3method(as.list,zoomed_dm)
S3method(as.list,dm_zoomed)
S3method(as_dm,DBIConnection)
S3method(as_dm,default)
S3method(as_dm,src)
S3method(collect,dm)
S3method(collect,zoomed_dm)
S3method(collect,dm_zoomed)
S3method(compute,dm)
S3method(compute,zoomed_dm)
S3method(compute,dm_zoomed)
S3method(copy_to,dm)
S3method(count,dm)
S3method(count,zoomed_dm)
S3method(count,dm_zoomed)
S3method(db_schema_create,"Microsoft SQL Server")
S3method(db_schema_create,PqConnection)
S3method(db_schema_create,SQLiteConnection)
Expand All @@ -45,110 +45,110 @@ S3method(db_schema_list,Pool)
S3method(db_schema_list,PqConnection)
S3method(db_schema_list,SQLiteConnection)
S3method(db_schema_list,src_dbi)
S3method(dim,zoomed_dm)
S3method(dimnames,zoomed_dm)
S3method(dim,dm_zoomed)
S3method(dimnames,dm_zoomed)
S3method(distinct,dm)
S3method(distinct,zoomed_dm)
S3method(distinct,dm_zoomed)
S3method(filter,dm)
S3method(filter,zoomed_dm)
S3method(filter,dm_zoomed)
S3method(format,cg_code_block)
S3method(format,dm)
S3method(format,dm_keys)
S3method(format,zoomed_df)
S3method(format,zoomed_dm)
S3method(format,dm_zoomed)
S3method(full_join,dm)
S3method(full_join,dm_keyed_tbl)
S3method(full_join,zoomed_dm)
S3method(full_join,dm_zoomed)
S3method(glimpse,dm)
S3method(glimpse,zoomed_dm)
S3method(glimpse,dm_zoomed)
S3method(group_by,dm)
S3method(group_by,dm_keyed_tbl)
S3method(group_by,zoomed_dm)
S3method(group_by,dm_zoomed)
S3method(group_data,dm)
S3method(group_data,zoomed_dm)
S3method(group_data,dm_zoomed)
S3method(group_indices,dm)
S3method(group_indices,zoomed_dm)
S3method(group_indices,dm_zoomed)
S3method(group_keys,dm)
S3method(group_keys,zoomed_dm)
S3method(group_keys,dm_zoomed)
S3method(group_vars,dm)
S3method(group_vars,zoomed_dm)
S3method(group_vars,dm_zoomed)
S3method(groups,dm)
S3method(groups,zoomed_dm)
S3method(head,zoomed_dm)
S3method(groups,dm_zoomed)
S3method(head,dm_zoomed)
S3method(inner_join,dm)
S3method(inner_join,dm_keyed_tbl)
S3method(inner_join,zoomed_dm)
S3method(inner_join,dm_zoomed)
S3method(json_nest,data.frame)
S3method(json_nest_join,data.frame)
S3method(json_pack,data.frame)
S3method(json_pack_join,data.frame)
S3method(left_join,dm)
S3method(left_join,dm_keyed_tbl)
S3method(left_join,zoomed_dm)
S3method(left_join,dm_zoomed)
S3method(length,dm)
S3method(length,zoomed_dm)
S3method(length,dm_zoomed)
S3method(mutate,dm)
S3method(mutate,zoomed_dm)
S3method(mutate,dm_zoomed)
S3method(names,dm)
S3method(names,zoomed_dm)
S3method(names,dm_zoomed)
S3method(nest_join,dm)
S3method(nest_join,zoomed_dm)
S3method(nest_join,dm_zoomed)
S3method(pack_join,data.frame)
S3method(pack_join,dm)
S3method(pack_join,zoomed_dm)
S3method(pack_join,dm_zoomed)
S3method(pillar_shaft,dm_keys)
S3method(print,cg_code_block)
S3method(print,dm)
S3method(print,dm_examine_cardinalities)
S3method(print,dm_examine_constraints)
S3method(print,zoomed_dm)
S3method(print,dm_zoomed)
S3method(pull,dm)
S3method(pull,zoomed_dm)
S3method(pull,dm_zoomed)
S3method(pull_tbl,dm)
S3method(pull_tbl,zoomed_dm)
S3method(pull_tbl,dm_zoomed)
S3method(relocate,dm)
S3method(relocate,zoomed_dm)
S3method(relocate,dm_zoomed)
S3method(rename,dm)
S3method(rename,zoomed_dm)
S3method(rename,dm_zoomed)
S3method(right_join,dm)
S3method(right_join,dm_keyed_tbl)
S3method(right_join,zoomed_dm)
S3method(right_join,dm_zoomed)
S3method(rows_truncate,data.frame)
S3method(rows_truncate,tbl_sql)
S3method(select,dm)
S3method(select,zoomed_dm)
S3method(select,dm_zoomed)
S3method(semi_join,dm)
S3method(semi_join,dm_keyed_tbl)
S3method(semi_join,zoomed_dm)
S3method(semi_join,dm_zoomed)
S3method(separate,dm)
S3method(separate,dm_keyed_tbl)
S3method(separate,zoomed_dm)
S3method(separate,dm_zoomed)
S3method(slice,dm)
S3method(slice,zoomed_dm)
S3method(slice,dm_zoomed)
S3method(sql_rows_truncate,tbl_SQLiteConnection)
S3method(sql_rows_truncate,tbl_duckdb_connection)
S3method(sql_rows_truncate,tbl_sql)
S3method(src_tbls,dm)
S3method(str,dm)
S3method(str,zoomed_dm)
S3method(str,dm_zoomed)
S3method(summarise,dm)
S3method(summarise,dm_keyed_tbl)
S3method(summarise,zoomed_dm)
S3method(tail,zoomed_dm)
S3method(summarise,dm_zoomed)
S3method(tail,dm_zoomed)
S3method(tally,dm)
S3method(tally,zoomed_dm)
S3method(tally,dm_zoomed)
S3method(tbl,dm)
S3method(tbl_sum,dm_keyed_tbl)
S3method(tbl_sum,zoomed_df)
S3method(tbl_vars,dm)
S3method(tbl_vars,zoomed_dm)
S3method(tbl_vars,dm_zoomed)
S3method(transmute,dm)
S3method(transmute,zoomed_dm)
S3method(transmute,dm_zoomed)
S3method(ungroup,dm)
S3method(ungroup,zoomed_dm)
S3method(ungroup,dm_zoomed)
S3method(unite,dm)
S3method(unite,dm_keyed_tbl)
S3method(unite,zoomed_dm)
S3method(unite,dm_zoomed)
S3method(vec_cast,dm_keys.dm_keys)
S3method(vec_proxy_compare,dm_keys)
S3method(vec_ptype2,dm_keys.dm_keys)
Expand Down
18 changes: 9 additions & 9 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@
## Internal

- Use `withCallingHandlers()` where appropriate (#422).
- Consistent definition of `.dm` and `.zoomed_dm` methods (#300).
- Consistent definition of `.dm` and `.dm_zoomed` methods (#300).
- Examples involving `dm_financial()` are not run if connection can't be established (#418).
- Fix database tests on CI (#416).

Expand Down Expand Up @@ -530,7 +530,7 @@
- `dm_from_src()` now works for databases other than Postgres and MSSQL (#288), gives a warning if tables cannot be accessed with `table_name = NULL` (#348), and gains `learn_keys` argument to control querying of primary and foreign keys from the database (#340).
- `dm_examine_constraints()` now prints a different message if a dm has no constraints defined.
- Disambiguation message now only lists column names for easier copy-pasting.
- New methods for `"zoomed_dm"`: `head()`, `tail()`, `pull()`, `group_data()`, `group_indices()`, `group_vars()`, `group_keys()` and `groups()` (#236, #203).
- New methods for `"dm_zoomed"`: `head()`, `tail()`, `pull()`, `group_data()`, `group_indices()`, `group_vars()`, `group_keys()` and `groups()` (#236, #203).
- `dm_paste()` supports writing colors and the table definition via the new `options` argument. The definition can be written to a file via the new `path` argument. The `select` argument is soft-deprecated (#218, #302).
- `dm_add_tbl()` uses `rlang::list2()` internally, now accepts `:=` to specify table names.
- New `dm_ptype()` (#301).
Expand All @@ -547,10 +547,10 @@
- `dm_add_pk()`, `dm_rm_pk()`, `dm_add_fk()` and `dm_rm_fk()` are now stricter when keys exists or when attempting to remove keys that don't exist. A more relaxed mode of operation may be added later (#214).
- `examine_cardinality()`, `dm_examine_constraints()` and `enum_pk_candidates()` now work for columns named `n`.
- `dm_set_key_constraints()` (and by extension `dm_copy_to(set_key_constraints = TRUE)`) now quote identifiers for the SQL that creates foreign keys on the database.
- `collect()` gives a better error message when called on a `"zoomed_dm"` (#294).
- `collect()` gives a better error message when called on a `"dm_zoomed"` (#294).
- `check_subset()` gives a clean error message if the tables are complex expressions.
- `dm_from_src(schema = "...")` works on Postgres if `search_path` is not set on the connection.
- `compute.zoomed_dm()` no longer throws an error.
- `compute.dm_zoomed()` no longer throws an error.
- Remove unused DT import (#295).


Expand Down Expand Up @@ -587,10 +587,10 @@
# dm 0.1.0

- Package is now in the "maturing" lifecycle (#154).
- `filter.zoomed_dm()` no longer sets the filter.
- `filter.dm_zoomed()` no longer sets the filter.
- `examine_()` functions never throw an error (#238).
- API overhaul: `dm_zoom_to()`, `dm_insert_zoomed()`, `dm_update_zoomed()` and `dm_discard_zoomed()`; `check_()` -> `examine_()`; `dm_get_filter()` -> `dm_get_filters()`; `dm_from_src()` + `dm_learn_from_db()` -> `dm_from_src()` (#233).
- New `$.zoomed_dm()`, `[.zoomed_dm()`, `[[.zoomed_dm()`, `length.zoomed_dm()`, `names.zoomed_dm()`, `tbl_vars.zoomed_dm()` (#199, #216).
- New `$.dm_zoomed()`, `[.dm_zoomed()`, `[[.dm_zoomed()`, `length.dm_zoomed()`, `names.dm_zoomed()`, `tbl_vars.dm_zoomed()` (#199, #216).
- New `as.list()` methods (#213).
- Help pages for dplyr methods (#209).
- New migration guide from dm <= 0.0.5 (#234).
Expand Down Expand Up @@ -629,10 +629,10 @@

## Features

- `cdm_filter()` and `filter.zoomed_dm()` apply the filter instantly, the expression is recorded only for display purposes and for terminating the search for filtered tables in `cdm_apply_filters()`. This now allows using a variety of operations on filtered `dm` objects (#124).
- `cdm_filter()` and `filter.dm_zoomed()` apply the filter instantly, the expression is recorded only for display purposes and for terminating the search for filtered tables in `cdm_apply_filters()`. This now allows using a variety of operations on filtered `dm` objects (#124).
- `dimnames()`, `colnames()`, `dim()`, `distinct()`, `arrange()`, `slice()`, `separate()` and `unite()` implemented for zoomed dm-s (#130).
- Joins on zoomed dm objects now supported (#121). Joins use the same column name disambiguation algorithm as `cdm_flatten_to_tbl()` (#147).
- `slice.zoomed_dm()`: user decides in arg `.keep_pk` if PK column is tracked or not (#152).
- `slice.dm_zoomed()`: user decides in arg `.keep_pk` if PK column is tracked or not (#152).
- Supported {dplyr} and {tidyr} verbs are reexported.
- `enum_pk_candidates()` works with zoomed dm-s (#156).
- New `enum_fk_candidates()` (#156).
Expand All @@ -647,7 +647,7 @@

## Bug fixes

- Avoid asterisk when printing local `zoomed_dm` (#131).
- Avoid asterisk when printing local `dm_zoomed` (#131).
- `cdm_select_tbl()` works again when multiple foreign keys are defined between two tables (#122).


Expand Down
Loading

0 comments on commit 1aba679

Please sign in to comment.