Skip to content

Commit

Permalink
Merge pull request #4 from cagov/ga4-package
Browse files Browse the repository at this point in the history
Initial setup of Ga4 package
  • Loading branch information
britt-allen authored Nov 22, 2022
2 parents 98ad153 + f985344 commit aa6e7b0
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 64 deletions.
20 changes: 10 additions & 10 deletions transform/dbt_project.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@

# Name your project! Project names should contain only lowercase characters
# and underscores. A good package name should reflect your organization's
# name or the intended use of these models
name: 'my_new_project'
# Project name
name: 'dse_analytics'
version: '1.0.0'
config-version: 2

Expand Down Expand Up @@ -31,8 +28,11 @@ clean-targets: # directories to be removed by `dbt clean`
# In this example config, we tell dbt to build all models in the example/ directory
# as tables. These settings can be overridden in the individual model files
# using the `{{ config(...) }}` macro.
models:
my_new_project:
# Applies to all files under models/example/
example:
materialized: view
models: {}

vars:
ga4:
project: dse-product-analytics-prd-bqd
dataset: analytics_314711183 # Note: this is the statewide dataset, not the cagov-only
start_date: "20221101"
frequency: daily
27 changes: 0 additions & 27 deletions transform/models/example/my_first_dbt_model.sql

This file was deleted.

6 changes: 0 additions & 6 deletions transform/models/example/my_second_dbt_model.sql

This file was deleted.

21 changes: 0 additions & 21 deletions transform/models/example/schema.yml

This file was deleted.

3 changes: 3 additions & 0 deletions transform/packages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
packages:
- package: Velir/ga4
version: [">=2.0.0", "<2.2.0"]

0 comments on commit aa6e7b0

Please sign in to comment.