/** * @copyright Sister Software * @license AGPL-3.0 * @author Teffen Ellis, et al. * * Registers the corpus source fetchers. They download raw files and manifests for the adapters to read. */ import { fetchBrussels } from "#be/tools/fetch/brussels" import { fetchWallonie } from "#be/tools/fetch/wallonie" import { fetchCzCuzk } from "#cz/tools/fetch/cuzk" import { fetchDKAddresses } from "#dk/tools/fetch/inspire" import { fetchADSEE } from "#ee/tools/fetch/ads" import { fetchESBizkaia } from "#es/tools/fetch/bizkaia" import { fetchESCatastro } from "#es/tools/fetch/catastro" import { fetchESGipuzkoa } from "#es/tools/fetch/gipuzkoa" import { fetchESNavarra } from "#es/tools/fetch/navarra" import { fetchRyhti } from "#fi/tools/fetch/ryhti" import { fetchAnnuaireEducationOverseas } from "#fr/tools/fetch/annuaire-education" import { fetchBan } from "#fr/tools/fetch/ban" import { fetchFinessOverseas } from "#fr/tools/fetch/finess" import { fetchITANAC } from "#it/tools/fetch/anac" import { fetchHoujinJP } from "#jp/tools/fetch/houjin" import { fetchJusoKR } from "#kr/tools/fetch/juso" import { fetchLocaldataKR } from "#kr/tools/fetch/localdata" import { fetchBDAdresses } from "#lu/tools/fetch/bd-adresses" import { fetchVaris } from "#lv/tools/fetch/varis" import { fetchNLKadaster } from "#nl/tools/fetch/kadaster" import { fetchMatrikkelen } from "#no/tools/fetch/matrikkelen" import { fetchEMUiAPL } from "#pl/tools/fetch/emuia" import { fetchReteaScolara } from "#ro/tools/fetch/retea-scolara" import { fetchACRASG } from "#sg/tools/fetch/acra" import { fetchSKInspire } from "#sk/tools/fetch/inspire" import { fetchCORDIS } from "#tools/fetch/cordis" import { fetchGeonamesDumps } from "#tools/fetch/geonames/dump" import { fetchGeonamesPostal } from "#tools/fetch/geonames/postal" import { fetchGLEIF } from "#tools/fetch/gleif" import { fetchOpenAddresses } from "#tools/fetch/openaddresses" import { fetchOurAirports } from "#tools/fetch/ourairports" import { fetchVlaanderenAD } from "#tools/fetch/vlaanderen-ad" import { fetchWikidataSubVenue } from "#tools/fetch/wikidata-subvenue" import { fetchGCISTW } from "#tw/tools/fetch/gcis" import { fetchHRSA } from "#us/tools/fetch/hrsa" import { fetchIMLSPLS } from "#us/tools/fetch/imls-pls" import { fetchNAD } from "#us/tools/fetch/nad" import { fetchNPPES } from "#us/tools/fetch/nppes" import { fetchStateHISchools } from "#us/tools/fetch/state/hi-schools" import { fetchStateSources } from "#us/tools/fetch/state/sources" import { fetchTigerFull } from "#us/tools/fetch/tiger-full" export * from "#sg/tools/fetch/acra" export * from "#ee/tools/fetch/ads" export * from "#be/tools/fetch/brussels" export * from "#tools/fetch/vlaanderen-ad" export * from "#be/tools/fetch/wallonie" export * from "#it/tools/fetch/anac" export * from "#fr/tools/fetch/finess" export * from "#fr/tools/fetch/annuaire-education" export * from "#ro/tools/fetch/retea-scolara" export * from "#tools/fetch/cordis" export * from "#tools/fetch/gleif" export * from "#fr/tools/fetch/ban" export * from "#lu/tools/fetch/bd-adresses" export * from "#lv/tools/fetch/varis" export * from "#es/tools/fetch/bizkaia" export * from "#es/tools/fetch/catastro" export * from "#cz/tools/fetch/cuzk" export * from "#es/tools/fetch/gipuzkoa" export * from "#es/tools/fetch/navarra" export * from "#pl/tools/fetch/emuia" export * from "#dk/tools/fetch/inspire" export * from "#sk/tools/fetch/inspire" export * from "#tw/tools/fetch/gcis" export * from "#tools/fetch/geonames/dump" export * from "#tools/fetch/geonames/postal" export * from "#jp/tools/fetch/houjin" export * from "#us/tools/fetch/hrsa" export * from "#us/tools/fetch/imls-pls" export * from "#kr/tools/fetch/juso" export * from "#nl/tools/fetch/kadaster" export * from "#kr/tools/fetch/localdata" export * from "#no/tools/fetch/matrikkelen" export * from "#us/tools/fetch/nad" export * from "#us/tools/fetch/nppes" export * from "#tools/fetch/openaddresses" export * from "#tools/fetch/ourairports" export * from "#fi/tools/fetch/ryhti" export * from "#us/tools/fetch/state/hi-schools" export * from "#us/tools/fetch/state/sources" export * from "#us/tools/fetch/tiger-full" export * from "#tools/fetch/wikidata-subvenue" /** * The fetcher for each source id that `mailwoman corpus fetch` accepts. */ export const FETCH_SOURCES = { "acra-sg": fetchACRASG, "ads-ee": fetchADSEE, ban: fetchBan, brussels: fetchBrussels, cordis: fetchCORDIS, "bd-adresses": fetchBDAdresses, "cz-cuzk": fetchCzCuzk, "dk-inspire": fetchDKAddresses, "emuia-pl": fetchEMUiAPL, "es-bizkaia": fetchESBizkaia, "es-catastro": fetchESCatastro, "es-gipuzkoa": fetchESGipuzkoa, "es-navarra": fetchESNavarra, "fr-annuaire-education-overseas": fetchAnnuaireEducationOverseas, "fr-finess-overseas": fetchFinessOverseas, "gcis-tw": fetchGCISTW, gleif: fetchGLEIF, "houjin-jp": fetchHoujinJP, "it-anac": fetchITANAC, "juso-kr": fetchJusoKR, "localdata-kr": fetchLocaldataKR, "lv-varis": fetchVaris, matrikkelen: fetchMatrikkelen, nad: fetchNAD, "nl-kadaster": fetchNLKadaster, "ro-retea-scolara": fetchReteaScolara, ryhti: fetchRyhti, "sk-inspire": fetchSKInspire, "geonames-dump": fetchGeonamesDumps, "geonames-postal": fetchGeonamesPostal, hrsa: fetchHRSA, "imls-pls": fetchIMLSPLS, nppes: fetchNPPES, openaddresses: fetchOpenAddresses, ourairports: fetchOurAirports, vlaanderen: fetchVlaanderenAD, wallonie: fetchWallonie, "state-sources": fetchStateSources, "state-hi-schools": fetchStateHISchools, "tiger-full": fetchTigerFull, "wikidata-subvenue": fetchWikidataSubVenue, } as const /** * A source id in {@link FETCH_SOURCES}. */ export type FetchSourceID = keyof typeof FETCH_SOURCES