home / cp40x

names

8 rows where case_id = 2396316

✎ 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
5133589 2396316 2396316 plaintiff Isle William     Isle, William, on his own account 0
5133590 2396316 2396316 defendant Ensyng William     Ensyng, William 0
5133591 2396316 2396316 defendant Bete John     Bete, John 1
5133592 2396316 2396316 defendant Berd John     Berd, John 2
5133593 2396316 2396316 defendant Harry John   850821 850821 Harry, John, of Westeham or Westerham 3
5133594 2396316 2396316 defendant Toch Stephen   586876 586876 Toch, Stephen, of Chepstede 4
5133595 2396316 2396316 defendant Lamport John     Lamport, John 5
5133596 2396316 2396316 defendant Stokton John     Stokton, John 6

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