Get the plug record
get_plug_recordReturns the publication's plug record (contract 1.4.0 and later): W-3 plug dates on the Railroad Commission of Texas Full Wellbore file, counted by the calendar year the operator reported and by district, as published. Without a district it returns the statewide count for each year and each district's count for each year. With a district it returns that district's years with state-funded plug numbers, well types and district bases. With rows_limit it pages the per-wellbore rows one district and one year's count is made of, each with the line of the Full Wellbore file it was read from. Every response carries the publication's claims with their labels (DOCUMENTED_FACT, INFERENCE, UNKNOWN), the two UNKNOWN claims that travel with every count, and the publication's statement of what the record is not. This server computes no figure from these counts and combines none with the screening counts. On an edition without a plug record the plug_record field is null.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| district | No | A district key of the plug record: a Commission district (e.g. 08, 7C, 8A) or NOT_IN_SOURCE for wellbore-years the file gives no district. Omit for the statewide years and every district's counts. | |
| last_year | No | Last calendar year returned. Default: the last year of the plug record's window. | |
| first_year | No | First calendar year returned. Default: the first year of the plug record's window. | |
| rows_limit | No | Per-wellbore rows to return, 0-200. Default 0 (counts only). Rows are served for one district and one year per call: pass district, and first_year equal to last_year. | |
| rows_offset | No | Rows to skip before the first one returned, for paging. Default 0. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| terms | Yes | ||
| boundary | Yes | ||
| plug_record | Yes | ||
| contract_version | Yes | ||
| publication_root | Yes |