Skip to content

module to read LDES (CoGhent) and export to Postgres and other datafames.

License

Notifications You must be signed in to change notification settings

oliviervd/LDES_TO_PG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LDES_TO_PG

replicate CoGhent Linked Data Event Streams into tabular dataframe (postgresql, csv, excel)

Available collections:

code Description
DMG Design Museum Gent
HVA Huis van Alijn
IM Industriemuseum
ARCHIEF Archief Gent
STAM STAM (stadsmuseum Gent)
THES thesaurus (conceptlist)
AGENTS agent list
EXHIBITIONS list of exhibitions (restricted to Design Museum Gent )

USAGE

Parameter Description Possible values
--fetch define collections to fetch from CoGhent LDES DMG, HVA, STAM, IM, ARCHIEF, THESAURUS, AGENTS
--timestamp datetime to prune relations that have a lower datetime value for example: 2020-01-01T00:00:00, default = "2021-01-01T15:48:12.309Z"
--result define the wished for result (pg=postrgres) pg, csv, xlsx

for example if you want to fetch data from Design Museum Gent en Huis Van Alijn starting from 15 november 2021 you use the following line of code in CLI:

python3 ldes-to-pg.py --fetch DMG --timestamp 2021-10-10T15:48:12.309Z

License

This project is released as an open-source project under the MIT License

About

module to read LDES (CoGhent) and export to Postgres and other datafames.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages