framework icon indicating copy to clipboard operation
framework copied to clipboard

Plugin for BulkCm

Open joaomg opened this issue 4 years ago • 2 comments

Overview

Create a plugin for BulkCm XML ETSI format, see discussion:

Handle ETSI BulkCm XML

Working from the html plugin create:

XmlBulkCmPlugin XmlBulkCmDialect XmlBulkCmParser (a custom parser with read-only capability)

Take into account the difficulties to write the bulkcm xml format and ignore the write_row_stream method.


Please preserve this line to notify @roll (lead of this repository)

joaomg avatar Feb 25 '21 17:02 joaomg

Hi @joaomg,

So yes if you prefer to go with a separate plugin (which will be easier to work on and maintain at least for a starter) feel free to use this repo as a basis (copying and removing all stuff you don't need).

I think it will be better if you keep all to user-facing docs in the readme so we can include them into the framework docs in the plugins section.

We don't have yet a bootstrap repo for a plugin or a complete tutorial but I hope we will create it slightly later. Please write when you need help.

roll avatar Mar 01 '21 15:03 roll

Follow up in Handle ETSI BulkCm XML #580. I didn't implemented the plugin.

From a single BulkCm file it's natural to get various Resource(s) each with one or more CSV files.

So a XmlBulkCmPlugin with XmlBulkCmDialect and XmlBulkCmParser doesn't seem a good fit. From the documentation it appears a parser should return a single Resource.

So at the moment I've created a bulkcm parser which converts a BulkCm file to CSV files.

Heavily inspired by frictionless-py itself:

https://github.com/joaomg/teed

joaomg avatar Mar 04 '21 18:03 joaomg