Fast DXCC
Downloading the country database
Data about countries can be downloaded from either Amateur Radio Country Files by AD1C or Clublog.
Obtaining the AD1C country database
Download any cty.dat
file from the Country Files website. I recommend using the Big CTY file.
Instead of cty.dat
you can also use the cty.csv
file.
Parsing of cty.dat
or cty.csv
can be done with the script cty-parser.ts
.
Note:
The cty.dat
does not contain the adif
DXCC number.
Obtaining the Clublog prefix database OBSOLETE
Read how to obtain the Clublog prefix file here
Parsing can be done with the script clublog-parser.ts
.
Updating the country database
- Download the latest Big CTY (
cty.csv
) file from Country Files.
- Run the script
cty-parser.ts
to parse the cty.csv
file.
- Run
npm version minor
to update the version number.
- Run
pnpm build
to build the code.
- Publish the new version to npm with
npm publish
.