As per #178, bc2pg creates numeric postgres columns for BCDC NUMBER columns.
Should bcdata :
- automatically inspect the data to determine if it is integer and adjust the type accordingly?
- accept an optional field map argument for overriding the BCDC types, maybe something like
{"field_name1": "numeric", "field_name2": "integer"}?
- parse the
data_precision part of the schema?
As data are read by geopandas when writing to postgres:
As per #178,
bc2pgcreatesnumericpostgres columns for BCDCNUMBERcolumns.Should
bcdata:{"field_name1": "numeric", "field_name2": "integer"}?data_precisionpart of the schema?As data are read by geopandas when writing to postgres: