home / cp40x

names

7 rows where case_id = 1873760

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3619776 1873760 1873760 plaintiff Johnson Robert glover 587948 587948 Johnson, Robert, of Newerk, glover 0
3619777 1873760 1873760 plaintiff Genen William draper 587948 587948 Genen, William, of Newerk, draper 1
3619778 1873760 1873760 plaintiff Haweby John smith 587948 587948 Haweby, John, of Newerk, smith 2
3619779 1873760 1873760 plaintiff Faweconer Richard draper 587948 587948 Faweconer, Richard, of Newerk, draper 3
3619780 1873760 1873760 defendant Smyth Thomas carver 587948 587948 Smyth, Thomas, of Newerk, carver 0
3619781 1873760 1873760 defendant Meryng Thomas esq 587948 587948 Meryng, Thomas, of Newerk, esq 1
3619782 1873760 1873760 defendant Smyth John clerk 587948 587948 Smyth, John, of Newerk, clerk 2

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