home / cp40x

names

6 rows where case_id = 2262827

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4691373 2262827 2262827 plaintiff Wyot Richard     Wyot, Richard 0
4691374 2262827 2262827 defendant Clerk Robert butcher 589712 589712 Clerk, Robert, of New Wyndesore, butcher 0
4691375 2262827 2262827 defendant Kemsale Nicholas butcher 589712 589712 Kemsale, Nicholas, of New Wyndesore, butcher 1
4691376 2262827 2262827 defendant Coterell Robert butcher 751784 751784 Coterell, Robert, of New Windsor, butcher 2
4691377 2262827 2262827 defendant Redich Nicholas butcher 589712 589712 Redich, Nicholas, of New Wyndesore, butcher 3
4691378 2262827 2262827 defendant Chevewell or Chenewell Ralph butcher 589712 589712 Chevewell or Chenewell, Ralph, of New Wyndesore, butcher 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.343ms