home / cp40x

names

7 rows where case_id = 2468877

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5378552 2468877 2468877 plaintiff Van der Nek Thomas     Van der Nek, Thomas 0
5378553 2468877 2468877 plaintiff Est William     Est, William 1
5378554 2468877 2468877 defendant Pagenham Gilbert baker 586480 586480 Pagenham, Gilbert, of Leneham, baker 0
5378555 2468877 2468877 defendant Down John carpenter 586480 586480 Down, John, of Leneham, carpenter 1
5378556 2468877 2468877 defendant Bedmanton William husbandman 596270 596270 Bedmanton, William, of Hariettesham, husbandman 2
5378557 2468877 2468877 defendant Pylcher Richard smith 880282 880282 Pylcher, Richard, of Harietttesham, smith 3
5378558 2468877 2468877 defendant Pepyr Simon husbandman 615452 615452 Pepyr, Simon, of Oterden, husbandman 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 18.49ms