datasets/morse-code
string

Morse Code

International Morse code: letters, digits and punctuation as dots and dashes. Source: ITU-R Recommendation M.1677-1.

language reference standards
Data preview
KeyValue (string)
A.-
B-...
C-.-.
D-..
E.
F..-.
G--.
H....
I..
J.---
K-.-
L.-..
M--
N-.
O---
P.--.
Q--.-
R.-.
S...
T-
U..-
V...-
W.--
X-..-
Y-.--
Z--..
0-----
1.----
2..---
3...--
4....-
5.....
6-....
7--...
8---..
9----.
..-.-.-
,--..--
:---...
?..--..
'.----.
--....-
(-.--.
)-.--.-
".-..-.
=-...-
+.-.-.
@.--.-.
Fetch it
GET /api/v1/collection/morse-code.json
{
  "collection": "morse-code",
  "type": "string",
  "count": 48,
  "items": [
    { "key": "A", "value": ".-" },
    { "key": "B", "value": "-..." },
    { "key": "C", "value": "-.-." }
    ]
}
JavaScript
const res = await fetch(
  'https://collections.rest/api/v1/collection/morse-code.json'
);
const { items } = await res.json();
// values are typed: integers are numbers, not strings
curl
curl https://collections.rest/api/v1/\
  collection/morse-code.csv