Skip to content

CSVW metadata download: Part 2 #327

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Conversation

scottlowe
Copy link
Contributor

@scottlowe scottlowe commented Jan 23, 2024

Second part of issue #184.

An HTTP GET request to:

/doc/series-187/release/release-1.csv-metadata.json

... responds with CSVW metadata.

The metadata also contains a csvw:url key which points to the associated CSV data file, e.g.:

/doc/series-187/release/release-1.csv.

The CSVW metadata route loads schema triple data, processes it using JSON-LD; converts the datahost schema into a CSVW schema and finally replaces the Datahost JSON-LD @context value with the legal CSVW @context.

@scottlowe scottlowe force-pushed the sl/csvw-metadata-download branch from bc527b5 to ee10a19 Compare January 25, 2024 01:10
@scottlowe scottlowe marked this pull request as ready for review January 25, 2024 01:11
@scottlowe scottlowe force-pushed the sl/csvw-metadata-download branch from 7e2e574 to e1f8172 Compare January 25, 2024 22:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants