[examples/openspending][m] - added loader + fetching from datapackage

- Also added an indexing example
This commit is contained in:
Luccas Mateus de Medeiros Gomes
2023-05-17 14:57:50 -03:00
parent ebcb93c996
commit 902e5e07a0
11 changed files with 2051 additions and 87 deletions

View File

@@ -0,0 +1,18 @@
import { FiscalDataPackage, TabularDataResource } from "./datapackage.interface";
export interface Project {
owner: { name: string; logo?: string }; // Info about the owner of the data repo
repo: { name: string; logo?: string }; // Info about the the data repo
files: TabularDataResource[];
name: string;
title?: string;
author?: string;
cityCode?: string;
countryCode?: string;
fiscalPeriod?: {
start: string;
end: string;
};
readme?: string;
datapackage: FiscalDataPackage
}