home / cp40x

names

7 rows where case_id = 2213326

✎ 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
4541802 2213326 2213326 plaintiff Wyleot Thomas     Wyleot, Thomas 0
4541803 2213326 2213326 defendant Fyn Richard   591409 591409 Fyn, Richard, of Hemnale 0
4541804 2213326 2213326 defendant Harald John   595870 595870 Harald, John, of Mersham 1
4541805 2213326 2213326 defendant Crowegate John smith 767666 767666 Crowegate, John, of Hobbesse or Hautbois, smith 2
4541806 2213326 2213326 defendant turnour Nicholas   592341 592341 turnour, Nicholas, of Bergh 3
4541807 2213326 2213326 defendant Freman Alexander     Freman, Alexander 4
4541808 2213326 2213326 defendant Coteler John   586404 586404 Coteler, John, of Melles 5

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