home / cp40x

names

8 rows where case_id = 2451540

✎ 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
5321570 2451540 2451540 plaintiff Lunne Ralph     Lunne, Ralph 0
5321571 2451540 2451540 plaintiff Keryngton John     Keryngton, John 1
5321572 2451540 2451540 plaintiff Sansthorp or Sausthorp Robert     Sansthorp or Sausthorp, Robert 2
5321573 2451540 2451540 plaintiff Melburn Gilbert     Melburn, Gilbert 3
5321574 2451540 2451540 plaintiff Fleccher Richard     Fleccher, Richard 4
5321575 2451540 2451540 plaintiff Kenyngton John     Kenyngton, John 5
5321576 2451540 2451540 defendant Bocher William gent 769804 769804 Bocher, William, of Kelecotes, gent 0
5321577 2451540 2451540 defendant Kyng Richard husbandman 624941 624941 Kyng, Richard, of Langton juxta Hornecastell, husbandman 1

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