home / cp40x

names

8 rows where case_id = 2243552

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4641307 2243552 2243552 plaintiff Flete William     Flete, William 0
4641308 2243552 2243552 defendant Forset John     Forset, John 0
4641309 2243552 2243552 defendant Wynde John   587360 587360 Wynde, John, of Gedney 1
4641310 2243552 2243552 defendant Wynde William   754921 754921 Wynde, William, of Gedeneye 2
4641311 2243552 2243552 defendant Sayere Richard   587309 587309 Sayere, Richard, of Holbeche 3
4641312 2243552 2243552 defendant Grene Robert     Grene, Robert 4
4641313 2243552 2243552 defendant Haket Peter   619665 619665 Haket, Peter, of Tiryngton 5
4641314 2243552 2243552 defendant Clerk Thomas   587309 587309 Clerk, Thomas, of Holbeche 6

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