home / cp40x

names

6 rows where case_id = 1917713

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3673435 1917713 1917713 plaintiff Eyre Sixtus     Eyre, Sixtus 0
3673436 1917713 1917713 defendant Edwardis William husbandman 608373 608373 Edwardis, William, of Thorndiche, husbandman 0
3673437 1917713 1917713 defendant Nele John husbandman 608374 608374 Nele, John, of Turvey, husbandman 1
3673438 1917713 1917713 defendant Stokys William, junior husbandman 593219 593219 Stokys, William, junior, of Okeley, husbandman 2
3673439 1917713 1917713 defendant Tappe John husbandman 589563 589563 Tappe, John, of Radwell, husbandman 3
3673440 1917713 1917713 defendant Askarode James clerk 608375 608375 Askarode, James, of Cloppam, clerk 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.267ms