home / cp40x

names

5 rows where case_id = 2498422

✎ 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
5477920 2498422 2498422 plaintiff Baker John   586111 586111 Baker, John, of Lamport 0
5477921 2498422 2498422 defendant Coppe Thomas chapman 591679 591679 Coppe, Thomas, of Axmyster, Devon, chapman 0
5477922 2498422 2498422 defendant Legge Robert clerk 593261 593261 Legge, Robert, of Blanford St Mary, clerk 1
5477923 2498422 2498422 defendant Genys or Gevys John clerk 784305 784305 Genys or Gevys, John, of Wotton Fitzpayn, clerk 2
5477924 2498422 2498422 defendant Muttelbury John yeoman 587112 587112 Muttelbury, John, of Axmyster, 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 14.174ms