home / cp40x

names

6 rows where case_id = 2175935

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4435778 2175935 2175935 plaintiff Pole Richard de la   756247 756247 Pole, Richard de la, of Hertyndon 0
4435779 2175935 2175935 defendant Chaumbre John de la   595859 595859 Chaumbre, John de la, of Hambury 0
4435780 2175935 2175935 defendant Campion William   756248 756248 Campion, William, of New Town 1
4435781 2175935 2175935 defendant Crondy Adam   756248 756248 Crondy, Adam, of New Town 2
4435782 2175935 2175935 defendant Sperch William de la   756248 756248 Sperch, William de la, of New Town 3
4435783 2175935 2175935 defendant Coton Thomas de son of John   Coton, Thomas de, son of John 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 14.108ms