Learn R Programming

mdbr (version 0.2.1)

mdb_schema: Specification for columns in a table

Description

Used to determine the column types for read_mdb(). Passed to col_types in readr::read_delim().

Usage

mdb_schema(file, table, condense = FALSE)

Value

A readr cols specification list.

Arguments

file

Path to the Microsoft Access file.

table

Name of the table, list with mdb_tables().

condense

Should readr::cols_condense() be called on the spec?

Examples

Run this code
if (FALSE) {
mdb_schema(mdb_example(), "Flights", condense = TRUE)
}

Run the code above in your browser using DataLab