blockchain-carbon-accounting
blockchain-carbon-accounting copied to clipboard
Add dataLoader scripts for product table
trafficstars
Add to dataLoader.ts command to load data into product model added to postgres DB in PR 580.
similar to load_og_assets using importOilAndGasAssets.
Command will use the ProductInterface from lib/oil-and-gas-data/src/product.ts
Additional attribute description...
type: string; // product type, e.g., marketed production, venting and flaring, repressuring
name: string; // product name, e.g., oil, natural gas, NGPL (natural gas production liquids)
amount: string;
unit: string;
asset_uuid?: string; // optional parameter linking product data to oilAndGasAsset
country?: string;
division_type?: string; // e.g., state
division_name?: string;
Source files for oil and gas product data to be used added to data/README.md. Start with U.S. state level product data from EIA
Resolved in PR referenced above