near-models/models/silver/atlas/silver__atlas_nft_30_trailing.yml
2023-12-11 10:34:32 -07:00

37 lines
1014 B
YAML

version: 2
models:
- name: silver__atlas_nft_30_trailing
description: |-
This incremental dbt model generates a summary of NFT transactions from the 'silver__atlas_nft_transactions' table. It provides a daily count of transactions, accounting for a 30-day lookback period for each day within the specified date range.
columns:
- name: atlas_nft_30_trailing_id
description: "{{ doc('id')}}"
tests:
- not_null
- unique
- name: day
description: "{{ doc('date')}}"
tests:
- not_null
- unique
- name: txns
description: "{{ doc('tx_count')}}"
tests:
- not_null
- name: inserted_timestamp
description: "{{doc('inserted_timestamp')}}"
tests:
- not_null
- name: modified_timestamp
description: "{{doc('modified_timestamp')}}"
tests:
- not_null
- name: _invocation_id
description: "{{doc('invocation_id')}}"