Easily Access and Maintain Time-Based Versioned Data (Slowly-Changing-Dimension)


[Up] [Top]

Documentation for package ‘SCDB’ version 0.1

Help Pages

%notin% not-in operator
anti_join SQL Joins
close_connection Close connection to the DB
create_logs_if_missing Create a table with the SCDB log structure if it does not exists
create_table Create a historical table from input data
db_timestamp Determine the type of timestamps the DB supports
db_timestamp.default Determine the type of timestamps the DB supports
db_timestamp.SQLiteConnection Determine the type of timestamps the DB supports
digest_to_checksum Computes an MD5 checksum from columns
filter_keys Filters .data according to all records in the filter
full_join SQL Joins
get_connection Opens connection to the database
get_schema Get the current schema of a DB connection
get_table Gets a named table from a given schema
get_tables Gets the available tables
id Convenience function for DBI::Id
inner_join SQL Joins
interlace_sql Combine any number of SQL queries, where each has their own time axis of validity (valid_from and valid_until)
is.historical Checks if table contains historical data
joins SQL Joins
left_join SQL Joins
Logger Logger
nrow nrow() but also works on remote tables
right_join SQL Joins
schema_exists Test if a schema exists in given connection
semi_join SQL Joins
slice_time Slices a data object based on time / date
table_exists Test if a table exists in database
unite.tbl_dbi tidyr::unite for tbl_dbi
update_snapshot Update a historical table