I'd like to be able to extend the standard frictionless data resource and package to allow the addition and output of extra fields.
I can add extra fields (attributes) to Resource objects, but if I want to output those fields as part of a DataPackage manifest, I have to iterate through the resources and run to_json() or .metadata_export() and manually add in the extra key-value pairs.
Is there a recommended way to put in extra Resource fields or should I make my own Resource subclass / continue to manually interpolate extra data?
I'd like to be able to extend the standard frictionless data resource and package to allow the addition and output of extra fields.
I can add extra fields (attributes) to Resource objects, but if I want to output those fields as part of a DataPackage manifest, I have to iterate through the resources and run
to_json()or.metadata_export()and manually add in the extra key-value pairs.Is there a recommended way to put in extra Resource fields or should I make my own Resource subclass / continue to manually interpolate extra data?