-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ec50a9e
commit 0ce4857
Showing
17 changed files
with
137 additions
and
185 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 14 additions & 20 deletions
34
dags/oaebu_workflows/schema/shmp_pilot/book_product_metrics_altmetrics_pilot.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,14 @@ | ||
[ | ||
{ | ||
"mode": "REQUIRED", | ||
"name": "ISBN13", | ||
"type": "STRING", | ||
"description": "13 Digit ISBN of the book." | ||
}, | ||
{ | ||
"mode": "REQUIRED", | ||
"name": "value", | ||
"type": "INTEGER", | ||
"description": "Measured value." | ||
}, | ||
{ | ||
"mode": "REQUIRED", | ||
"name": "release_date", | ||
"type": "DATE", | ||
"description": "The end date of the release month" | ||
} | ||
] | ||
{ | ||
"fields": [ | ||
{ | ||
"mode": "NULLABLE", | ||
"name": "value", | ||
"type": "INTEGER", | ||
"description": "Metric value" | ||
} | ||
], | ||
"mode": "NULLABLE", | ||
"name": "altmetrics_pilot", | ||
"type": "RECORD", | ||
"description": "Metrics derived from altmetrics" | ||
} |
34 changes: 14 additions & 20 deletions
34
dags/oaebu_workflows/schema/shmp_pilot/book_product_metrics_amazon_ltd_pilot.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,14 @@ | ||
[ | ||
{ | ||
"mode": "REQUIRED", | ||
"name": "ISBN13", | ||
"type": "STRING", | ||
"description": "13 Digit ISBN of the book." | ||
}, | ||
{ | ||
"mode": "REQUIRED", | ||
"name": "value", | ||
"type": "INTEGER", | ||
"description": "Measured value." | ||
}, | ||
{ | ||
"mode": "REQUIRED", | ||
"name": "release_date", | ||
"type": "DATE", | ||
"description": "The end date of the release month" | ||
} | ||
] | ||
{ | ||
"fields": [ | ||
{ | ||
"mode": "NULLABLE", | ||
"name": "value", | ||
"type": "INTEGER", | ||
"description": "Metric value" | ||
} | ||
], | ||
"mode": "NULLABLE", | ||
"name": "amazon_ltd_pilot", | ||
"type": "RECORD", | ||
"description": "Metrics derived from amazon_ltd" | ||
} |
34 changes: 14 additions & 20 deletions
34
dags/oaebu_workflows/schema/shmp_pilot/book_product_metrics_amazon_pilot.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,14 @@ | ||
[ | ||
{ | ||
"mode": "REQUIRED", | ||
"name": "ISBN13", | ||
"type": "STRING", | ||
"description": "13 Digit ISBN of the book." | ||
}, | ||
{ | ||
"mode": "REQUIRED", | ||
"name": "value", | ||
"type": "INTEGER", | ||
"description": "Measured value." | ||
}, | ||
{ | ||
"mode": "REQUIRED", | ||
"name": "release_date", | ||
"type": "DATE", | ||
"description": "The end date of the release month" | ||
} | ||
] | ||
{ | ||
"fields": [ | ||
{ | ||
"mode": "NULLABLE", | ||
"name": "value", | ||
"type": "INTEGER", | ||
"description": "Metric value" | ||
} | ||
], | ||
"mode": "NULLABLE", | ||
"name": "amazon_pilot", | ||
"type": "RECORD", | ||
"description": "Metrics derived from amazon" | ||
} |
34 changes: 14 additions & 20 deletions
34
dags/oaebu_workflows/schema/shmp_pilot/book_product_metrics_internet_archive_pilot.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,14 @@ | ||
[ | ||
{ | ||
"mode": "REQUIRED", | ||
"name": "ISBN13", | ||
"type": "STRING", | ||
"description": "13 Digit ISBN of the book." | ||
}, | ||
{ | ||
"mode": "REQUIRED", | ||
"name": "value", | ||
"type": "INTEGER", | ||
"description": "Measured value." | ||
}, | ||
{ | ||
"mode": "REQUIRED", | ||
"name": "release_date", | ||
"type": "DATE", | ||
"description": "The end date of the release month" | ||
} | ||
] | ||
{ | ||
"fields": [ | ||
{ | ||
"mode": "NULLABLE", | ||
"name": "value", | ||
"type": "INTEGER", | ||
"description": "Metric value" | ||
} | ||
], | ||
"mode": "NULLABLE", | ||
"name": "internet_archive_pilot", | ||
"type": "RECORD", | ||
"description": "Metrics derived from internet_archive" | ||
} |
34 changes: 14 additions & 20 deletions
34
dags/oaebu_workflows/schema/shmp_pilot/book_product_metrics_scholarcommons_ltd_pilot.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,14 @@ | ||
[ | ||
{ | ||
"mode": "REQUIRED", | ||
"name": "ISBN13", | ||
"type": "STRING", | ||
"description": "13 Digit ISBN of the book." | ||
}, | ||
{ | ||
"mode": "REQUIRED", | ||
"name": "value", | ||
"type": "INTEGER", | ||
"description": "Measured value." | ||
}, | ||
{ | ||
"mode": "REQUIRED", | ||
"name": "release_date", | ||
"type": "DATE", | ||
"description": "The end date of the release month" | ||
} | ||
] | ||
{ | ||
"fields": [ | ||
{ | ||
"mode": "NULLABLE", | ||
"name": "value", | ||
"type": "INTEGER", | ||
"description": "Metric value" | ||
} | ||
], | ||
"mode": "NULLABLE", | ||
"name": "scholarcommons_ltd_pilot", | ||
"type": "RECORD", | ||
"description": "Metrics derived from scholarcommons_ltd" | ||
} |
34 changes: 14 additions & 20 deletions
34
.../oaebu_workflows/schema/shmp_pilot/book_product_metrics_scholarspace_downloads_pilot.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,14 @@ | ||
[ | ||
{ | ||
"mode": "REQUIRED", | ||
"name": "ISBN13", | ||
"type": "STRING", | ||
"description": "13 Digit ISBN of the book." | ||
}, | ||
{ | ||
"mode": "REQUIRED", | ||
"name": "value", | ||
"type": "INTEGER", | ||
"description": "Measured value." | ||
}, | ||
{ | ||
"mode": "REQUIRED", | ||
"name": "release_date", | ||
"type": "DATE", | ||
"description": "The end date of the release month" | ||
} | ||
] | ||
{ | ||
"fields": [ | ||
{ | ||
"mode": "NULLABLE", | ||
"name": "value", | ||
"type": "INTEGER", | ||
"description": "Metric value" | ||
} | ||
], | ||
"mode": "NULLABLE", | ||
"name": "scholarspace_downloads_pilot", | ||
"type": "RECORD", | ||
"description": "Metrics derived from scholarspace_downloads" | ||
} |
34 changes: 14 additions & 20 deletions
34
dags/oaebu_workflows/schema/shmp_pilot/book_product_metrics_scholarspace_views_pilot.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,14 @@ | ||
[ | ||
{ | ||
"mode": "REQUIRED", | ||
"name": "ISBN13", | ||
"type": "STRING", | ||
"description": "13 Digit ISBN of the book." | ||
}, | ||
{ | ||
"mode": "REQUIRED", | ||
"name": "value", | ||
"type": "INTEGER", | ||
"description": "Measured value." | ||
}, | ||
{ | ||
"mode": "REQUIRED", | ||
"name": "release_date", | ||
"type": "DATE", | ||
"description": "The end date of the release month" | ||
} | ||
] | ||
{ | ||
"fields": [ | ||
{ | ||
"mode": "NULLABLE", | ||
"name": "value", | ||
"type": "INTEGER", | ||
"description": "Metric value" | ||
} | ||
], | ||
"mode": "NULLABLE", | ||
"name": "scholarspace_views_pilot", | ||
"type": "RECORD", | ||
"description": "Metrics derived from scholarspace_views" | ||
} |
34 changes: 14 additions & 20 deletions
34
dags/oaebu_workflows/schema/shmp_pilot/book_product_metrics_sci_open_pilot.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,14 @@ | ||
[ | ||
{ | ||
"mode": "REQUIRED", | ||
"name": "ISBN13", | ||
"type": "STRING", | ||
"description": "13 Digit ISBN of the book." | ||
}, | ||
{ | ||
"mode": "REQUIRED", | ||
"name": "value", | ||
"type": "INTEGER", | ||
"description": "Measured value." | ||
}, | ||
{ | ||
"mode": "REQUIRED", | ||
"name": "release_date", | ||
"type": "DATE", | ||
"description": "The end date of the release month" | ||
} | ||
] | ||
{ | ||
"fields": [ | ||
{ | ||
"mode": "NULLABLE", | ||
"name": "value", | ||
"type": "INTEGER", | ||
"description": "Metric value" | ||
} | ||
], | ||
"mode": "NULLABLE", | ||
"name": "sci_open_pilot", | ||
"type": "RECORD", | ||
"description": "Metrics derived from sci_open" | ||
} |
6 changes: 3 additions & 3 deletions
6
dags/oaebu_workflows/sql/shmp_pilot/book_product_body_altmetrics_pilot.sql.jinja2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
altmetrics_metrics as ( | ||
altmetrics_pilot_metrics as ( | ||
SELECT | ||
ISBN13, | ||
release_date, | ||
value, | ||
FROM | ||
`{{ altmetrics_table_id }}` | ||
`{{ altmetrics_pilot_table_id }}` | ||
GROUP BY | ||
ISBN13, | ||
release_date | ||
), | ||
) |
6 changes: 3 additions & 3 deletions
6
...ot/book_product_body_amazon_ltd.sql.jinja → ..._product_body_amazon_ltd_pilot.sql.jinja2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
amazon_ltd_metrics as ( | ||
amazon_ltd_pilot_metrics as ( | ||
SELECT | ||
ISBN13, | ||
release_date, | ||
value, | ||
FROM | ||
`{{ amazon_ltd_table_id }}` | ||
`{{ amazon_ltd_pilot_table_id }}` | ||
GROUP BY | ||
ISBN13, | ||
release_date | ||
), | ||
) |
6 changes: 3 additions & 3 deletions
6
dags/oaebu_workflows/sql/shmp_pilot/book_product_body_amazon_pilot.sql.jinja2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
amazon_metrics as ( | ||
amazon_pilot_metrics as ( | ||
SELECT | ||
ISBN13, | ||
release_date, | ||
value, | ||
FROM | ||
`{{ amazon_table_id }}` | ||
`{{ amazon_pilot_table_id }}` | ||
GROUP BY | ||
ISBN13, | ||
release_date | ||
), | ||
) |
6 changes: 3 additions & 3 deletions
6
dags/oaebu_workflows/sql/shmp_pilot/book_product_body_internet_archive_pilot.sql.jinja2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
internet_archive_metrics as ( | ||
internet_archive_pilot_metrics as ( | ||
SELECT | ||
ISBN13, | ||
release_date, | ||
value, | ||
FROM | ||
`{{ internet_archive_table_id }}` | ||
`{{ internet_archive_pilot_table_id }}` | ||
GROUP BY | ||
ISBN13, | ||
release_date | ||
), | ||
) |
6 changes: 3 additions & 3 deletions
6
dags/oaebu_workflows/sql/shmp_pilot/book_product_body_scholarcommons_ltd_pilot.sql.jinja2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
scholarcommons_ltd_metrics as ( | ||
scholarcommons_ltd_pilot_metrics as ( | ||
SELECT | ||
ISBN13, | ||
release_date, | ||
value, | ||
FROM | ||
`{{ scholarcommons_ltd_table_id }}` | ||
`{{ scholarcommons_ltd_pilot_table_id }}` | ||
GROUP BY | ||
ISBN13, | ||
release_date | ||
), | ||
) |
6 changes: 3 additions & 3 deletions
6
.../oaebu_workflows/sql/shmp_pilot/book_product_body_scholarspace_downloads_pilot.sql.jinja2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
scholarspace_downloads_metrics as ( | ||
scholarspace_downloads_pilot_metrics as ( | ||
SELECT | ||
ISBN13, | ||
release_date, | ||
value, | ||
FROM | ||
`{{ scholarspace_downloads_table_id }}` | ||
`{{ scholarspace_downloads_pilot_table_id }}` | ||
GROUP BY | ||
ISBN13, | ||
release_date | ||
), | ||
) |
6 changes: 3 additions & 3 deletions
6
dags/oaebu_workflows/sql/shmp_pilot/book_product_body_scholarspace_views_pilot.sql.jinja2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
scholarspace_views_metrics as ( | ||
scholarspace_views_pilot_metrics as ( | ||
SELECT | ||
ISBN13, | ||
release_date, | ||
value, | ||
FROM | ||
`{{ scholarspace_views_table_id }}` | ||
`{{ scholarspace_views_pilot_table_id }}` | ||
GROUP BY | ||
ISBN13, | ||
release_date | ||
), | ||
) |
Oops, something went wrong.