home / cp40x

names

6 rows where case_id = 2478699

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5412552 2478699 2478699 plaintiff Dynham John knight   Dynham, John, knight 0
5412553 2478699 2478699 plaintiff Dynham Oliver clerk   Dynham, Oliver, clerk 1
5412554 2478699 2478699 plaintiff More John   598601 598601 More, John, of Columpton 2
5412555 2478699 2478699 plaintiff Bere John   599238 599238 Bere, John, of Hunsham 3
5412556 2478699 2478699 plaintiff Loche Richard     Loche, Richard 4
5412557 2478699 2478699 defendant Dcanne John husbandman 734145 734145 Dcanne, John, of Peatton, husbandman 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 16.829ms