@tricoteuses/assemblee
Version:
Retrieve, clean up & handle French Assemblée nationale's open data
16 lines (15 loc) • 668 B
TypeScript
type ProcessDatasetArguments = {
dataset: any;
dataDir: string;
options: any;
};
/**
* Processes a dataset by fetching, unzipping, and converting files from XML to JSON format.
*
* @param {any} dataset - The dataset object containing metadata and processing instructions.
* @param {string} dataDir - The directory where the dataset files will be stored.
* @param {any} options - Options to control the processing behavior, such as fetching and silent mode.
* @returns {Promise<void>} A promise that resolves when the dataset processing is complete.
*/
export declare function processDataset(args: ProcessDatasetArguments): Promise<void>;
export {};