near-models/models/silver/atlas/silver__atlas_nft_30_trailing.yml

37 lines
1014 B
YAML
Raw Normal View History

2023-11-07 15:10:43 +00:00
version: 2
models:
- name: silver__atlas_nft_30_trailing
description: |-
2023-11-09 02:53:38 +00:00
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.
2023-11-07 15:10:43 +00:00
columns:
2023-11-09 17:38:15 +00:00
- name: atlas_nft_30_trailing_id
2023-11-09 02:53:38 +00:00
description: "{{ doc('id')}}"
tests:
- not_null
- unique
2023-11-07 15:10:43 +00:00
- name: day
description: "{{ doc('date')}}"
tests:
- not_null
- unique
- name: txns
description: "{{ doc('tx_count')}}"
tests:
- not_null
2023-11-08 19:36:09 +00:00
- name: inserted_timestamp
description: "{{doc('inserted_timestamp')}}"
tests:
- not_null
- name: modified_timestamp
description: "{{doc('modified_timestamp')}}"
tests:
- not_null
2023-12-11 17:34:32 +00:00
- name: _invocation_id
2023-11-08 19:36:09 +00:00
description: "{{doc('invocation_id')}}"