home / cp40x

names

8 rows where case_id = 2343406

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4954849 2343406 2343406 plaintiff Stourton John knight   Stourton, John, knight 0
4954850 2343406 2343406 plaintiff Leyot Richard clerk   Leyot, Richard, clerk 1
4954851 2343406 2343406 plaintiff Clyvedon Richard     Clyvedon, Richard 2
4954852 2343406 2343406 plaintiff Gyles John     Gyles, John 3
4954853 2343406 2343406 plaintiff Penston Edmund     Penston, Edmund 4
4954854 2343406 2343406 defendant Panter or Pauter Ralph yeoman 589963 589963 Panter or Pauter, Ralph, of Fordyngbrigge, yeoman 0
4954855 2343406 2343406 defendant Lobat John laborer 589963 589963 Lobat, John, of Fordyngbrigge, laborer 1
4954856 2343406 2343406 defendant Durant John husbandman 589963 589963 Durant, John, of Fordyngbrigge, husbandman 2

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 11.074ms