/** * `au-acnc-register`: the Australian Charities and Not-for-profits Commission's register of charities * (`ACNC Registered Charities`, data.gov.au dataset `acnc-register`), read by the evaluation * source and by the `au-acnc-register` corpus adapter through {@linkcode readACNCCharities}. * * Each row is one registered charity with up to three address lines, a town, a state and a postcode. * Every row's `Address_Type` reads `Business`. * * A charity whose address the ACNC withholds has empty address columns and yields no record. * * The rows read only the address, never the charity's name, because a small * charity's name can be a person's. * A record is kept only where its address is one street line with a house number, * so a unit line or a post-office box line yields none. * * ## License * * The dataset record on data.gov.au (`package_show?id=acnc-register`), whose organization * is `acnc`, states `license_title: Creative Commons Attribution 3.0 Australia` * (`http://creativecommons.org/licenses/by/3.0/au/`), whose clause 3A grants the right to « create * and Reproduce one or more Derivative Works » (`data/licenses/au-acnc-cc-by-3.0-au.md`). */ import type { PathBuilderLike } from "path-ts"; import { type EvaluationRecordReading, type EvaluationSource } from "#evaluation/source"; /** * The register's CSV distribution on data.gov.au, updated weekly. */ export declare const AU_ACNC_REGISTER_URL = "https://data.gov.au/data/dataset/b050b242-4487-4306-abf5-07ca073e5594/resource/8fb32972-24e9-4c95-885e-7140be51be8a/download/datadotgov_main.csv"; /** * The file the fetch writes and the reader reads, under the publisher's own name. */ export declare const AU_ACNC_REGISTER_FILENAME = "datadotgov_main.csv"; interface ACNCRow { abn?: string; address_line_1?: string; address_line_2?: string; address_line_3?: string; town_city?: string; state?: string; postcode?: string; country?: string; } /** * One register row as an address record, or the reason it yields none. */ export declare function readACNCCharity(row: ACNCRow): EvaluationRecordReading; /** * Australia's evaluation source, the ACNC charity register. */ export declare const auACNCRegisterSource: EvaluationSource; /** * Every row of the register CSV at `path`, read by {@linkcode readACNCCharity}. */ export declare function readACNCCharities(path: PathBuilderLike): AsyncGenerator; export {}; //# sourceMappingURL=acnc-register.d.ts.map