home / cp40x

names

12 rows where place_id = 805804

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, raw_segment

id ▼ case_id role surname forename occupation place_id raw_segment seq
4811113 2299586 2299586 defendant Plantagenet John   805804 805804 Plantagenet, John, of Bedford, Duke 0
4819622 2302210 2302210 plaintiff Plantagenent John   805804 805804 Plantagenent, John, of Bedford, duke 0
4819624 2302211 2302211 plaintiff Plantagenet John   805804 805804 Plantagenet, John, of Bedford, Duke 0
4819626 2302212 2302212 plaintiff Plantagenet John   805804 805804 Plantagenet, John, of Bedford, Duke 0
4819628 2302213 2302213 plaintiff Plantagenet John   805804 805804 Plantagenet, John, of Bedford, Duke 0
4819630 2302214 2302214 plaintiff Plantagenet John   805804 805804 Plantagenet, John, of Bedford, Duke 0
4819632 2302215 2302215 plaintiff Plantagenet John   805804 805804 Plantagenet, John, of Bedford, Duke 0
4819634 2302216 2302216 plaintiff Plantagenet John   805804 805804 Plantagenet, John, of Bedford, Duke 0
4819637 2302217 2302217 plaintiff Plantagenet John   805804 805804 Plantagenet, John, of Bedford, Duke 0
4819639 2302218 2302218 plaintiff Plantagenet John   805804 805804 Plantagenet, John, of Bedford, Duke 0
4819642 2302219 2302219 plaintiff Plantagenet John   805804 805804 Plantagenet, John, of Bedford, Duke 0
4819644 2302220 2302220 plaintiff Plantagenet John   805804 805804 Plantagenet, John, of Bedford, Duke 0

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.006ms