home / cp40x

names

6 rows where case_id = 2437869

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5275376 2437869 2437869 plaintiff Smyth Simon grocer 585869 585869 Smyth, Simon, of London, grocer 0
5275377 2437869 2437869 defendant Bruyn Richard esq 585869 585869 Bruyn, Richard, of London, esq 0
5275378 2437869 2437869 defendant Sendon John dyer 592909 592909 Sendon, John, of Cranbroke, Kent, dyer 1
5275379 2437869 2437869 defendant Tomas Thomas beer brewer 589978 589978 Tomas, Thomas, of Newenton, Kent, beer brewer 2
5275380 2437869 2437869 defendant Bailly Peter dyer 591565 591565 Bailly, Peter, of Assheford, Kent, dyer 3
5275381 2437869 2437869 defendant Clarke William chapman 594009 594009 Clarke, William, of Branktre, Essex, chapman 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 14.563ms