| dbc_inspect | R Documentation |
Reads only the DBF header embedded in the .dbc file and returns
field metadata and the total record count. The compressed data payload
is never touched, making this function very fast even for large files.
dbc_inspect(input_file)
input_file |
Character string. Path to the |
A named list with:
fieldsA data.frame with columns
name (character), type (one-character string:
C=text, N=numeric, D=date, L=logical),
width (integer), decimals (integer).
nrecordsInteger. Total number of records.
dbc_to_csv, dbc2dbf
dbc <- system.file("extdata", "sids.dbc", package = "dbcturbo")
meta <- dbc_inspect(dbc)
meta$nrecords
head(meta$fields)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.