home / cp40x

names

6 rows where case_id = 2450922

✎ 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
5319490 2450922 2450922 plaintiff Hereford Thomas   585929 585929 Hereford, Thomas, of St Clement Danes 0
5319491 2450922 2450922 defendant Garardson Simon goldsmith 585869 585869 Garardson, Simon, of London, goldsmith 0
5319492 2450922 2450922 defendant Forster John gent 587485 587485 Forster, John, of Stratford Langthorn, Essex, gent 1
5319493 2450922 2450922 defendant Gruffith Richard gent 585869 585869 Gruffith, Richard, of London, gent 2
5319494 2450922 2450922 defendant Wannyng Robert   585869 585869 Wannyng, Robert, of London, surgeon 3
5319495 2450922 2450922 defendant Lucas William yeoman 592959 592959 Lucas, William, of Plymmouth, Devon, yeoman 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 15.219ms