home / cp40x

names

6 rows where case_id = 2027947

✎ 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
4008897 2027947 2027947 plaintiff Mount John gent, administrators of   Mount, John, gent, administrators of 0
4008898 2027947 2027947 plaintiff Glynne David     (Glynne, David 1
4008899 2027947 2027947 defendant Hygham Roger yeoman 595090 595090 Hygham, Roger, of St Martin in the Fields, Middx, yeoman 0
4008900 2027947 2027947 defendant Jones George haberdasher 614212 614212 Jones, George, of St Martin in the Fields, haberdasher 1
4008901 2027947 2027947 defendant Blackmore Thomas yeoman 673194 673194 Blackmore, Thomas, of Istelworth, Middx, yeoman 2
4008902 2027947 2027947 defendant Lawrence Thomas yeoman 589910 589910 Lawrence, Thomas, of Istelworth, yeoman 3

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