home / cp40x

names

7 rows where case_id = 2267786

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4707735 2267786 2267786 plaintiff Monke Nicholas     Monke, Nicholas 0
4707736 2267786 2267786 defendant Luky John husbandman 619464 619464 Luky, John, of Trenwyth, husbandman 0
4707737 2267786 2267786 defendant Wille Tremogh Walter husbandman 788406 788406 Wille Tremogh, Walter, of Romyawys, husbandman 1
4707738 2267786 2267786 defendant Wille Tremogh of John   834910 834910 Wille Tremogh of, John, of Tremoth, tin miner 2
4707739 2267786 2267786 defendant Wille Gilbert   810730 810730 Wille, Gilbert, of Tremogh, tin miner 3
4707740 2267786 2267786 defendant Carvyan thomas husbandman 788409 788409 Carvyan, thomas, of Tregoian, husbandman 4
4707741 2267786 2267786 defendant Carvyan Thomas husbandman 788410 788410 Carvyan, Thomas, of Tremenhir, husbandman 5

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE names (
    id INTEGER PRIMARY KEY AUTOINCREMENT,
    case_id INTEGER NOT NULL REFERENCES cases(id) ON DELETE CASCADE,
    role TEXT NOT NULL CHECK (role IN ('plaintiff', 'defendant')),
    surname TEXT NOT NULL,
    forename TEXT,
    occupation TEXT,
    place_id INTEGER REFERENCES places(id),
    raw_segment TEXT NOT NULL,
    seq INTEGER NOT NULL DEFAULT 0
);
CREATE INDEX idx_names_case_id ON names(case_id);
CREATE INDEX idx_names_surname ON names(surname);
CREATE INDEX idx_names_place_id ON names(place_id);
CREATE INDEX idx_names_role_surname ON names(role, surname);
Powered by Datasette · Queries took 19.018ms