dwc_dp_build_descriptor

dwc_dp_build_descriptor(
    resources,
    profile_version='master',
    profile_url='http://rs.tdwg.org/dwc/dwc-dp',
    output_path=None,
    validate=False,
    python='python3',
)

Build, optionally write, and optionally validate a DwC-DP descriptor.

Parameters

Name Type Description Default
resources Iterable[dict] Resource mappings with name, path, and DwC-DP schema. required
profile_version str DwC-DP schema branch or version. 'master'
profile_url str Descriptor profile URL. 'http://rs.tdwg.org/dwc/dwc-dp'
output_path Optional[str] Optional JSON output path. None
validate bool Run Frictionless validation when the optional dependency is installed. False

Returns

Name Type Description
dict Frictionless-style DwC-DP package descriptor.
Back to top