-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new: start harvesting pipeline documentation
- Old vs new general pipeline structure
- Loading branch information
1 parent
9aab59f
commit 5de600c
Showing
1 changed file
with
43 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Harvesting Pipeline Structure | ||
|
||
## Old Harvesting Logic | ||
Unique to each file + schema format | ||
```mermaid | ||
flowchart LR | ||
sc([SOURCE CREATION]) | ||
gs([GATHER STAGE]) | ||
fs([FETCH STAGE]) | ||
is([IMPORT STAGE]) | ||
sc --> gs | ||
gs --> fs | ||
fs --> is | ||
``` | ||
|
||
## New Harvesting Logic | ||
Universal to all file + schema formats | ||
```mermaid | ||
flowchart TD | ||
sc([SOURCE CREATION]) | ||
extract([Extract Catalog Source]) | ||
compare([Compare Source Catalog to Data.gov Catalog]) | ||
nochanges{No Changes?} | ||
deletions{Datasets to Delete?} | ||
updates{Datasets to Add or Update?} | ||
load([Load into Data.gov Catalog]) | ||
validate([Validate Dataset]) | ||
transform([Transform Schema of Dataset]) | ||
completed([End]) | ||
sc --> extract | ||
extract --> compare | ||
compare --> deletions | ||
compare --> updates | ||
deletions --> load | ||
updates --> validate | ||
validate --> transform | ||
transform --> validate | ||
validate --> load | ||
load --> completed | ||
compare --> nochanges | ||
nochanges --> completed | ||
``` |
5de600c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coverage Report