Learn R Programming

dataverifyr (version 0.1.8)

detect_backend: Detects the backend which will be used for checking the rules

Description

The detection will be made based on the class of the object as well as the packages installed. For example, if a data.frame is used, it will look if data.table or dplyr are installed on the system, as they provide more speed. Note the main functions will revert the

Usage

detect_backend(x)

Value

a single character element with the name of the backend to use. One of base-r, data.table, dplyr, collectibles (for arrow or DBI objects)

Arguments

x

The data object, ie a data.frame, tibble, data.table, arrow, or DBI object

See Also

check_data()

Examples

Run this code
data <- mtcars
detect_backend(data)

Run the code above in your browser using DataLab