Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pietercolpaert/dcat-ap-dumps-to-feeds
Scripts to incrementally process data portal dumps to an LDES DCAT-AP Feed
https://github.com/pietercolpaert/dcat-ap-dumps-to-feeds
Last synced: 20 days ago
JSON representation
Scripts to incrementally process data portal dumps to an LDES DCAT-AP Feed
- Host: GitHub
- URL: https://github.com/pietercolpaert/dcat-ap-dumps-to-feeds
- Owner: pietercolpaert
- Created: 2024-02-09T23:46:03.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-06-06T12:47:52.000Z (5 months ago)
- Last Synced: 2024-06-06T14:19:24.643Z (5 months ago)
- Language: TypeScript
- Size: 114 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# From DCAT-AP dumps to feeds
When no state is provided, the script is going to extract all entities and mention them as `as:Create`s. When a state is already present, it is going to compare all entities with a fingerprint and check whether the set of triples changed, and whether the entity is still present. New entities can also be added.
Clone the repo, fetch a dataset, and execute `ts-node bin/dumpsToFeed.ts`.
Parameters:
* `feedname` for the state and building a relative IRI
* `filename` of the dumpOptions:
* `--flush` clears the state## Datasets to use
Example workflows:
* See [workflow of Flanders](workflow-flanders.sh)
* See [workflow of Sweden](workflow-sweden.sh)