taxonomy().concept(ferc:ScheduleElectricPropertyLeasedToOthersAbstract).label("http://ferc.gov/form/2020-01-01/roles/label/F1ScheduleTitle").text
Gas Property And Capacity Leased From Others
|
Line No. |
$headings = filter (taxonomy().concept(ferc:ScheduleElectricPropertyLeasedToOthersAbstract).references("http://ferc.gov/form/2020-01-01/roles/reference/columnDetails")) where ($item.part-by-name(ferc-part:Schedule).part-value == "213 - Schedule - Electric Plant Leased To Others")
$heading = list(for $ref in $headings
list($ref.part-by-name(ferc-part:Column).part-value, $ref.part-by-name(ferc-part:ColumnName).part-value, $ref.part-by-name(ferc-part:ElementName).part-value))
$heading_dict = dict(for $row in $heading
list("("+$row[1]+")",list($row[2],
if $row[3] == none
""
else
taxonomy().concept(to-qname($row[3]))))
);
for $row in $heading_dict.keys.sort
$row
(a)
|
// adding a comment
$data2 = list(for $i in range(46)
list($i,none,none,none,none,none,none)
);
$data = if count(list({covered @ferc:ElectricPropertyLeasedToOthersAxis=*})) > 0
list({covered @ferc:ElectricPropertyLeasedToOthersAxis=* {list(
if list({@ferc:OrderNumber @unit=* @period=$currentDuration}).length > 0
first(list({@ferc:OrderNumber @unit=* @period=$currentDuration}))
else
0,
if exists({@ferc:LesseeName @unit @period=$currentDuration})
first(list({@ferc:LesseeName @unit @period=$currentDuration}))
else
none,
if exists({@ferc:IndicationOfAssociatedCompany @unit @period=$currentDuration})
first(list({@ferc:IndicationOfAssociatedCompany @unit @period=$currentDuration}))
else
none,
if exists({@ferc:LeaseDescription @unit @period=$currentDuration})
first(list({@ferc:LeaseDescription @unit @period=$currentDuration}))
else
none,
if exists({@ferc:CommissionAuthorization @unit @period=$currentDuration})
first(list({@ferc:CommissionAuthorization @unit @period=$currentDuration}))
else
none,
if exists({@ferc:ExpirationDateOfLease @unit @period=$currentDuration})
first(list({@ferc:ExpirationDateOfLease @unit @period=$currentDuration}))
else
none,
if exists({@ferc:ElectricPlantLeasedToOthers @unit @period=$currentInstant})
first(list({@ferc:ElectricPlantLeasedToOthers @unit @period=$currentInstant}))
else
none
)}})
else $data2;
$uniqueData = list(for $x in $data
if $x == list(0, none,none,none,none,none,none)
skip
else
$x
);
for $row in $uniqueData.sort
1
|
$row[2]
ABC Gas Transmission Company of America LLC
|
$row[3]
*
|
$row[4]
Strage Capacity Lease
|
$row[5]
|
$row[6]
04/05/2022
|
$row[7]
$4,080,200
|
47 |
taxonomy().concept(ferc:ElectricPlantLeasedToOthers).label("http://ferc.gov/form/2020-01-01/roles/label/F1Total").text
Total
|
|
|
|
|
max(list([covered @concept=ferc:ElectricPlantLeasedToOthers @period=$currentInstant]))
$4,080,200
|