frictionlessdata / frictionless-py

Data management framework for Python that provides functionality to describe, extract, validate, and transform tabular data
https://framework.frictionlessdata.io
MIT License
710 stars 148 forks source link

Foreign Keys to Data Packages pattern #1136

Open fjuniorr opened 2 years ago

fjuniorr commented 2 years ago

Overview

This is a feature request for support of the Foreign Keys to Data Packages pattern.

Here is a reprex that could be used for eventual testing:

from frictionless import Package, validate

dp = Package('https://raw.githubusercontent.com/dados-mg/datapackage-reprex/foreign-key-data-package/datapackage.json')

validate(dp)

Message:

The data resource has an error: Failed to handle a foreign key for resource "pib-per-capita" as resource "estados" does not exist

shashigharti commented 2 years ago

Thank you @fjuniorr for reporting it! We will investigate it further.