kbrbe / beltrans-data-integration

Creating a FAIR Linked Data corpus for the BELTRANS research project about Belgian book translations NL-FR and FR-NL between 1970 and 2020
https://www.kbr.be/en/projects/beltrans/
MIT License
5 stars 0 forks source link

Fetching also KBR data if there are less identifiers than the batch size #275

Closed SvenLieber closed 2 months ago

SvenLieber commented 2 months ago

While working on #272 I noticed that with a CSV input file containing (among self-created identifiers) two valid KBR identifiers, no XML records are created in the output <collection>.

The script logs Successfully read 2 KBR identifiers form the input CSV, it downloads then the first batch of 150 records, but the output file fetched-aorg.xml stays empty (empty <collection> without <record> items)

SvenLieber commented 2 months ago

Apparently the fetching itself worked. The problem was that the two identifiers no longer exist. The script needs to be updated to indicate which identifiers were not found in the result.

SvenLieber commented 2 months ago

This issue was fixed, see comment and commits.