home / cp40x

names

6 rows where case_id = 2300403

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4813724 2300403 2300403 plaintiff Holgate John     Holgate, John, on his own account 0
4813725 2300403 2300403 defendant Dunton Thomas laborer 769369 769369 Dunton, Thomas, of Ryngesell, laborer 0
4813726 2300403 2300403 defendant Seve-loves John butcher 605541 605541 Seve-loves, John, of Great fynbergh, butcher 1
4813727 2300403 2300403 defendant Handele John, junior baker 586180 586180 Handele, John, junior, of Bury St Edmunds, baker 2
4813728 2300403 2300403 defendant Horold John   586405 586405 Horold, John, of Nedham Market, lime burner 3
4813729 2300403 2300403 defendant Savage John loder 586953 586953 Savage, John, of Sudbury, loder 4

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 6.015ms