shape_openfda_table: Shape an openFDA table: its columns in order, dates and logicals typed
Description
Shape an openFDA table: its columns in order, dates and logicals typed
Usage
shape_openfda_table(rows, spec, table)
Arguments
- rows
data.frame (possibly with no rows or columns)
- spec
one openfda_table_specs() entry
- table
table name, for errors