@dpkit/ckan
Version:
Fast TypeScript data management framework built on top of the Data Package standard and Polars DataFrames
22 lines (21 loc) • 671 B
TypeScript
/**
* Load a package from a CKAN instance
* @param props Object containing the URL to the CKAN package
* @returns Package object and cleanup function
*/
export declare function loadPackageFromCkan(datasetUrl: string): Promise<{
[x: `${string}:${string}`]: any;
name?: string;
$schema?: string;
title?: string;
description?: string;
homepage?: string;
version?: string;
licenses?: import("@dpkit/core").License[];
contributors?: import("@dpkit/core").Contributor[];
sources?: import("@dpkit/core").Source[];
keywords?: string[];
created?: string;
resources: import("@dpkit/core").Resource[];
image?: string;
}>;