datahub/examples/openspending/lib/project.interface.ts
Luccas Mateus de Medeiros Gomes 902e5e07a0 [examples/openspending][m] - added loader + fetching from datapackage
- Also added an indexing example
2023-05-17 14:57:50 -03:00

19 lines
510 B
TypeScript

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
}