home / cp40x

names

6 rows where case_id = 1983914

✎ 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
3880994 1983914 1983914 plaintiff Rolle George gent   Rolle, George, gent 0
3880995 1983914 1983914 defendant Fynche Edward   644645 644645 Fynche, Edward, of Salisbury, archdeacon of North Wiltshire 0
3880996 1983914 1983914 defendant Heydon Thomas gent 620379 620379 Heydon, Thomas, of Clerkewell, Middx, gent 1
3880997 1983914 1983914 defendant Busby William clerk 587189 587189 Busby, William, of Arundell, Sussex, clerk 2
3880998 1983914 1983914 defendant Bury John merchant 599868 599868 Bury, John, of Barstable, Devon, merchant 3
3880999 1983914 1983914 defendant Parys William carver 644646 644646 Parys, William, of High Haunton, Devon, carver 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 16.45ms