@nshiab/simple-data-analysis 5.19.11 → 5.19.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1609) hide show
  1. package/esm/_dnt.polyfills.d.ts +12 -0
  2. package/esm/_dnt.polyfills.d.ts.map +1 -0
  3. package/esm/_dnt.polyfills.js +15 -0
  4. package/esm/class/SimpleDB.d.ts +1 -1
  5. package/esm/class/SimpleDB.js +1 -1
  6. package/esm/class/SimpleTable.d.ts +12 -4
  7. package/esm/class/SimpleTable.d.ts.map +1 -1
  8. package/esm/class/SimpleTable.js +32 -11
  9. package/esm/deps/jsr.io/@nshiab/journalism-ai/1.2.22/src/ai/askAI.d.ts.map +1 -0
  10. package/esm/deps/jsr.io/@nshiab/journalism-ai/1.2.22/src/ai/askAI.js +760 -0
  11. package/esm/deps/jsr.io/@nshiab/journalism-ai/1.2.22/src/ai/askAIPool.d.ts.map +1 -0
  12. package/esm/deps/jsr.io/@nshiab/journalism-ai/1.2.22/src/ai/askAIPool.js +229 -0
  13. package/esm/deps/jsr.io/@nshiab/journalism-ai/1.2.22/src/ai/getEmbedding.d.ts.map +1 -0
  14. package/esm/deps/jsr.io/@nshiab/journalism-ai/1.2.22/src/ai/getEmbedding.js +166 -0
  15. package/esm/deps/jsr.io/@nshiab/journalism-ai/1.2.22/src/ai/helpers/sleep.d.ts.map +1 -0
  16. package/esm/deps/jsr.io/@nshiab/journalism-ai/1.2.22/src/index.d.ts +26 -0
  17. package/esm/deps/jsr.io/@nshiab/journalism-ai/1.2.22/src/index.d.ts.map +1 -0
  18. package/esm/deps/jsr.io/@nshiab/journalism-ai/1.2.22/src/index.js +24 -0
  19. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/helpers/addDots.d.ts.map +1 -0
  20. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/helpers/addLines.d.ts.map +1 -0
  21. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/helpers/drawChart.d.ts +33 -0
  22. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/helpers/drawChart.d.ts.map +1 -0
  23. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/helpers/getAxisX.d.ts.map +1 -0
  24. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/helpers/getAxisX.js +45 -0
  25. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/helpers/getAxisY.d.ts +14 -0
  26. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/helpers/getAxisY.d.ts.map +1 -0
  27. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/helpers/getChartData.d.ts.map +1 -0
  28. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/helpers/getColors.d.ts.map +1 -0
  29. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/helpers/makeBars.d.ts +19 -0
  30. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/helpers/makeBars.d.ts.map +1 -0
  31. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/helpers/makeBars.js +72 -0
  32. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/helpers/prepChart.d.ts +17 -0
  33. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/helpers/prepChart.d.ts.map +1 -0
  34. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/helpers/prepChart.js +146 -0
  35. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/helpers/validateDataTypes.d.ts.map +1 -0
  36. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/logBarChart.d.ts +59 -0
  37. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/logBarChart.d.ts.map +1 -0
  38. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/logBarChart.js +70 -0
  39. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/logDotChart.d.ts +78 -0
  40. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/logDotChart.d.ts.map +1 -0
  41. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/logDotChart.js +90 -0
  42. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/logLineChart.d.ts +78 -0
  43. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/logLineChart.d.ts.map +1 -0
  44. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/logLineChart.js +90 -0
  45. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/publishChartDW.d.ts.map +1 -0
  46. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/rewind.d.ts.map +1 -0
  47. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/saveChart.d.ts.map +1 -0
  48. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/saveChart.js +611 -0
  49. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/updateAnnotationsDW.d.ts.map +1 -0
  50. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/updateDataDW.d.ts.map +1 -0
  51. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/updateNotesDW.d.ts.map +1 -0
  52. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/index.d.ts +36 -0
  53. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/index.d.ts.map +1 -0
  54. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/index.js +35 -0
  55. package/esm/deps/jsr.io/@nshiab/journalism-format/1.1.9/src/format/arraysToData.d.ts.map +1 -0
  56. package/esm/deps/jsr.io/@nshiab/journalism-format/1.1.9/src/format/camelCase.d.ts.map +1 -0
  57. package/esm/deps/jsr.io/@nshiab/journalism-format/1.1.9/src/format/capitalize.d.ts.map +1 -0
  58. package/esm/deps/jsr.io/@nshiab/journalism-format/1.1.9/src/format/dataAsCsv.d.ts.map +1 -0
  59. package/esm/deps/jsr.io/@nshiab/journalism-format/1.1.9/src/format/dataToArrays.d.ts.map +1 -0
  60. package/esm/deps/jsr.io/@nshiab/journalism-format/1.1.9/src/format/formatDate.d.ts.map +1 -0
  61. package/esm/deps/jsr.io/@nshiab/journalism-format/1.1.9/src/format/formatNumber.d.ts.map +1 -0
  62. package/esm/deps/jsr.io/@nshiab/journalism-format/1.1.9/src/format/helpers/dateToCBCStyle.d.ts.map +1 -0
  63. package/esm/deps/jsr.io/@nshiab/journalism-format/1.1.9/src/format/helpers/dateToRCStyle.d.ts.map +1 -0
  64. package/esm/deps/jsr.io/@nshiab/journalism-format/1.1.9/src/format/helpers/isValidDate.d.ts.map +1 -0
  65. package/esm/deps/jsr.io/@nshiab/journalism-format/1.1.9/src/format/helpers/transformPositionToCbcStyle.d.ts.map +1 -0
  66. package/esm/deps/jsr.io/@nshiab/journalism-format/1.1.9/src/format/helpers/transformPositionToRcStyle.d.ts.map +1 -0
  67. package/esm/deps/jsr.io/@nshiab/journalism-format/1.1.9/src/format/helpers/wrapString.d.ts.map +1 -0
  68. package/esm/deps/jsr.io/@nshiab/journalism-format/1.1.9/src/format/normalizeString.d.ts.map +1 -0
  69. package/esm/deps/jsr.io/@nshiab/journalism-format/1.1.9/src/format/prettyDuration.d.ts.map +1 -0
  70. package/esm/deps/jsr.io/@nshiab/journalism-format/1.1.9/src/format/printTable.d.ts.map +1 -0
  71. package/esm/deps/jsr.io/@nshiab/journalism-format/1.1.9/src/format/round.d.ts.map +1 -0
  72. package/esm/deps/jsr.io/@nshiab/journalism-format/1.1.9/src/index.d.ts +33 -0
  73. package/esm/deps/jsr.io/@nshiab/journalism-format/1.1.9/src/index.d.ts.map +1 -0
  74. package/esm/deps/jsr.io/@nshiab/journalism-format/1.1.9/src/index.js +32 -0
  75. package/esm/deps/jsr.io/@nshiab/journalism-google/1.0.10/src/google/addSheetRows.d.ts.map +1 -0
  76. package/esm/deps/jsr.io/@nshiab/journalism-google/1.0.10/src/google/deleteFromBucket.d.ts.map +1 -0
  77. package/esm/deps/jsr.io/@nshiab/journalism-google/1.0.10/src/google/downloadFromBucket.d.ts.map +1 -0
  78. package/esm/deps/jsr.io/@nshiab/journalism-google/1.0.10/src/google/filesInBucket.d.ts.map +1 -0
  79. package/esm/deps/jsr.io/@nshiab/journalism-google/1.0.10/src/google/getSheetData.d.ts.map +1 -0
  80. package/esm/deps/jsr.io/@nshiab/journalism-google/1.0.10/src/google/helpers/cleanData.d.ts.map +1 -0
  81. package/esm/deps/jsr.io/@nshiab/journalism-google/1.0.10/src/google/helpers/logToSheet.d.ts.map +1 -0
  82. package/esm/deps/jsr.io/@nshiab/journalism-google/1.0.10/src/google/inBucket.d.ts.map +1 -0
  83. package/esm/deps/jsr.io/@nshiab/journalism-google/1.0.10/src/google/overwriteSheetData.d.ts.map +1 -0
  84. package/esm/deps/jsr.io/@nshiab/journalism-google/1.0.10/src/google/overwriteSheetData.js +116 -0
  85. package/esm/deps/jsr.io/@nshiab/journalism-google/1.0.10/src/google/toBucket.d.ts.map +1 -0
  86. package/esm/deps/jsr.io/@nshiab/journalism-google/1.0.10/src/index.d.ts +30 -0
  87. package/esm/deps/jsr.io/@nshiab/journalism-google/1.0.10/src/index.d.ts.map +1 -0
  88. package/esm/deps/jsr.io/@nshiab/journalism-google/1.0.10/src/index.js +29 -0
  89. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/class/Simple.d.ts.map +1 -0
  90. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/class/SimpleDB.d.ts.map +1 -0
  91. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/class/SimpleTable.d.ts +4503 -0
  92. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/class/SimpleTable.d.ts.map +1 -0
  93. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/class/SimpleTable.js +5469 -0
  94. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/accumulateQuery.d.ts.map +1 -0
  95. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/camelCase.d.ts.map +1 -0
  96. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/capitalize.d.ts.map +1 -0
  97. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/checkVssIndexes.d.ts.map +1 -0
  98. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/cleanCache.d.ts.map +1 -0
  99. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/cleanPath.d.ts.map +1 -0
  100. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/cleanSQL.d.ts.map +1 -0
  101. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/concatenateRowQuery.d.ts.map +1 -0
  102. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/convertForJS.d.ts.map +1 -0
  103. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/createDirectory.d.ts.map +1 -0
  104. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/csvFormat.d.ts.map +1 -0
  105. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/dataToArrays.d.ts.map +1 -0
  106. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/extractTypes.d.ts.map +1 -0
  107. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/findGeoColumn.d.ts.map +1 -0
  108. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/findGeoColumn.js +18 -0
  109. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/formatDate.d.ts.map +1 -0
  110. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/formatNumber.d.ts.map +1 -0
  111. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/getCombinations.d.ts.map +1 -0
  112. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/getExtension.d.ts.map +1 -0
  113. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/getIdenticalColumns.d.ts.map +1 -0
  114. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/getName.d.ts.map +1 -0
  115. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/getProjection.d.ts.map +1 -0
  116. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/getProjection.js +25 -0
  117. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/getProjectionParquet.d.ts.map +1 -0
  118. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/hasGeometryColumn.d.ts +20 -0
  119. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/hasGeometryColumn.d.ts.map +1 -0
  120. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/hasGeometryColumn.js +21 -0
  121. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/index.d.ts.map +1 -0
  122. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/keepNumericalColumns.d.ts.map +1 -0
  123. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/logData.d.ts.map +1 -0
  124. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/mergeOptions.d.ts.map +1 -0
  125. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/nestQuery.d.ts.map +1 -0
  126. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/parseDuckDBType.d.ts.map +1 -0
  127. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/parseTypes.d.ts.map +1 -0
  128. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/parseValue.d.ts.map +1 -0
  129. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/prettyDuration.d.ts.map +1 -0
  130. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/printTable.d.ts.map +1 -0
  131. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/queryDB.d.ts.map +1 -0
  132. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/rewind.d.ts.map +1 -0
  133. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/runQuery.d.ts.map +1 -0
  134. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/setDbProps.d.ts.map +1 -0
  135. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/shouldFlipBeforeExport.d.ts.map +1 -0
  136. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/stringToArray.d.ts.map +1 -0
  137. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/stringifyDates.d.ts.map +1 -0
  138. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/stringifyDatesInvert.d.ts.map +1 -0
  139. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/unifyColumns.d.ts.map +1 -0
  140. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/unnestQuery.d.ts.map +1 -0
  141. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/wrapString.d.ts.map +1 -0
  142. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/writeDataAsArrays.d.ts.map +1 -0
  143. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/writeGeoData.d.ts +9 -0
  144. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/writeGeoData.d.ts.map +1 -0
  145. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/writeGeoData.js +110 -0
  146. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/writeProjectionsAndIndexes.d.ts.map +1 -0
  147. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/index.d.ts +31 -0
  148. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/index.d.ts.map +1 -0
  149. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/index.js +30 -0
  150. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/aggregateGeoQuery.d.ts.map +1 -0
  151. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/binsQuery.d.ts.map +1 -0
  152. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/bm25.d.ts.map +1 -0
  153. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/cache.d.ts.map +1 -0
  154. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/capitalizeQuery.d.ts.map +1 -0
  155. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/cloneColumn.d.ts.map +1 -0
  156. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/cloneQuery.d.ts.map +1 -0
  157. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/concatenateQuery.d.ts.map +1 -0
  158. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/convertQuery.d.ts.map +1 -0
  159. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/correlations.d.ts.map +1 -0
  160. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/correlationsQuery.d.ts.map +1 -0
  161. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/createFtsIndex.d.ts.map +1 -0
  162. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/createVssIndex.d.ts.map +1 -0
  163. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/crossJoinQuery.d.ts.map +1 -0
  164. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/distanceQuery.d.ts.map +1 -0
  165. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/fill.d.ts.map +1 -0
  166. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/fill.js +60 -0
  167. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/fuzzyClean.d.ts +7 -0
  168. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/fuzzyClean.d.ts.map +1 -0
  169. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/fuzzyClean.js +213 -0
  170. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/fuzzyJoin.d.ts +8 -0
  171. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/fuzzyJoin.d.ts.map +1 -0
  172. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/fuzzyJoin.js +57 -0
  173. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/fuzzyJoinQuery.d.ts +2 -0
  174. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/fuzzyJoinQuery.d.ts.map +1 -0
  175. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/fuzzyJoinQuery.js +29 -0
  176. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/getBottom.d.ts.map +1 -0
  177. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/getColumns.d.ts.map +1 -0
  178. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/getDescription.d.ts.map +1 -0
  179. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/getFirstRow.d.ts.map +1 -0
  180. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/getGeoData.d.ts.map +1 -0
  181. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/getLastRow.d.ts.map +1 -0
  182. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/getMax.d.ts.map +1 -0
  183. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/getMean.d.ts.map +1 -0
  184. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/getMedian.d.ts.map +1 -0
  185. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/getMin.d.ts.map +1 -0
  186. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/getNbCharacters.d.ts.map +1 -0
  187. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/getNbRows.d.ts.map +1 -0
  188. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/getQuantile.d.ts.map +1 -0
  189. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/getSkew.d.ts.map +1 -0
  190. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/getStdDev.d.ts.map +1 -0
  191. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/getSum.d.ts.map +1 -0
  192. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/getTableNames.d.ts.map +1 -0
  193. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/getTop.d.ts.map +1 -0
  194. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/getTypes.d.ts.map +1 -0
  195. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/getUniques.d.ts.map +1 -0
  196. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/getValues.d.ts.map +1 -0
  197. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/getVar.d.ts.map +1 -0
  198. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/insertRowsQuery.d.ts.map +1 -0
  199. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/join.d.ts.map +1 -0
  200. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/joinGeo.d.ts.map +1 -0
  201. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/joinGeoQuery.d.ts.map +1 -0
  202. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/joinQuery.d.ts.map +1 -0
  203. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/keepQuery.d.ts.map +1 -0
  204. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/linearRegressionQuery.d.ts.map +1 -0
  205. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/linearRegressions.d.ts.map +1 -0
  206. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/loadArray.d.ts.map +1 -0
  207. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/loadDataQuery.d.ts +24 -0
  208. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/loadDataQuery.d.ts.map +1 -0
  209. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/loadDataQuery.js +85 -0
  210. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/lowerQuery.d.ts.map +1 -0
  211. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/normalizeQuery.d.ts.map +1 -0
  212. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/normalizeString.d.ts.map +1 -0
  213. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/outliersIQRQuery.d.ts.map +1 -0
  214. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/padQuery.d.ts +5 -0
  215. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/padQuery.d.ts.map +1 -0
  216. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/padQuery.js +14 -0
  217. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/proportionsHorizontalQuery.d.ts.map +1 -0
  218. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/proportionsVerticalQuery.d.ts.map +1 -0
  219. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/quantilesQuery.d.ts.map +1 -0
  220. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/ranksQuery.d.ts.map +1 -0
  221. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/removeDuplicatesQuery.d.ts.map +1 -0
  222. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/removeMissing.d.ts.map +1 -0
  223. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/removeMissingQuery.d.ts.map +1 -0
  224. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/removeQuery.d.ts.map +1 -0
  225. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/renameColumnQuery.d.ts.map +1 -0
  226. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/replaceNullsQuery.d.ts.map +1 -0
  227. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/replaceQuery.d.ts.map +1 -0
  228. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/rollingQuery.d.ts.map +1 -0
  229. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/roundQuery.d.ts.map +1 -0
  230. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/selectRowsQuery.d.ts.map +1 -0
  231. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/sortQuery.d.ts.map +1 -0
  232. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/splitSpread.d.ts.map +1 -0
  233. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/summarize.d.ts.map +1 -0
  234. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/summarizeQuery.d.ts.map +1 -0
  235. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/trimQuery.d.ts.map +1 -0
  236. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/truncateQuery.d.ts.map +1 -0
  237. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/upperQuery.d.ts.map +1 -0
  238. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/writeDataQuery.d.ts.map +1 -0
  239. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/writeGeoDataQuery.d.ts.map +1 -0
  240. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/writeGeoDataQuery.js +19 -0
  241. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/zScoreQuery.d.ts.map +1 -0
  242. package/esm/helpers/cleanDatavizGlobals.d.ts +2 -0
  243. package/esm/helpers/cleanDatavizGlobals.d.ts.map +1 -0
  244. package/esm/helpers/cleanDatavizGlobals.js +194 -0
  245. package/esm/helpers/sleep.js +1 -1
  246. package/esm/helpers/tryAI.js +1 -1
  247. package/esm/helpers/tryEmbedding.js +1 -1
  248. package/esm/index.d.ts +1 -0
  249. package/esm/index.d.ts.map +1 -1
  250. package/esm/index.js +1 -0
  251. package/esm/methods/aiEmbeddings.js +1 -1
  252. package/esm/methods/aiQuery.js +1 -1
  253. package/esm/methods/aiRAG.js +2 -2
  254. package/esm/methods/aiRowByRow.js +2 -2
  255. package/esm/methods/aiRowByRowPool.js +1 -1
  256. package/esm/methods/aiVectorSimilarity.js +2 -2
  257. package/esm/methods/hybridSearch.js +2 -2
  258. package/esm/methods/logHistogram.js +1 -1
  259. package/package.json +2 -2
  260. package/script/_dnt.polyfills.d.ts +12 -0
  261. package/script/_dnt.polyfills.d.ts.map +1 -0
  262. package/script/_dnt.polyfills.js +16 -0
  263. package/script/class/SimpleDB.d.ts +1 -1
  264. package/script/class/SimpleDB.js +1 -1
  265. package/script/class/SimpleTable.d.ts +12 -4
  266. package/script/class/SimpleTable.d.ts.map +1 -1
  267. package/script/class/SimpleTable.js +32 -11
  268. package/script/deps/jsr.io/@nshiab/journalism-ai/1.2.22/src/ai/askAI.d.ts.map +1 -0
  269. package/script/deps/jsr.io/@nshiab/journalism-ai/1.2.22/src/ai/askAI.js +799 -0
  270. package/script/deps/jsr.io/@nshiab/journalism-ai/1.2.22/src/ai/askAIPool.d.ts.map +1 -0
  271. package/script/deps/jsr.io/@nshiab/journalism-ai/1.2.22/src/ai/askAIPool.js +235 -0
  272. package/script/deps/jsr.io/@nshiab/journalism-ai/1.2.22/src/ai/getEmbedding.d.ts.map +1 -0
  273. package/script/deps/jsr.io/@nshiab/journalism-ai/1.2.22/src/ai/getEmbedding.js +205 -0
  274. package/script/deps/jsr.io/@nshiab/journalism-ai/1.2.22/src/ai/helpers/sleep.d.ts.map +1 -0
  275. package/script/deps/jsr.io/@nshiab/journalism-ai/1.2.22/src/index.d.ts +26 -0
  276. package/script/deps/jsr.io/@nshiab/journalism-ai/1.2.22/src/index.d.ts.map +1 -0
  277. package/script/deps/jsr.io/@nshiab/journalism-ai/1.2.22/src/index.js +32 -0
  278. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/helpers/addDots.d.ts.map +1 -0
  279. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/helpers/addLines.d.ts.map +1 -0
  280. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/helpers/drawChart.d.ts +33 -0
  281. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/helpers/drawChart.d.ts.map +1 -0
  282. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/helpers/getAxisX.d.ts.map +1 -0
  283. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/helpers/getAxisX.js +48 -0
  284. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/helpers/getAxisY.d.ts +14 -0
  285. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/helpers/getAxisY.d.ts.map +1 -0
  286. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/helpers/getChartData.d.ts.map +1 -0
  287. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/helpers/getColors.d.ts.map +1 -0
  288. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/helpers/makeBars.d.ts +19 -0
  289. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/helpers/makeBars.d.ts.map +1 -0
  290. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/helpers/makeBars.js +75 -0
  291. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/helpers/prepChart.d.ts +17 -0
  292. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/helpers/prepChart.d.ts.map +1 -0
  293. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/helpers/prepChart.js +152 -0
  294. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/helpers/validateDataTypes.d.ts.map +1 -0
  295. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/logBarChart.d.ts +59 -0
  296. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/logBarChart.d.ts.map +1 -0
  297. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/logBarChart.js +76 -0
  298. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/logDotChart.d.ts +78 -0
  299. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/logDotChart.d.ts.map +1 -0
  300. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/logDotChart.js +96 -0
  301. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/logLineChart.d.ts +78 -0
  302. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/logLineChart.d.ts.map +1 -0
  303. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/logLineChart.js +96 -0
  304. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/publishChartDW.d.ts.map +1 -0
  305. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/rewind.d.ts.map +1 -0
  306. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/saveChart.d.ts.map +1 -0
  307. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/saveChart.js +647 -0
  308. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/updateAnnotationsDW.d.ts.map +1 -0
  309. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/updateDataDW.d.ts.map +1 -0
  310. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/dataviz/updateNotesDW.d.ts.map +1 -0
  311. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/index.d.ts +36 -0
  312. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/index.d.ts.map +1 -0
  313. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.16/src/index.js +49 -0
  314. package/script/deps/jsr.io/@nshiab/journalism-format/1.1.9/src/format/arraysToData.d.ts.map +1 -0
  315. package/script/deps/jsr.io/@nshiab/journalism-format/1.1.9/src/format/camelCase.d.ts.map +1 -0
  316. package/script/deps/jsr.io/@nshiab/journalism-format/1.1.9/src/format/capitalize.d.ts.map +1 -0
  317. package/script/deps/jsr.io/@nshiab/journalism-format/1.1.9/src/format/dataAsCsv.d.ts.map +1 -0
  318. package/script/deps/jsr.io/@nshiab/journalism-format/1.1.9/src/format/dataToArrays.d.ts.map +1 -0
  319. package/script/deps/jsr.io/@nshiab/journalism-format/1.1.9/src/format/formatDate.d.ts.map +1 -0
  320. package/script/deps/jsr.io/@nshiab/journalism-format/1.1.9/src/format/formatNumber.d.ts.map +1 -0
  321. package/script/deps/jsr.io/@nshiab/journalism-format/1.1.9/src/format/helpers/dateToCBCStyle.d.ts.map +1 -0
  322. package/script/deps/jsr.io/@nshiab/journalism-format/1.1.9/src/format/helpers/dateToRCStyle.d.ts.map +1 -0
  323. package/script/deps/jsr.io/@nshiab/journalism-format/1.1.9/src/format/helpers/isValidDate.d.ts.map +1 -0
  324. package/script/deps/jsr.io/@nshiab/journalism-format/1.1.9/src/format/helpers/transformPositionToCbcStyle.d.ts.map +1 -0
  325. package/script/deps/jsr.io/@nshiab/journalism-format/1.1.9/src/format/helpers/transformPositionToRcStyle.d.ts.map +1 -0
  326. package/script/deps/jsr.io/@nshiab/journalism-format/1.1.9/src/format/helpers/wrapString.d.ts.map +1 -0
  327. package/script/deps/jsr.io/@nshiab/journalism-format/1.1.9/src/format/normalizeString.d.ts.map +1 -0
  328. package/script/deps/jsr.io/@nshiab/journalism-format/1.1.9/src/format/prettyDuration.d.ts.map +1 -0
  329. package/script/deps/jsr.io/@nshiab/journalism-format/1.1.9/src/format/printTable.d.ts.map +1 -0
  330. package/script/deps/jsr.io/@nshiab/journalism-format/1.1.9/src/format/round.d.ts.map +1 -0
  331. package/script/deps/jsr.io/@nshiab/journalism-format/1.1.9/src/index.d.ts +33 -0
  332. package/script/deps/jsr.io/@nshiab/journalism-format/1.1.9/src/index.d.ts.map +1 -0
  333. package/script/deps/jsr.io/@nshiab/journalism-format/1.1.9/src/index.js +48 -0
  334. package/script/deps/jsr.io/@nshiab/journalism-google/1.0.10/src/google/addSheetRows.d.ts.map +1 -0
  335. package/script/deps/jsr.io/@nshiab/journalism-google/1.0.10/src/google/deleteFromBucket.d.ts.map +1 -0
  336. package/script/deps/jsr.io/@nshiab/journalism-google/1.0.10/src/google/downloadFromBucket.d.ts.map +1 -0
  337. package/script/deps/jsr.io/@nshiab/journalism-google/1.0.10/src/google/filesInBucket.d.ts.map +1 -0
  338. package/script/deps/jsr.io/@nshiab/journalism-google/1.0.10/src/google/getSheetData.d.ts.map +1 -0
  339. package/script/deps/jsr.io/@nshiab/journalism-google/1.0.10/src/google/helpers/cleanData.d.ts.map +1 -0
  340. package/script/deps/jsr.io/@nshiab/journalism-google/1.0.10/src/google/helpers/logToSheet.d.ts.map +1 -0
  341. package/script/deps/jsr.io/@nshiab/journalism-google/1.0.10/src/google/inBucket.d.ts.map +1 -0
  342. package/script/deps/jsr.io/@nshiab/journalism-google/1.0.10/src/google/overwriteSheetData.d.ts.map +1 -0
  343. package/script/deps/jsr.io/@nshiab/journalism-google/1.0.10/src/google/overwriteSheetData.js +122 -0
  344. package/script/deps/jsr.io/@nshiab/journalism-google/1.0.10/src/google/toBucket.d.ts.map +1 -0
  345. package/script/deps/jsr.io/@nshiab/journalism-google/1.0.10/src/index.d.ts +30 -0
  346. package/script/deps/jsr.io/@nshiab/journalism-google/1.0.10/src/index.d.ts.map +1 -0
  347. package/script/deps/jsr.io/@nshiab/journalism-google/1.0.10/src/index.js +42 -0
  348. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/class/Simple.d.ts.map +1 -0
  349. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/class/SimpleDB.d.ts.map +1 -0
  350. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/class/SimpleTable.d.ts +4503 -0
  351. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/class/SimpleTable.d.ts.map +1 -0
  352. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/class/SimpleTable.js +5475 -0
  353. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/accumulateQuery.d.ts.map +1 -0
  354. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/camelCase.d.ts.map +1 -0
  355. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/capitalize.d.ts.map +1 -0
  356. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/checkVssIndexes.d.ts.map +1 -0
  357. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/cleanCache.d.ts.map +1 -0
  358. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/cleanPath.d.ts.map +1 -0
  359. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/cleanSQL.d.ts.map +1 -0
  360. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/concatenateRowQuery.d.ts.map +1 -0
  361. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/convertForJS.d.ts.map +1 -0
  362. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/createDirectory.d.ts.map +1 -0
  363. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/csvFormat.d.ts.map +1 -0
  364. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/dataToArrays.d.ts.map +1 -0
  365. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/extractTypes.d.ts.map +1 -0
  366. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/findGeoColumn.d.ts.map +1 -0
  367. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/findGeoColumn.js +21 -0
  368. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/formatDate.d.ts.map +1 -0
  369. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/formatNumber.d.ts.map +1 -0
  370. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/getCombinations.d.ts.map +1 -0
  371. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/getExtension.d.ts.map +1 -0
  372. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/getIdenticalColumns.d.ts.map +1 -0
  373. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/getName.d.ts.map +1 -0
  374. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/getProjection.d.ts.map +1 -0
  375. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/getProjection.js +31 -0
  376. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/getProjectionParquet.d.ts.map +1 -0
  377. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/hasGeometryColumn.d.ts +20 -0
  378. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/hasGeometryColumn.d.ts.map +1 -0
  379. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/hasGeometryColumn.js +24 -0
  380. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/index.d.ts.map +1 -0
  381. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/keepNumericalColumns.d.ts.map +1 -0
  382. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/logData.d.ts.map +1 -0
  383. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/mergeOptions.d.ts.map +1 -0
  384. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/nestQuery.d.ts.map +1 -0
  385. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/parseDuckDBType.d.ts.map +1 -0
  386. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/parseTypes.d.ts.map +1 -0
  387. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/parseValue.d.ts.map +1 -0
  388. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/prettyDuration.d.ts.map +1 -0
  389. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/printTable.d.ts.map +1 -0
  390. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/queryDB.d.ts.map +1 -0
  391. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/rewind.d.ts.map +1 -0
  392. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/runQuery.d.ts.map +1 -0
  393. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/setDbProps.d.ts.map +1 -0
  394. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/shouldFlipBeforeExport.d.ts.map +1 -0
  395. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/stringToArray.d.ts.map +1 -0
  396. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/stringifyDates.d.ts.map +1 -0
  397. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/stringifyDatesInvert.d.ts.map +1 -0
  398. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/unifyColumns.d.ts.map +1 -0
  399. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/unnestQuery.d.ts.map +1 -0
  400. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/wrapString.d.ts.map +1 -0
  401. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/writeDataAsArrays.d.ts.map +1 -0
  402. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/writeGeoData.d.ts +9 -0
  403. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/writeGeoData.d.ts.map +1 -0
  404. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/writeGeoData.js +116 -0
  405. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/helpers/writeProjectionsAndIndexes.d.ts.map +1 -0
  406. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/index.d.ts +31 -0
  407. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/index.d.ts.map +1 -0
  408. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/index.js +38 -0
  409. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/aggregateGeoQuery.d.ts.map +1 -0
  410. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/binsQuery.d.ts.map +1 -0
  411. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/bm25.d.ts.map +1 -0
  412. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/cache.d.ts.map +1 -0
  413. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/capitalizeQuery.d.ts.map +1 -0
  414. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/cloneColumn.d.ts.map +1 -0
  415. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/cloneQuery.d.ts.map +1 -0
  416. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/concatenateQuery.d.ts.map +1 -0
  417. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/convertQuery.d.ts.map +1 -0
  418. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/correlations.d.ts.map +1 -0
  419. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/correlationsQuery.d.ts.map +1 -0
  420. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/createFtsIndex.d.ts.map +1 -0
  421. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/createVssIndex.d.ts.map +1 -0
  422. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/crossJoinQuery.d.ts.map +1 -0
  423. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/distanceQuery.d.ts.map +1 -0
  424. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/fill.d.ts.map +1 -0
  425. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/fill.js +66 -0
  426. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/fuzzyClean.d.ts +7 -0
  427. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/fuzzyClean.d.ts.map +1 -0
  428. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/fuzzyClean.js +219 -0
  429. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/fuzzyJoin.d.ts +8 -0
  430. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/fuzzyJoin.d.ts.map +1 -0
  431. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/fuzzyJoin.js +63 -0
  432. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/fuzzyJoinQuery.d.ts +2 -0
  433. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/fuzzyJoinQuery.d.ts.map +1 -0
  434. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/fuzzyJoinQuery.js +32 -0
  435. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/getBottom.d.ts.map +1 -0
  436. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/getColumns.d.ts.map +1 -0
  437. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/getDescription.d.ts.map +1 -0
  438. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/getFirstRow.d.ts.map +1 -0
  439. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/getGeoData.d.ts.map +1 -0
  440. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/getLastRow.d.ts.map +1 -0
  441. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/getMax.d.ts.map +1 -0
  442. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/getMean.d.ts.map +1 -0
  443. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/getMedian.d.ts.map +1 -0
  444. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/getMin.d.ts.map +1 -0
  445. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/getNbCharacters.d.ts.map +1 -0
  446. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/getNbRows.d.ts.map +1 -0
  447. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/getQuantile.d.ts.map +1 -0
  448. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/getSkew.d.ts.map +1 -0
  449. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/getStdDev.d.ts.map +1 -0
  450. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/getSum.d.ts.map +1 -0
  451. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/getTableNames.d.ts.map +1 -0
  452. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/getTop.d.ts.map +1 -0
  453. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/getTypes.d.ts.map +1 -0
  454. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/getUniques.d.ts.map +1 -0
  455. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/getValues.d.ts.map +1 -0
  456. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/getVar.d.ts.map +1 -0
  457. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/insertRowsQuery.d.ts.map +1 -0
  458. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/join.d.ts.map +1 -0
  459. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/joinGeo.d.ts.map +1 -0
  460. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/joinGeoQuery.d.ts.map +1 -0
  461. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/joinQuery.d.ts.map +1 -0
  462. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/keepQuery.d.ts.map +1 -0
  463. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/linearRegressionQuery.d.ts.map +1 -0
  464. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/linearRegressions.d.ts.map +1 -0
  465. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/loadArray.d.ts.map +1 -0
  466. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/loadDataQuery.d.ts +24 -0
  467. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/loadDataQuery.d.ts.map +1 -0
  468. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/loadDataQuery.js +91 -0
  469. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/lowerQuery.d.ts.map +1 -0
  470. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/normalizeQuery.d.ts.map +1 -0
  471. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/normalizeString.d.ts.map +1 -0
  472. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/outliersIQRQuery.d.ts.map +1 -0
  473. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/padQuery.d.ts +5 -0
  474. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/padQuery.d.ts.map +1 -0
  475. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/padQuery.js +17 -0
  476. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/proportionsHorizontalQuery.d.ts.map +1 -0
  477. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/proportionsVerticalQuery.d.ts.map +1 -0
  478. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/quantilesQuery.d.ts.map +1 -0
  479. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/ranksQuery.d.ts.map +1 -0
  480. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/removeDuplicatesQuery.d.ts.map +1 -0
  481. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/removeMissing.d.ts.map +1 -0
  482. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/removeMissingQuery.d.ts.map +1 -0
  483. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/removeQuery.d.ts.map +1 -0
  484. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/renameColumnQuery.d.ts.map +1 -0
  485. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/replaceNullsQuery.d.ts.map +1 -0
  486. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/replaceQuery.d.ts.map +1 -0
  487. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/rollingQuery.d.ts.map +1 -0
  488. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/roundQuery.d.ts.map +1 -0
  489. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/selectRowsQuery.d.ts.map +1 -0
  490. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/sortQuery.d.ts.map +1 -0
  491. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/splitSpread.d.ts.map +1 -0
  492. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/summarize.d.ts.map +1 -0
  493. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/summarizeQuery.d.ts.map +1 -0
  494. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/trimQuery.d.ts.map +1 -0
  495. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/truncateQuery.d.ts.map +1 -0
  496. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/upperQuery.d.ts.map +1 -0
  497. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/writeDataQuery.d.ts.map +1 -0
  498. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/writeGeoDataQuery.d.ts.map +1 -0
  499. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/writeGeoDataQuery.js +25 -0
  500. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.21/src/methods/zScoreQuery.d.ts.map +1 -0
  501. package/script/helpers/cleanDatavizGlobals.d.ts +2 -0
  502. package/script/helpers/cleanDatavizGlobals.d.ts.map +1 -0
  503. package/script/helpers/cleanDatavizGlobals.js +230 -0
  504. package/script/helpers/sleep.js +1 -1
  505. package/script/helpers/tryAI.js +1 -1
  506. package/script/helpers/tryEmbedding.js +1 -1
  507. package/script/index.d.ts +1 -0
  508. package/script/index.d.ts.map +1 -1
  509. package/script/index.js +6 -5
  510. package/script/methods/aiEmbeddings.js +1 -1
  511. package/script/methods/aiQuery.js +1 -1
  512. package/script/methods/aiRAG.js +2 -2
  513. package/script/methods/aiRowByRow.js +2 -2
  514. package/script/methods/aiRowByRowPool.js +1 -1
  515. package/script/methods/aiVectorSimilarity.js +2 -2
  516. package/script/methods/hybridSearch.js +2 -2
  517. package/script/methods/logHistogram.js +1 -1
  518. package/esm/deps/jsr.io/@nshiab/journalism-ai/1.2.20/src/ai/askAI.d.ts.map +0 -1
  519. package/esm/deps/jsr.io/@nshiab/journalism-ai/1.2.20/src/ai/askAI.js +0 -755
  520. package/esm/deps/jsr.io/@nshiab/journalism-ai/1.2.20/src/ai/askAIPool.d.ts.map +0 -1
  521. package/esm/deps/jsr.io/@nshiab/journalism-ai/1.2.20/src/ai/askAIPool.js +0 -229
  522. package/esm/deps/jsr.io/@nshiab/journalism-ai/1.2.20/src/ai/getEmbedding.d.ts.map +0 -1
  523. package/esm/deps/jsr.io/@nshiab/journalism-ai/1.2.20/src/ai/getEmbedding.js +0 -166
  524. package/esm/deps/jsr.io/@nshiab/journalism-ai/1.2.20/src/ai/helpers/sleep.d.ts.map +0 -1
  525. package/esm/deps/jsr.io/@nshiab/journalism-ai/1.2.20/src/index.d.ts +0 -6
  526. package/esm/deps/jsr.io/@nshiab/journalism-ai/1.2.20/src/index.d.ts.map +0 -1
  527. package/esm/deps/jsr.io/@nshiab/journalism-ai/1.2.20/src/index.js +0 -4
  528. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/helpers/addDots.d.ts.map +0 -1
  529. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/helpers/addLines.d.ts.map +0 -1
  530. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/helpers/drawChart.d.ts +0 -33
  531. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/helpers/drawChart.d.ts.map +0 -1
  532. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/helpers/getAxisX.d.ts.map +0 -1
  533. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/helpers/getAxisX.js +0 -45
  534. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/helpers/getAxisY.d.ts +0 -14
  535. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/helpers/getAxisY.d.ts.map +0 -1
  536. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/helpers/getChartData.d.ts.map +0 -1
  537. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/helpers/getColors.d.ts.map +0 -1
  538. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/helpers/makeBars.d.ts +0 -17
  539. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/helpers/makeBars.d.ts.map +0 -1
  540. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/helpers/makeBars.js +0 -65
  541. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/helpers/prepChart.d.ts +0 -17
  542. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/helpers/prepChart.d.ts.map +0 -1
  543. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/helpers/prepChart.js +0 -156
  544. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/helpers/validateDataTypes.d.ts.map +0 -1
  545. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/logBarChart.d.ts +0 -54
  546. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/logBarChart.d.ts.map +0 -1
  547. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/logBarChart.js +0 -67
  548. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/logDotChart.d.ts +0 -78
  549. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/logDotChart.d.ts.map +0 -1
  550. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/logDotChart.js +0 -91
  551. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/logLineChart.d.ts +0 -77
  552. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/logLineChart.d.ts.map +0 -1
  553. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/logLineChart.js +0 -90
  554. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/publishChartDW.d.ts.map +0 -1
  555. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/rewind.d.ts.map +0 -1
  556. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/saveChart.d.ts.map +0 -1
  557. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/saveChart.js +0 -562
  558. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/updateAnnotationsDW.d.ts.map +0 -1
  559. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/updateDataDW.d.ts.map +0 -1
  560. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/updateNotesDW.d.ts.map +0 -1
  561. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/index.d.ts +0 -11
  562. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/index.d.ts.map +0 -1
  563. package/esm/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/index.js +0 -10
  564. package/esm/deps/jsr.io/@nshiab/journalism-format/1.1.8/src/format/arraysToData.d.ts.map +0 -1
  565. package/esm/deps/jsr.io/@nshiab/journalism-format/1.1.8/src/format/camelCase.d.ts.map +0 -1
  566. package/esm/deps/jsr.io/@nshiab/journalism-format/1.1.8/src/format/capitalize.d.ts.map +0 -1
  567. package/esm/deps/jsr.io/@nshiab/journalism-format/1.1.8/src/format/dataAsCsv.d.ts.map +0 -1
  568. package/esm/deps/jsr.io/@nshiab/journalism-format/1.1.8/src/format/dataToArrays.d.ts.map +0 -1
  569. package/esm/deps/jsr.io/@nshiab/journalism-format/1.1.8/src/format/formatDate.d.ts.map +0 -1
  570. package/esm/deps/jsr.io/@nshiab/journalism-format/1.1.8/src/format/formatNumber.d.ts.map +0 -1
  571. package/esm/deps/jsr.io/@nshiab/journalism-format/1.1.8/src/format/helpers/dateToCBCStyle.d.ts.map +0 -1
  572. package/esm/deps/jsr.io/@nshiab/journalism-format/1.1.8/src/format/helpers/dateToRCStyle.d.ts.map +0 -1
  573. package/esm/deps/jsr.io/@nshiab/journalism-format/1.1.8/src/format/helpers/isValidDate.d.ts.map +0 -1
  574. package/esm/deps/jsr.io/@nshiab/journalism-format/1.1.8/src/format/helpers/transformPositionToCbcStyle.d.ts.map +0 -1
  575. package/esm/deps/jsr.io/@nshiab/journalism-format/1.1.8/src/format/helpers/transformPositionToRcStyle.d.ts.map +0 -1
  576. package/esm/deps/jsr.io/@nshiab/journalism-format/1.1.8/src/format/helpers/wrapString.d.ts.map +0 -1
  577. package/esm/deps/jsr.io/@nshiab/journalism-format/1.1.8/src/format/normalizeString.d.ts.map +0 -1
  578. package/esm/deps/jsr.io/@nshiab/journalism-format/1.1.8/src/format/prettyDuration.d.ts.map +0 -1
  579. package/esm/deps/jsr.io/@nshiab/journalism-format/1.1.8/src/format/printTable.d.ts.map +0 -1
  580. package/esm/deps/jsr.io/@nshiab/journalism-format/1.1.8/src/format/round.d.ts.map +0 -1
  581. package/esm/deps/jsr.io/@nshiab/journalism-format/1.1.8/src/index.d.ts +0 -13
  582. package/esm/deps/jsr.io/@nshiab/journalism-format/1.1.8/src/index.d.ts.map +0 -1
  583. package/esm/deps/jsr.io/@nshiab/journalism-format/1.1.8/src/index.js +0 -12
  584. package/esm/deps/jsr.io/@nshiab/journalism-google/1.0.9/src/google/addSheetRows.d.ts.map +0 -1
  585. package/esm/deps/jsr.io/@nshiab/journalism-google/1.0.9/src/google/deleteFromBucket.d.ts.map +0 -1
  586. package/esm/deps/jsr.io/@nshiab/journalism-google/1.0.9/src/google/downloadFromBucket.d.ts.map +0 -1
  587. package/esm/deps/jsr.io/@nshiab/journalism-google/1.0.9/src/google/filesInBucket.d.ts.map +0 -1
  588. package/esm/deps/jsr.io/@nshiab/journalism-google/1.0.9/src/google/getSheetData.d.ts.map +0 -1
  589. package/esm/deps/jsr.io/@nshiab/journalism-google/1.0.9/src/google/helpers/cleanData.d.ts.map +0 -1
  590. package/esm/deps/jsr.io/@nshiab/journalism-google/1.0.9/src/google/helpers/logToSheet.d.ts.map +0 -1
  591. package/esm/deps/jsr.io/@nshiab/journalism-google/1.0.9/src/google/inBucket.d.ts.map +0 -1
  592. package/esm/deps/jsr.io/@nshiab/journalism-google/1.0.9/src/google/overwriteSheetData.d.ts.map +0 -1
  593. package/esm/deps/jsr.io/@nshiab/journalism-google/1.0.9/src/google/overwriteSheetData.js +0 -116
  594. package/esm/deps/jsr.io/@nshiab/journalism-google/1.0.9/src/google/toBucket.d.ts.map +0 -1
  595. package/esm/deps/jsr.io/@nshiab/journalism-google/1.0.9/src/index.d.ts +0 -10
  596. package/esm/deps/jsr.io/@nshiab/journalism-google/1.0.9/src/index.d.ts.map +0 -1
  597. package/esm/deps/jsr.io/@nshiab/journalism-google/1.0.9/src/index.js +0 -9
  598. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/class/Simple.d.ts.map +0 -1
  599. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/class/SimpleDB.d.ts.map +0 -1
  600. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/class/SimpleTable.d.ts +0 -4408
  601. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/class/SimpleTable.d.ts.map +0 -1
  602. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/class/SimpleTable.js +0 -5401
  603. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/accumulateQuery.d.ts.map +0 -1
  604. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/camelCase.d.ts.map +0 -1
  605. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/capitalize.d.ts.map +0 -1
  606. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/checkVssIndexes.d.ts.map +0 -1
  607. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/cleanCache.d.ts.map +0 -1
  608. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/cleanPath.d.ts.map +0 -1
  609. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/cleanSQL.d.ts.map +0 -1
  610. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/concatenateRowQuery.d.ts.map +0 -1
  611. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/convertForJS.d.ts.map +0 -1
  612. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/createDirectory.d.ts.map +0 -1
  613. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/csvFormat.d.ts.map +0 -1
  614. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/dataToArrays.d.ts.map +0 -1
  615. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/extractTypes.d.ts.map +0 -1
  616. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/findGeoColumn.d.ts.map +0 -1
  617. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/findGeoColumn.js +0 -18
  618. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/formatDate.d.ts.map +0 -1
  619. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/formatNumber.d.ts.map +0 -1
  620. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/getCombinations.d.ts.map +0 -1
  621. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/getExtension.d.ts.map +0 -1
  622. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/getIdenticalColumns.d.ts.map +0 -1
  623. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/getName.d.ts.map +0 -1
  624. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/getProjection.d.ts.map +0 -1
  625. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/getProjection.js +0 -22
  626. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/getProjectionParquet.d.ts.map +0 -1
  627. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/index.d.ts.map +0 -1
  628. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/keepNumericalColumns.d.ts.map +0 -1
  629. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/logData.d.ts.map +0 -1
  630. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/mergeOptions.d.ts.map +0 -1
  631. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/nestQuery.d.ts.map +0 -1
  632. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/parseDuckDBType.d.ts.map +0 -1
  633. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/parseTypes.d.ts.map +0 -1
  634. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/parseValue.d.ts.map +0 -1
  635. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/prettyDuration.d.ts.map +0 -1
  636. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/printTable.d.ts.map +0 -1
  637. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/queryDB.d.ts.map +0 -1
  638. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/rewind.d.ts.map +0 -1
  639. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/runQuery.d.ts.map +0 -1
  640. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/setDbProps.d.ts.map +0 -1
  641. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/shouldFlipBeforeExport.d.ts.map +0 -1
  642. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/stringToArray.d.ts.map +0 -1
  643. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/stringifyDates.d.ts.map +0 -1
  644. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/stringifyDatesInvert.d.ts.map +0 -1
  645. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/unifyColumns.d.ts.map +0 -1
  646. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/unnestQuery.d.ts.map +0 -1
  647. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/wrapString.d.ts.map +0 -1
  648. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/writeDataAsArrays.d.ts.map +0 -1
  649. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/writeProjectionsAndIndexes.d.ts.map +0 -1
  650. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/index.d.ts +0 -31
  651. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/index.d.ts.map +0 -1
  652. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/index.js +0 -30
  653. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/aggregateGeoQuery.d.ts.map +0 -1
  654. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/binsQuery.d.ts.map +0 -1
  655. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/bm25.d.ts.map +0 -1
  656. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/cache.d.ts.map +0 -1
  657. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/capitalizeQuery.d.ts.map +0 -1
  658. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/cloneColumn.d.ts.map +0 -1
  659. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/cloneQuery.d.ts.map +0 -1
  660. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/concatenateQuery.d.ts.map +0 -1
  661. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/convertQuery.d.ts.map +0 -1
  662. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/correlations.d.ts.map +0 -1
  663. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/correlationsQuery.d.ts.map +0 -1
  664. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/createFtsIndex.d.ts.map +0 -1
  665. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/createVssIndex.d.ts.map +0 -1
  666. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/crossJoinQuery.d.ts.map +0 -1
  667. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/distanceQuery.d.ts.map +0 -1
  668. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/fill.d.ts.map +0 -1
  669. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/fill.js +0 -60
  670. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/fuzzyClean.d.ts +0 -7
  671. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/fuzzyClean.d.ts.map +0 -1
  672. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/fuzzyClean.js +0 -194
  673. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/fuzzyJoin.d.ts +0 -8
  674. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/fuzzyJoin.d.ts.map +0 -1
  675. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/fuzzyJoin.js +0 -57
  676. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/fuzzyJoinQuery.d.ts +0 -2
  677. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/fuzzyJoinQuery.d.ts.map +0 -1
  678. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/fuzzyJoinQuery.js +0 -19
  679. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/getBottom.d.ts.map +0 -1
  680. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/getColumns.d.ts.map +0 -1
  681. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/getDescription.d.ts.map +0 -1
  682. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/getFirstRow.d.ts.map +0 -1
  683. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/getGeoData.d.ts.map +0 -1
  684. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/getLastRow.d.ts.map +0 -1
  685. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/getMax.d.ts.map +0 -1
  686. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/getMean.d.ts.map +0 -1
  687. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/getMedian.d.ts.map +0 -1
  688. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/getMin.d.ts.map +0 -1
  689. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/getNbCharacters.d.ts.map +0 -1
  690. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/getNbRows.d.ts.map +0 -1
  691. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/getQuantile.d.ts.map +0 -1
  692. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/getSkew.d.ts.map +0 -1
  693. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/getStdDev.d.ts.map +0 -1
  694. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/getSum.d.ts.map +0 -1
  695. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/getTableNames.d.ts.map +0 -1
  696. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/getTop.d.ts.map +0 -1
  697. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/getTypes.d.ts.map +0 -1
  698. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/getUniques.d.ts.map +0 -1
  699. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/getValues.d.ts.map +0 -1
  700. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/getVar.d.ts.map +0 -1
  701. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/insertRowsQuery.d.ts.map +0 -1
  702. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/join.d.ts.map +0 -1
  703. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/joinGeo.d.ts.map +0 -1
  704. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/joinGeoQuery.d.ts.map +0 -1
  705. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/joinQuery.d.ts.map +0 -1
  706. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/keepQuery.d.ts.map +0 -1
  707. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/linearRegressionQuery.d.ts.map +0 -1
  708. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/linearRegressions.d.ts.map +0 -1
  709. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/loadArray.d.ts.map +0 -1
  710. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/loadDataQuery.d.ts +0 -23
  711. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/loadDataQuery.d.ts.map +0 -1
  712. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/loadDataQuery.js +0 -77
  713. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/lowerQuery.d.ts.map +0 -1
  714. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/normalizeQuery.d.ts.map +0 -1
  715. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/normalizeString.d.ts.map +0 -1
  716. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/outliersIQRQuery.d.ts.map +0 -1
  717. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/proportionsHorizontalQuery.d.ts.map +0 -1
  718. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/proportionsVerticalQuery.d.ts.map +0 -1
  719. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/quantilesQuery.d.ts.map +0 -1
  720. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/ranksQuery.d.ts.map +0 -1
  721. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/removeDuplicatesQuery.d.ts.map +0 -1
  722. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/removeMissing.d.ts.map +0 -1
  723. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/removeMissingQuery.d.ts.map +0 -1
  724. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/removeQuery.d.ts.map +0 -1
  725. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/renameColumnQuery.d.ts.map +0 -1
  726. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/replaceNullsQuery.d.ts.map +0 -1
  727. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/replaceQuery.d.ts.map +0 -1
  728. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/rollingQuery.d.ts.map +0 -1
  729. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/roundQuery.d.ts.map +0 -1
  730. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/selectRowsQuery.d.ts.map +0 -1
  731. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/sortQuery.d.ts.map +0 -1
  732. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/splitSpread.d.ts.map +0 -1
  733. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/summarize.d.ts.map +0 -1
  734. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/summarizeQuery.d.ts.map +0 -1
  735. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/trimQuery.d.ts.map +0 -1
  736. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/truncateQuery.d.ts.map +0 -1
  737. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/upperQuery.d.ts.map +0 -1
  738. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/writeDataQuery.d.ts.map +0 -1
  739. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/writeGeoDataQuery.d.ts.map +0 -1
  740. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/writeGeoDataQuery.js +0 -16
  741. package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/zScoreQuery.d.ts.map +0 -1
  742. package/script/deps/jsr.io/@nshiab/journalism-ai/1.2.20/src/ai/askAI.d.ts.map +0 -1
  743. package/script/deps/jsr.io/@nshiab/journalism-ai/1.2.20/src/ai/askAI.js +0 -794
  744. package/script/deps/jsr.io/@nshiab/journalism-ai/1.2.20/src/ai/askAIPool.d.ts.map +0 -1
  745. package/script/deps/jsr.io/@nshiab/journalism-ai/1.2.20/src/ai/askAIPool.js +0 -235
  746. package/script/deps/jsr.io/@nshiab/journalism-ai/1.2.20/src/ai/getEmbedding.d.ts.map +0 -1
  747. package/script/deps/jsr.io/@nshiab/journalism-ai/1.2.20/src/ai/getEmbedding.js +0 -205
  748. package/script/deps/jsr.io/@nshiab/journalism-ai/1.2.20/src/ai/helpers/sleep.d.ts.map +0 -1
  749. package/script/deps/jsr.io/@nshiab/journalism-ai/1.2.20/src/index.d.ts +0 -6
  750. package/script/deps/jsr.io/@nshiab/journalism-ai/1.2.20/src/index.d.ts.map +0 -1
  751. package/script/deps/jsr.io/@nshiab/journalism-ai/1.2.20/src/index.js +0 -12
  752. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/helpers/addDots.d.ts.map +0 -1
  753. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/helpers/addLines.d.ts.map +0 -1
  754. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/helpers/drawChart.d.ts +0 -33
  755. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/helpers/drawChart.d.ts.map +0 -1
  756. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/helpers/getAxisX.d.ts.map +0 -1
  757. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/helpers/getAxisX.js +0 -48
  758. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/helpers/getAxisY.d.ts +0 -14
  759. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/helpers/getAxisY.d.ts.map +0 -1
  760. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/helpers/getChartData.d.ts.map +0 -1
  761. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/helpers/getColors.d.ts.map +0 -1
  762. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/helpers/makeBars.d.ts +0 -17
  763. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/helpers/makeBars.d.ts.map +0 -1
  764. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/helpers/makeBars.js +0 -68
  765. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/helpers/prepChart.d.ts +0 -17
  766. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/helpers/prepChart.d.ts.map +0 -1
  767. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/helpers/prepChart.js +0 -162
  768. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/helpers/validateDataTypes.d.ts.map +0 -1
  769. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/logBarChart.d.ts +0 -54
  770. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/logBarChart.d.ts.map +0 -1
  771. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/logBarChart.js +0 -73
  772. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/logDotChart.d.ts +0 -78
  773. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/logDotChart.d.ts.map +0 -1
  774. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/logDotChart.js +0 -97
  775. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/logLineChart.d.ts +0 -77
  776. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/logLineChart.d.ts.map +0 -1
  777. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/logLineChart.js +0 -96
  778. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/publishChartDW.d.ts.map +0 -1
  779. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/rewind.d.ts.map +0 -1
  780. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/saveChart.d.ts.map +0 -1
  781. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/saveChart.js +0 -598
  782. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/updateAnnotationsDW.d.ts.map +0 -1
  783. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/updateDataDW.d.ts.map +0 -1
  784. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/dataviz/updateNotesDW.d.ts.map +0 -1
  785. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/index.d.ts +0 -11
  786. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/index.d.ts.map +0 -1
  787. package/script/deps/jsr.io/@nshiab/journalism-dataviz/1.0.13/src/index.js +0 -24
  788. package/script/deps/jsr.io/@nshiab/journalism-format/1.1.8/src/format/arraysToData.d.ts.map +0 -1
  789. package/script/deps/jsr.io/@nshiab/journalism-format/1.1.8/src/format/camelCase.d.ts.map +0 -1
  790. package/script/deps/jsr.io/@nshiab/journalism-format/1.1.8/src/format/capitalize.d.ts.map +0 -1
  791. package/script/deps/jsr.io/@nshiab/journalism-format/1.1.8/src/format/dataAsCsv.d.ts.map +0 -1
  792. package/script/deps/jsr.io/@nshiab/journalism-format/1.1.8/src/format/dataToArrays.d.ts.map +0 -1
  793. package/script/deps/jsr.io/@nshiab/journalism-format/1.1.8/src/format/formatDate.d.ts.map +0 -1
  794. package/script/deps/jsr.io/@nshiab/journalism-format/1.1.8/src/format/formatNumber.d.ts.map +0 -1
  795. package/script/deps/jsr.io/@nshiab/journalism-format/1.1.8/src/format/helpers/dateToCBCStyle.d.ts.map +0 -1
  796. package/script/deps/jsr.io/@nshiab/journalism-format/1.1.8/src/format/helpers/dateToRCStyle.d.ts.map +0 -1
  797. package/script/deps/jsr.io/@nshiab/journalism-format/1.1.8/src/format/helpers/isValidDate.d.ts.map +0 -1
  798. package/script/deps/jsr.io/@nshiab/journalism-format/1.1.8/src/format/helpers/transformPositionToCbcStyle.d.ts.map +0 -1
  799. package/script/deps/jsr.io/@nshiab/journalism-format/1.1.8/src/format/helpers/transformPositionToRcStyle.d.ts.map +0 -1
  800. package/script/deps/jsr.io/@nshiab/journalism-format/1.1.8/src/format/helpers/wrapString.d.ts.map +0 -1
  801. package/script/deps/jsr.io/@nshiab/journalism-format/1.1.8/src/format/normalizeString.d.ts.map +0 -1
  802. package/script/deps/jsr.io/@nshiab/journalism-format/1.1.8/src/format/prettyDuration.d.ts.map +0 -1
  803. package/script/deps/jsr.io/@nshiab/journalism-format/1.1.8/src/format/printTable.d.ts.map +0 -1
  804. package/script/deps/jsr.io/@nshiab/journalism-format/1.1.8/src/format/round.d.ts.map +0 -1
  805. package/script/deps/jsr.io/@nshiab/journalism-format/1.1.8/src/index.d.ts +0 -13
  806. package/script/deps/jsr.io/@nshiab/journalism-format/1.1.8/src/index.d.ts.map +0 -1
  807. package/script/deps/jsr.io/@nshiab/journalism-format/1.1.8/src/index.js +0 -28
  808. package/script/deps/jsr.io/@nshiab/journalism-google/1.0.9/src/google/addSheetRows.d.ts.map +0 -1
  809. package/script/deps/jsr.io/@nshiab/journalism-google/1.0.9/src/google/deleteFromBucket.d.ts.map +0 -1
  810. package/script/deps/jsr.io/@nshiab/journalism-google/1.0.9/src/google/downloadFromBucket.d.ts.map +0 -1
  811. package/script/deps/jsr.io/@nshiab/journalism-google/1.0.9/src/google/filesInBucket.d.ts.map +0 -1
  812. package/script/deps/jsr.io/@nshiab/journalism-google/1.0.9/src/google/getSheetData.d.ts.map +0 -1
  813. package/script/deps/jsr.io/@nshiab/journalism-google/1.0.9/src/google/helpers/cleanData.d.ts.map +0 -1
  814. package/script/deps/jsr.io/@nshiab/journalism-google/1.0.9/src/google/helpers/logToSheet.d.ts.map +0 -1
  815. package/script/deps/jsr.io/@nshiab/journalism-google/1.0.9/src/google/inBucket.d.ts.map +0 -1
  816. package/script/deps/jsr.io/@nshiab/journalism-google/1.0.9/src/google/overwriteSheetData.d.ts.map +0 -1
  817. package/script/deps/jsr.io/@nshiab/journalism-google/1.0.9/src/google/overwriteSheetData.js +0 -122
  818. package/script/deps/jsr.io/@nshiab/journalism-google/1.0.9/src/google/toBucket.d.ts.map +0 -1
  819. package/script/deps/jsr.io/@nshiab/journalism-google/1.0.9/src/index.d.ts +0 -10
  820. package/script/deps/jsr.io/@nshiab/journalism-google/1.0.9/src/index.d.ts.map +0 -1
  821. package/script/deps/jsr.io/@nshiab/journalism-google/1.0.9/src/index.js +0 -22
  822. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/class/Simple.d.ts.map +0 -1
  823. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/class/SimpleDB.d.ts.map +0 -1
  824. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/class/SimpleTable.d.ts +0 -4408
  825. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/class/SimpleTable.d.ts.map +0 -1
  826. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/class/SimpleTable.js +0 -5407
  827. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/accumulateQuery.d.ts.map +0 -1
  828. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/camelCase.d.ts.map +0 -1
  829. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/capitalize.d.ts.map +0 -1
  830. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/checkVssIndexes.d.ts.map +0 -1
  831. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/cleanCache.d.ts.map +0 -1
  832. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/cleanPath.d.ts.map +0 -1
  833. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/cleanSQL.d.ts.map +0 -1
  834. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/concatenateRowQuery.d.ts.map +0 -1
  835. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/convertForJS.d.ts.map +0 -1
  836. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/createDirectory.d.ts.map +0 -1
  837. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/csvFormat.d.ts.map +0 -1
  838. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/dataToArrays.d.ts.map +0 -1
  839. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/extractTypes.d.ts.map +0 -1
  840. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/findGeoColumn.d.ts.map +0 -1
  841. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/findGeoColumn.js +0 -21
  842. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/formatDate.d.ts.map +0 -1
  843. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/formatNumber.d.ts.map +0 -1
  844. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/getCombinations.d.ts.map +0 -1
  845. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/getExtension.d.ts.map +0 -1
  846. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/getIdenticalColumns.d.ts.map +0 -1
  847. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/getName.d.ts.map +0 -1
  848. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/getProjection.d.ts.map +0 -1
  849. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/getProjection.js +0 -28
  850. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/getProjectionParquet.d.ts.map +0 -1
  851. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/index.d.ts.map +0 -1
  852. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/keepNumericalColumns.d.ts.map +0 -1
  853. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/logData.d.ts.map +0 -1
  854. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/mergeOptions.d.ts.map +0 -1
  855. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/nestQuery.d.ts.map +0 -1
  856. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/parseDuckDBType.d.ts.map +0 -1
  857. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/parseTypes.d.ts.map +0 -1
  858. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/parseValue.d.ts.map +0 -1
  859. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/prettyDuration.d.ts.map +0 -1
  860. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/printTable.d.ts.map +0 -1
  861. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/queryDB.d.ts.map +0 -1
  862. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/rewind.d.ts.map +0 -1
  863. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/runQuery.d.ts.map +0 -1
  864. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/setDbProps.d.ts.map +0 -1
  865. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/shouldFlipBeforeExport.d.ts.map +0 -1
  866. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/stringToArray.d.ts.map +0 -1
  867. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/stringifyDates.d.ts.map +0 -1
  868. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/stringifyDatesInvert.d.ts.map +0 -1
  869. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/unifyColumns.d.ts.map +0 -1
  870. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/unnestQuery.d.ts.map +0 -1
  871. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/wrapString.d.ts.map +0 -1
  872. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/writeDataAsArrays.d.ts.map +0 -1
  873. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/helpers/writeProjectionsAndIndexes.d.ts.map +0 -1
  874. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/index.d.ts +0 -31
  875. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/index.d.ts.map +0 -1
  876. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/index.js +0 -38
  877. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/aggregateGeoQuery.d.ts.map +0 -1
  878. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/binsQuery.d.ts.map +0 -1
  879. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/bm25.d.ts.map +0 -1
  880. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/cache.d.ts.map +0 -1
  881. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/capitalizeQuery.d.ts.map +0 -1
  882. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/cloneColumn.d.ts.map +0 -1
  883. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/cloneQuery.d.ts.map +0 -1
  884. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/concatenateQuery.d.ts.map +0 -1
  885. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/convertQuery.d.ts.map +0 -1
  886. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/correlations.d.ts.map +0 -1
  887. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/correlationsQuery.d.ts.map +0 -1
  888. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/createFtsIndex.d.ts.map +0 -1
  889. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/createVssIndex.d.ts.map +0 -1
  890. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/crossJoinQuery.d.ts.map +0 -1
  891. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/distanceQuery.d.ts.map +0 -1
  892. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/fill.d.ts.map +0 -1
  893. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/fill.js +0 -66
  894. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/fuzzyClean.d.ts +0 -7
  895. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/fuzzyClean.d.ts.map +0 -1
  896. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/fuzzyClean.js +0 -200
  897. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/fuzzyJoin.d.ts +0 -8
  898. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/fuzzyJoin.d.ts.map +0 -1
  899. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/fuzzyJoin.js +0 -63
  900. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/fuzzyJoinQuery.d.ts +0 -2
  901. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/fuzzyJoinQuery.d.ts.map +0 -1
  902. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/fuzzyJoinQuery.js +0 -22
  903. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/getBottom.d.ts.map +0 -1
  904. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/getColumns.d.ts.map +0 -1
  905. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/getDescription.d.ts.map +0 -1
  906. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/getFirstRow.d.ts.map +0 -1
  907. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/getGeoData.d.ts.map +0 -1
  908. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/getLastRow.d.ts.map +0 -1
  909. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/getMax.d.ts.map +0 -1
  910. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/getMean.d.ts.map +0 -1
  911. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/getMedian.d.ts.map +0 -1
  912. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/getMin.d.ts.map +0 -1
  913. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/getNbCharacters.d.ts.map +0 -1
  914. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/getNbRows.d.ts.map +0 -1
  915. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/getQuantile.d.ts.map +0 -1
  916. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/getSkew.d.ts.map +0 -1
  917. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/getStdDev.d.ts.map +0 -1
  918. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/getSum.d.ts.map +0 -1
  919. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/getTableNames.d.ts.map +0 -1
  920. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/getTop.d.ts.map +0 -1
  921. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/getTypes.d.ts.map +0 -1
  922. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/getUniques.d.ts.map +0 -1
  923. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/getValues.d.ts.map +0 -1
  924. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/getVar.d.ts.map +0 -1
  925. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/insertRowsQuery.d.ts.map +0 -1
  926. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/join.d.ts.map +0 -1
  927. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/joinGeo.d.ts.map +0 -1
  928. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/joinGeoQuery.d.ts.map +0 -1
  929. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/joinQuery.d.ts.map +0 -1
  930. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/keepQuery.d.ts.map +0 -1
  931. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/linearRegressionQuery.d.ts.map +0 -1
  932. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/linearRegressions.d.ts.map +0 -1
  933. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/loadArray.d.ts.map +0 -1
  934. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/loadDataQuery.d.ts +0 -23
  935. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/loadDataQuery.d.ts.map +0 -1
  936. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/loadDataQuery.js +0 -83
  937. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/lowerQuery.d.ts.map +0 -1
  938. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/normalizeQuery.d.ts.map +0 -1
  939. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/normalizeString.d.ts.map +0 -1
  940. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/outliersIQRQuery.d.ts.map +0 -1
  941. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/proportionsHorizontalQuery.d.ts.map +0 -1
  942. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/proportionsVerticalQuery.d.ts.map +0 -1
  943. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/quantilesQuery.d.ts.map +0 -1
  944. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/ranksQuery.d.ts.map +0 -1
  945. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/removeDuplicatesQuery.d.ts.map +0 -1
  946. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/removeMissing.d.ts.map +0 -1
  947. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/removeMissingQuery.d.ts.map +0 -1
  948. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/removeQuery.d.ts.map +0 -1
  949. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/renameColumnQuery.d.ts.map +0 -1
  950. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/replaceNullsQuery.d.ts.map +0 -1
  951. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/replaceQuery.d.ts.map +0 -1
  952. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/rollingQuery.d.ts.map +0 -1
  953. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/roundQuery.d.ts.map +0 -1
  954. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/selectRowsQuery.d.ts.map +0 -1
  955. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/sortQuery.d.ts.map +0 -1
  956. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/splitSpread.d.ts.map +0 -1
  957. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/summarize.d.ts.map +0 -1
  958. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/summarizeQuery.d.ts.map +0 -1
  959. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/trimQuery.d.ts.map +0 -1
  960. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/truncateQuery.d.ts.map +0 -1
  961. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/upperQuery.d.ts.map +0 -1
  962. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/writeDataQuery.d.ts.map +0 -1
  963. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/writeGeoDataQuery.d.ts.map +0 -1
  964. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/writeGeoDataQuery.js +0 -22
  965. package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/0.0.17/src/methods/zScoreQuery.d.ts.map +0 -1
  966. /package/esm/deps/jsr.io/@nshiab/journalism-ai/{1.2.20 → 1.2.22}/src/ai/askAI.d.ts +0 -0
  967. /package/esm/deps/jsr.io/@nshiab/journalism-ai/{1.2.20 → 1.2.22}/src/ai/askAIPool.d.ts +0 -0
  968. /package/esm/deps/jsr.io/@nshiab/journalism-ai/{1.2.20 → 1.2.22}/src/ai/getEmbedding.d.ts +0 -0
  969. /package/esm/deps/jsr.io/@nshiab/journalism-ai/{1.2.20 → 1.2.22}/src/ai/helpers/sleep.d.ts +0 -0
  970. /package/esm/deps/jsr.io/@nshiab/journalism-ai/{1.2.20 → 1.2.22}/src/ai/helpers/sleep.js +0 -0
  971. /package/esm/deps/jsr.io/@nshiab/journalism-dataviz/{1.0.13 → 1.0.16}/src/dataviz/helpers/addDots.d.ts +0 -0
  972. /package/esm/deps/jsr.io/@nshiab/journalism-dataviz/{1.0.13 → 1.0.16}/src/dataviz/helpers/addDots.js +0 -0
  973. /package/esm/deps/jsr.io/@nshiab/journalism-dataviz/{1.0.13 → 1.0.16}/src/dataviz/helpers/addLines.d.ts +0 -0
  974. /package/esm/deps/jsr.io/@nshiab/journalism-dataviz/{1.0.13 → 1.0.16}/src/dataviz/helpers/addLines.js +0 -0
  975. /package/esm/deps/jsr.io/@nshiab/journalism-dataviz/{1.0.13 → 1.0.16}/src/dataviz/helpers/drawChart.js +0 -0
  976. /package/esm/deps/jsr.io/@nshiab/journalism-dataviz/{1.0.13 → 1.0.16}/src/dataviz/helpers/getAxisX.d.ts +0 -0
  977. /package/esm/deps/jsr.io/@nshiab/journalism-dataviz/{1.0.13 → 1.0.16}/src/dataviz/helpers/getAxisY.js +0 -0
  978. /package/esm/deps/jsr.io/@nshiab/journalism-dataviz/{1.0.13 → 1.0.16}/src/dataviz/helpers/getChartData.d.ts +0 -0
  979. /package/esm/deps/jsr.io/@nshiab/journalism-dataviz/{1.0.13 → 1.0.16}/src/dataviz/helpers/getChartData.js +0 -0
  980. /package/esm/deps/jsr.io/@nshiab/journalism-dataviz/{1.0.13 → 1.0.16}/src/dataviz/helpers/getColors.d.ts +0 -0
  981. /package/esm/deps/jsr.io/@nshiab/journalism-dataviz/{1.0.13 → 1.0.16}/src/dataviz/helpers/getColors.js +0 -0
  982. /package/esm/deps/jsr.io/@nshiab/journalism-dataviz/{1.0.13 → 1.0.16}/src/dataviz/helpers/validateDataTypes.d.ts +0 -0
  983. /package/esm/deps/jsr.io/@nshiab/journalism-dataviz/{1.0.13 → 1.0.16}/src/dataviz/helpers/validateDataTypes.js +0 -0
  984. /package/esm/deps/jsr.io/@nshiab/journalism-dataviz/{1.0.13 → 1.0.16}/src/dataviz/publishChartDW.d.ts +0 -0
  985. /package/esm/deps/jsr.io/@nshiab/journalism-dataviz/{1.0.13 → 1.0.16}/src/dataviz/publishChartDW.js +0 -0
  986. /package/esm/deps/jsr.io/@nshiab/journalism-dataviz/{1.0.13 → 1.0.16}/src/dataviz/rewind.d.ts +0 -0
  987. /package/esm/deps/jsr.io/@nshiab/journalism-dataviz/{1.0.13 → 1.0.16}/src/dataviz/rewind.js +0 -0
  988. /package/esm/deps/jsr.io/@nshiab/journalism-dataviz/{1.0.13 → 1.0.16}/src/dataviz/saveChart.d.ts +0 -0
  989. /package/esm/deps/jsr.io/@nshiab/journalism-dataviz/{1.0.13 → 1.0.16}/src/dataviz/updateAnnotationsDW.d.ts +0 -0
  990. /package/esm/deps/jsr.io/@nshiab/journalism-dataviz/{1.0.13 → 1.0.16}/src/dataviz/updateAnnotationsDW.js +0 -0
  991. /package/esm/deps/jsr.io/@nshiab/journalism-dataviz/{1.0.13 → 1.0.16}/src/dataviz/updateDataDW.d.ts +0 -0
  992. /package/esm/deps/jsr.io/@nshiab/journalism-dataviz/{1.0.13 → 1.0.16}/src/dataviz/updateDataDW.js +0 -0
  993. /package/esm/deps/jsr.io/@nshiab/journalism-dataviz/{1.0.13 → 1.0.16}/src/dataviz/updateNotesDW.d.ts +0 -0
  994. /package/esm/deps/jsr.io/@nshiab/journalism-dataviz/{1.0.13 → 1.0.16}/src/dataviz/updateNotesDW.js +0 -0
  995. /package/esm/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/arraysToData.d.ts +0 -0
  996. /package/esm/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/arraysToData.js +0 -0
  997. /package/esm/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/camelCase.d.ts +0 -0
  998. /package/esm/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/camelCase.js +0 -0
  999. /package/esm/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/capitalize.d.ts +0 -0
  1000. /package/esm/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/capitalize.js +0 -0
  1001. /package/esm/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/dataAsCsv.d.ts +0 -0
  1002. /package/esm/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/dataAsCsv.js +0 -0
  1003. /package/esm/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/dataToArrays.d.ts +0 -0
  1004. /package/esm/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/dataToArrays.js +0 -0
  1005. /package/esm/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/formatDate.d.ts +0 -0
  1006. /package/esm/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/formatDate.js +0 -0
  1007. /package/esm/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/formatNumber.d.ts +0 -0
  1008. /package/esm/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/formatNumber.js +0 -0
  1009. /package/esm/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/helpers/dateToCBCStyle.d.ts +0 -0
  1010. /package/esm/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/helpers/dateToCBCStyle.js +0 -0
  1011. /package/esm/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/helpers/dateToRCStyle.d.ts +0 -0
  1012. /package/esm/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/helpers/dateToRCStyle.js +0 -0
  1013. /package/esm/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/helpers/isValidDate.d.ts +0 -0
  1014. /package/esm/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/helpers/isValidDate.js +0 -0
  1015. /package/esm/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/helpers/transformPositionToCbcStyle.d.ts +0 -0
  1016. /package/esm/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/helpers/transformPositionToCbcStyle.js +0 -0
  1017. /package/esm/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/helpers/transformPositionToRcStyle.d.ts +0 -0
  1018. /package/esm/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/helpers/transformPositionToRcStyle.js +0 -0
  1019. /package/esm/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/helpers/wrapString.d.ts +0 -0
  1020. /package/esm/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/helpers/wrapString.js +0 -0
  1021. /package/esm/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/normalizeString.d.ts +0 -0
  1022. /package/esm/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/normalizeString.js +0 -0
  1023. /package/esm/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/prettyDuration.d.ts +0 -0
  1024. /package/esm/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/prettyDuration.js +0 -0
  1025. /package/esm/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/printTable.d.ts +0 -0
  1026. /package/esm/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/printTable.js +0 -0
  1027. /package/esm/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/round.d.ts +0 -0
  1028. /package/esm/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/round.js +0 -0
  1029. /package/esm/deps/jsr.io/@nshiab/journalism-google/{1.0.9 → 1.0.10}/src/google/addSheetRows.d.ts +0 -0
  1030. /package/esm/deps/jsr.io/@nshiab/journalism-google/{1.0.9 → 1.0.10}/src/google/addSheetRows.js +0 -0
  1031. /package/esm/deps/jsr.io/@nshiab/journalism-google/{1.0.9 → 1.0.10}/src/google/deleteFromBucket.d.ts +0 -0
  1032. /package/esm/deps/jsr.io/@nshiab/journalism-google/{1.0.9 → 1.0.10}/src/google/deleteFromBucket.js +0 -0
  1033. /package/esm/deps/jsr.io/@nshiab/journalism-google/{1.0.9 → 1.0.10}/src/google/downloadFromBucket.d.ts +0 -0
  1034. /package/esm/deps/jsr.io/@nshiab/journalism-google/{1.0.9 → 1.0.10}/src/google/downloadFromBucket.js +0 -0
  1035. /package/esm/deps/jsr.io/@nshiab/journalism-google/{1.0.9 → 1.0.10}/src/google/filesInBucket.d.ts +0 -0
  1036. /package/esm/deps/jsr.io/@nshiab/journalism-google/{1.0.9 → 1.0.10}/src/google/filesInBucket.js +0 -0
  1037. /package/esm/deps/jsr.io/@nshiab/journalism-google/{1.0.9 → 1.0.10}/src/google/getSheetData.d.ts +0 -0
  1038. /package/esm/deps/jsr.io/@nshiab/journalism-google/{1.0.9 → 1.0.10}/src/google/getSheetData.js +0 -0
  1039. /package/esm/deps/jsr.io/@nshiab/journalism-google/{1.0.9 → 1.0.10}/src/google/helpers/cleanData.d.ts +0 -0
  1040. /package/esm/deps/jsr.io/@nshiab/journalism-google/{1.0.9 → 1.0.10}/src/google/helpers/cleanData.js +0 -0
  1041. /package/esm/deps/jsr.io/@nshiab/journalism-google/{1.0.9 → 1.0.10}/src/google/helpers/logToSheet.d.ts +0 -0
  1042. /package/esm/deps/jsr.io/@nshiab/journalism-google/{1.0.9 → 1.0.10}/src/google/helpers/logToSheet.js +0 -0
  1043. /package/esm/deps/jsr.io/@nshiab/journalism-google/{1.0.9 → 1.0.10}/src/google/inBucket.d.ts +0 -0
  1044. /package/esm/deps/jsr.io/@nshiab/journalism-google/{1.0.9 → 1.0.10}/src/google/inBucket.js +0 -0
  1045. /package/esm/deps/jsr.io/@nshiab/journalism-google/{1.0.9 → 1.0.10}/src/google/overwriteSheetData.d.ts +0 -0
  1046. /package/esm/deps/jsr.io/@nshiab/journalism-google/{1.0.9 → 1.0.10}/src/google/toBucket.d.ts +0 -0
  1047. /package/esm/deps/jsr.io/@nshiab/journalism-google/{1.0.9 → 1.0.10}/src/google/toBucket.js +0 -0
  1048. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/class/Simple.d.ts +0 -0
  1049. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/class/Simple.js +0 -0
  1050. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/class/SimpleDB.d.ts +0 -0
  1051. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/class/SimpleDB.js +0 -0
  1052. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/accumulateQuery.d.ts +0 -0
  1053. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/accumulateQuery.js +0 -0
  1054. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/camelCase.d.ts +0 -0
  1055. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/camelCase.js +0 -0
  1056. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/capitalize.d.ts +0 -0
  1057. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/capitalize.js +0 -0
  1058. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/checkVssIndexes.d.ts +0 -0
  1059. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/checkVssIndexes.js +0 -0
  1060. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/cleanCache.d.ts +0 -0
  1061. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/cleanCache.js +0 -0
  1062. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/cleanPath.d.ts +0 -0
  1063. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/cleanPath.js +0 -0
  1064. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/cleanSQL.d.ts +0 -0
  1065. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/cleanSQL.js +0 -0
  1066. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/concatenateRowQuery.d.ts +0 -0
  1067. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/concatenateRowQuery.js +0 -0
  1068. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/convertForJS.d.ts +0 -0
  1069. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/convertForJS.js +0 -0
  1070. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/createDirectory.d.ts +0 -0
  1071. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/createDirectory.js +0 -0
  1072. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/csvFormat.d.ts +0 -0
  1073. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/csvFormat.js +0 -0
  1074. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/dataToArrays.d.ts +0 -0
  1075. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/dataToArrays.js +0 -0
  1076. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/extractTypes.d.ts +0 -0
  1077. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/extractTypes.js +0 -0
  1078. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/findGeoColumn.d.ts +0 -0
  1079. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/formatDate.d.ts +0 -0
  1080. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/formatDate.js +0 -0
  1081. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/formatNumber.d.ts +0 -0
  1082. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/formatNumber.js +0 -0
  1083. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/getCombinations.d.ts +0 -0
  1084. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/getCombinations.js +0 -0
  1085. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/getExtension.d.ts +0 -0
  1086. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/getExtension.js +0 -0
  1087. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/getIdenticalColumns.d.ts +0 -0
  1088. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/getIdenticalColumns.js +0 -0
  1089. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/getName.d.ts +0 -0
  1090. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/getName.js +0 -0
  1091. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/getProjection.d.ts +0 -0
  1092. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/getProjectionParquet.d.ts +0 -0
  1093. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/getProjectionParquet.js +0 -0
  1094. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/index.d.ts +0 -0
  1095. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/index.js +0 -0
  1096. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/keepNumericalColumns.d.ts +0 -0
  1097. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/keepNumericalColumns.js +0 -0
  1098. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/logData.d.ts +0 -0
  1099. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/logData.js +0 -0
  1100. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/mergeOptions.d.ts +0 -0
  1101. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/mergeOptions.js +0 -0
  1102. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/nestQuery.d.ts +0 -0
  1103. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/nestQuery.js +0 -0
  1104. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/parseDuckDBType.d.ts +0 -0
  1105. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/parseDuckDBType.js +0 -0
  1106. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/parseTypes.d.ts +0 -0
  1107. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/parseTypes.js +0 -0
  1108. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/parseValue.d.ts +0 -0
  1109. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/parseValue.js +0 -0
  1110. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/prettyDuration.d.ts +0 -0
  1111. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/prettyDuration.js +0 -0
  1112. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/printTable.d.ts +0 -0
  1113. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/printTable.js +0 -0
  1114. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/queryDB.d.ts +0 -0
  1115. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/queryDB.js +0 -0
  1116. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/rewind.d.ts +0 -0
  1117. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/rewind.js +0 -0
  1118. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/runQuery.d.ts +0 -0
  1119. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/runQuery.js +0 -0
  1120. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/setDbProps.d.ts +0 -0
  1121. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/setDbProps.js +0 -0
  1122. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/shouldFlipBeforeExport.d.ts +0 -0
  1123. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/shouldFlipBeforeExport.js +0 -0
  1124. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/stringToArray.d.ts +0 -0
  1125. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/stringToArray.js +0 -0
  1126. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/stringifyDates.d.ts +0 -0
  1127. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/stringifyDates.js +0 -0
  1128. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/stringifyDatesInvert.d.ts +0 -0
  1129. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/stringifyDatesInvert.js +0 -0
  1130. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/unifyColumns.d.ts +0 -0
  1131. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/unifyColumns.js +0 -0
  1132. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/unnestQuery.d.ts +0 -0
  1133. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/unnestQuery.js +0 -0
  1134. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/wrapString.d.ts +0 -0
  1135. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/wrapString.js +0 -0
  1136. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/writeDataAsArrays.d.ts +0 -0
  1137. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/writeDataAsArrays.js +0 -0
  1138. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/writeProjectionsAndIndexes.d.ts +0 -0
  1139. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/writeProjectionsAndIndexes.js +0 -0
  1140. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/aggregateGeoQuery.d.ts +0 -0
  1141. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/aggregateGeoQuery.js +0 -0
  1142. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/binsQuery.d.ts +0 -0
  1143. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/binsQuery.js +0 -0
  1144. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/bm25.d.ts +0 -0
  1145. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/bm25.js +0 -0
  1146. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/cache.d.ts +0 -0
  1147. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/cache.js +0 -0
  1148. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/capitalizeQuery.d.ts +0 -0
  1149. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/capitalizeQuery.js +0 -0
  1150. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/cloneColumn.d.ts +0 -0
  1151. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/cloneColumn.js +0 -0
  1152. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/cloneQuery.d.ts +0 -0
  1153. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/cloneQuery.js +0 -0
  1154. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/concatenateQuery.d.ts +0 -0
  1155. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/concatenateQuery.js +0 -0
  1156. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/convertQuery.d.ts +0 -0
  1157. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/convertQuery.js +0 -0
  1158. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/correlations.d.ts +0 -0
  1159. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/correlations.js +0 -0
  1160. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/correlationsQuery.d.ts +0 -0
  1161. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/correlationsQuery.js +0 -0
  1162. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/createFtsIndex.d.ts +0 -0
  1163. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/createFtsIndex.js +0 -0
  1164. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/createVssIndex.d.ts +0 -0
  1165. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/createVssIndex.js +0 -0
  1166. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/crossJoinQuery.d.ts +0 -0
  1167. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/crossJoinQuery.js +0 -0
  1168. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/distanceQuery.d.ts +0 -0
  1169. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/distanceQuery.js +0 -0
  1170. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/fill.d.ts +0 -0
  1171. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getBottom.d.ts +0 -0
  1172. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getBottom.js +0 -0
  1173. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getColumns.d.ts +0 -0
  1174. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getColumns.js +0 -0
  1175. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getDescription.d.ts +0 -0
  1176. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getDescription.js +0 -0
  1177. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getFirstRow.d.ts +0 -0
  1178. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getFirstRow.js +0 -0
  1179. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getGeoData.d.ts +0 -0
  1180. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getGeoData.js +0 -0
  1181. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getLastRow.d.ts +0 -0
  1182. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getLastRow.js +0 -0
  1183. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getMax.d.ts +0 -0
  1184. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getMax.js +0 -0
  1185. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getMean.d.ts +0 -0
  1186. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getMean.js +0 -0
  1187. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getMedian.d.ts +0 -0
  1188. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getMedian.js +0 -0
  1189. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getMin.d.ts +0 -0
  1190. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getMin.js +0 -0
  1191. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getNbCharacters.d.ts +0 -0
  1192. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getNbCharacters.js +0 -0
  1193. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getNbRows.d.ts +0 -0
  1194. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getNbRows.js +0 -0
  1195. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getQuantile.d.ts +0 -0
  1196. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getQuantile.js +0 -0
  1197. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getSkew.d.ts +0 -0
  1198. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getSkew.js +0 -0
  1199. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getStdDev.d.ts +0 -0
  1200. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getStdDev.js +0 -0
  1201. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getSum.d.ts +0 -0
  1202. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getSum.js +0 -0
  1203. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getTableNames.d.ts +0 -0
  1204. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getTableNames.js +0 -0
  1205. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getTop.d.ts +0 -0
  1206. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getTop.js +0 -0
  1207. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getTypes.d.ts +0 -0
  1208. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getTypes.js +0 -0
  1209. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getUniques.d.ts +0 -0
  1210. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getUniques.js +0 -0
  1211. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getValues.d.ts +0 -0
  1212. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getValues.js +0 -0
  1213. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getVar.d.ts +0 -0
  1214. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getVar.js +0 -0
  1215. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/insertRowsQuery.d.ts +0 -0
  1216. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/insertRowsQuery.js +0 -0
  1217. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/join.d.ts +0 -0
  1218. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/join.js +0 -0
  1219. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/joinGeo.d.ts +0 -0
  1220. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/joinGeo.js +0 -0
  1221. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/joinGeoQuery.d.ts +0 -0
  1222. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/joinGeoQuery.js +0 -0
  1223. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/joinQuery.d.ts +0 -0
  1224. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/joinQuery.js +0 -0
  1225. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/keepQuery.d.ts +0 -0
  1226. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/keepQuery.js +0 -0
  1227. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/linearRegressionQuery.d.ts +0 -0
  1228. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/linearRegressionQuery.js +0 -0
  1229. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/linearRegressions.d.ts +0 -0
  1230. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/linearRegressions.js +0 -0
  1231. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/loadArray.d.ts +0 -0
  1232. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/loadArray.js +0 -0
  1233. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/lowerQuery.d.ts +0 -0
  1234. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/lowerQuery.js +0 -0
  1235. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/normalizeQuery.d.ts +0 -0
  1236. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/normalizeQuery.js +0 -0
  1237. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/normalizeString.d.ts +0 -0
  1238. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/normalizeString.js +0 -0
  1239. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/outliersIQRQuery.d.ts +0 -0
  1240. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/outliersIQRQuery.js +0 -0
  1241. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/proportionsHorizontalQuery.d.ts +0 -0
  1242. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/proportionsHorizontalQuery.js +0 -0
  1243. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/proportionsVerticalQuery.d.ts +0 -0
  1244. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/proportionsVerticalQuery.js +0 -0
  1245. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/quantilesQuery.d.ts +0 -0
  1246. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/quantilesQuery.js +0 -0
  1247. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/ranksQuery.d.ts +0 -0
  1248. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/ranksQuery.js +0 -0
  1249. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/removeDuplicatesQuery.d.ts +0 -0
  1250. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/removeDuplicatesQuery.js +0 -0
  1251. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/removeMissing.d.ts +0 -0
  1252. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/removeMissing.js +0 -0
  1253. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/removeMissingQuery.d.ts +0 -0
  1254. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/removeMissingQuery.js +0 -0
  1255. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/removeQuery.d.ts +0 -0
  1256. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/removeQuery.js +0 -0
  1257. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/renameColumnQuery.d.ts +0 -0
  1258. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/renameColumnQuery.js +0 -0
  1259. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/replaceNullsQuery.d.ts +0 -0
  1260. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/replaceNullsQuery.js +0 -0
  1261. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/replaceQuery.d.ts +0 -0
  1262. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/replaceQuery.js +0 -0
  1263. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/rollingQuery.d.ts +0 -0
  1264. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/rollingQuery.js +0 -0
  1265. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/roundQuery.d.ts +0 -0
  1266. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/roundQuery.js +0 -0
  1267. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/selectRowsQuery.d.ts +0 -0
  1268. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/selectRowsQuery.js +0 -0
  1269. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/sortQuery.d.ts +0 -0
  1270. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/sortQuery.js +0 -0
  1271. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/splitSpread.d.ts +0 -0
  1272. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/splitSpread.js +0 -0
  1273. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/summarize.d.ts +0 -0
  1274. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/summarize.js +0 -0
  1275. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/summarizeQuery.d.ts +0 -0
  1276. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/summarizeQuery.js +0 -0
  1277. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/trimQuery.d.ts +0 -0
  1278. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/trimQuery.js +0 -0
  1279. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/truncateQuery.d.ts +0 -0
  1280. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/truncateQuery.js +0 -0
  1281. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/upperQuery.d.ts +0 -0
  1282. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/upperQuery.js +0 -0
  1283. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/writeDataQuery.d.ts +0 -0
  1284. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/writeDataQuery.js +0 -0
  1285. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/writeGeoDataQuery.d.ts +0 -0
  1286. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/zScoreQuery.d.ts +0 -0
  1287. /package/esm/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/zScoreQuery.js +0 -0
  1288. /package/script/deps/jsr.io/@nshiab/journalism-ai/{1.2.20 → 1.2.22}/src/ai/askAI.d.ts +0 -0
  1289. /package/script/deps/jsr.io/@nshiab/journalism-ai/{1.2.20 → 1.2.22}/src/ai/askAIPool.d.ts +0 -0
  1290. /package/script/deps/jsr.io/@nshiab/journalism-ai/{1.2.20 → 1.2.22}/src/ai/getEmbedding.d.ts +0 -0
  1291. /package/script/deps/jsr.io/@nshiab/journalism-ai/{1.2.20 → 1.2.22}/src/ai/helpers/sleep.d.ts +0 -0
  1292. /package/script/deps/jsr.io/@nshiab/journalism-ai/{1.2.20 → 1.2.22}/src/ai/helpers/sleep.js +0 -0
  1293. /package/script/deps/jsr.io/@nshiab/journalism-dataviz/{1.0.13 → 1.0.16}/src/dataviz/helpers/addDots.d.ts +0 -0
  1294. /package/script/deps/jsr.io/@nshiab/journalism-dataviz/{1.0.13 → 1.0.16}/src/dataviz/helpers/addDots.js +0 -0
  1295. /package/script/deps/jsr.io/@nshiab/journalism-dataviz/{1.0.13 → 1.0.16}/src/dataviz/helpers/addLines.d.ts +0 -0
  1296. /package/script/deps/jsr.io/@nshiab/journalism-dataviz/{1.0.13 → 1.0.16}/src/dataviz/helpers/addLines.js +0 -0
  1297. /package/script/deps/jsr.io/@nshiab/journalism-dataviz/{1.0.13 → 1.0.16}/src/dataviz/helpers/drawChart.js +0 -0
  1298. /package/script/deps/jsr.io/@nshiab/journalism-dataviz/{1.0.13 → 1.0.16}/src/dataviz/helpers/getAxisX.d.ts +0 -0
  1299. /package/script/deps/jsr.io/@nshiab/journalism-dataviz/{1.0.13 → 1.0.16}/src/dataviz/helpers/getAxisY.js +0 -0
  1300. /package/script/deps/jsr.io/@nshiab/journalism-dataviz/{1.0.13 → 1.0.16}/src/dataviz/helpers/getChartData.d.ts +0 -0
  1301. /package/script/deps/jsr.io/@nshiab/journalism-dataviz/{1.0.13 → 1.0.16}/src/dataviz/helpers/getChartData.js +0 -0
  1302. /package/script/deps/jsr.io/@nshiab/journalism-dataviz/{1.0.13 → 1.0.16}/src/dataviz/helpers/getColors.d.ts +0 -0
  1303. /package/script/deps/jsr.io/@nshiab/journalism-dataviz/{1.0.13 → 1.0.16}/src/dataviz/helpers/getColors.js +0 -0
  1304. /package/script/deps/jsr.io/@nshiab/journalism-dataviz/{1.0.13 → 1.0.16}/src/dataviz/helpers/validateDataTypes.d.ts +0 -0
  1305. /package/script/deps/jsr.io/@nshiab/journalism-dataviz/{1.0.13 → 1.0.16}/src/dataviz/helpers/validateDataTypes.js +0 -0
  1306. /package/script/deps/jsr.io/@nshiab/journalism-dataviz/{1.0.13 → 1.0.16}/src/dataviz/publishChartDW.d.ts +0 -0
  1307. /package/script/deps/jsr.io/@nshiab/journalism-dataviz/{1.0.13 → 1.0.16}/src/dataviz/publishChartDW.js +0 -0
  1308. /package/script/deps/jsr.io/@nshiab/journalism-dataviz/{1.0.13 → 1.0.16}/src/dataviz/rewind.d.ts +0 -0
  1309. /package/script/deps/jsr.io/@nshiab/journalism-dataviz/{1.0.13 → 1.0.16}/src/dataviz/rewind.js +0 -0
  1310. /package/script/deps/jsr.io/@nshiab/journalism-dataviz/{1.0.13 → 1.0.16}/src/dataviz/saveChart.d.ts +0 -0
  1311. /package/script/deps/jsr.io/@nshiab/journalism-dataviz/{1.0.13 → 1.0.16}/src/dataviz/updateAnnotationsDW.d.ts +0 -0
  1312. /package/script/deps/jsr.io/@nshiab/journalism-dataviz/{1.0.13 → 1.0.16}/src/dataviz/updateAnnotationsDW.js +0 -0
  1313. /package/script/deps/jsr.io/@nshiab/journalism-dataviz/{1.0.13 → 1.0.16}/src/dataviz/updateDataDW.d.ts +0 -0
  1314. /package/script/deps/jsr.io/@nshiab/journalism-dataviz/{1.0.13 → 1.0.16}/src/dataviz/updateDataDW.js +0 -0
  1315. /package/script/deps/jsr.io/@nshiab/journalism-dataviz/{1.0.13 → 1.0.16}/src/dataviz/updateNotesDW.d.ts +0 -0
  1316. /package/script/deps/jsr.io/@nshiab/journalism-dataviz/{1.0.13 → 1.0.16}/src/dataviz/updateNotesDW.js +0 -0
  1317. /package/script/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/arraysToData.d.ts +0 -0
  1318. /package/script/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/arraysToData.js +0 -0
  1319. /package/script/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/camelCase.d.ts +0 -0
  1320. /package/script/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/camelCase.js +0 -0
  1321. /package/script/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/capitalize.d.ts +0 -0
  1322. /package/script/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/capitalize.js +0 -0
  1323. /package/script/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/dataAsCsv.d.ts +0 -0
  1324. /package/script/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/dataAsCsv.js +0 -0
  1325. /package/script/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/dataToArrays.d.ts +0 -0
  1326. /package/script/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/dataToArrays.js +0 -0
  1327. /package/script/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/formatDate.d.ts +0 -0
  1328. /package/script/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/formatDate.js +0 -0
  1329. /package/script/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/formatNumber.d.ts +0 -0
  1330. /package/script/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/formatNumber.js +0 -0
  1331. /package/script/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/helpers/dateToCBCStyle.d.ts +0 -0
  1332. /package/script/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/helpers/dateToCBCStyle.js +0 -0
  1333. /package/script/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/helpers/dateToRCStyle.d.ts +0 -0
  1334. /package/script/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/helpers/dateToRCStyle.js +0 -0
  1335. /package/script/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/helpers/isValidDate.d.ts +0 -0
  1336. /package/script/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/helpers/isValidDate.js +0 -0
  1337. /package/script/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/helpers/transformPositionToCbcStyle.d.ts +0 -0
  1338. /package/script/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/helpers/transformPositionToCbcStyle.js +0 -0
  1339. /package/script/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/helpers/transformPositionToRcStyle.d.ts +0 -0
  1340. /package/script/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/helpers/transformPositionToRcStyle.js +0 -0
  1341. /package/script/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/helpers/wrapString.d.ts +0 -0
  1342. /package/script/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/helpers/wrapString.js +0 -0
  1343. /package/script/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/normalizeString.d.ts +0 -0
  1344. /package/script/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/normalizeString.js +0 -0
  1345. /package/script/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/prettyDuration.d.ts +0 -0
  1346. /package/script/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/prettyDuration.js +0 -0
  1347. /package/script/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/printTable.d.ts +0 -0
  1348. /package/script/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/printTable.js +0 -0
  1349. /package/script/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/round.d.ts +0 -0
  1350. /package/script/deps/jsr.io/@nshiab/journalism-format/{1.1.8 → 1.1.9}/src/format/round.js +0 -0
  1351. /package/script/deps/jsr.io/@nshiab/journalism-google/{1.0.9 → 1.0.10}/src/google/addSheetRows.d.ts +0 -0
  1352. /package/script/deps/jsr.io/@nshiab/journalism-google/{1.0.9 → 1.0.10}/src/google/addSheetRows.js +0 -0
  1353. /package/script/deps/jsr.io/@nshiab/journalism-google/{1.0.9 → 1.0.10}/src/google/deleteFromBucket.d.ts +0 -0
  1354. /package/script/deps/jsr.io/@nshiab/journalism-google/{1.0.9 → 1.0.10}/src/google/deleteFromBucket.js +0 -0
  1355. /package/script/deps/jsr.io/@nshiab/journalism-google/{1.0.9 → 1.0.10}/src/google/downloadFromBucket.d.ts +0 -0
  1356. /package/script/deps/jsr.io/@nshiab/journalism-google/{1.0.9 → 1.0.10}/src/google/downloadFromBucket.js +0 -0
  1357. /package/script/deps/jsr.io/@nshiab/journalism-google/{1.0.9 → 1.0.10}/src/google/filesInBucket.d.ts +0 -0
  1358. /package/script/deps/jsr.io/@nshiab/journalism-google/{1.0.9 → 1.0.10}/src/google/filesInBucket.js +0 -0
  1359. /package/script/deps/jsr.io/@nshiab/journalism-google/{1.0.9 → 1.0.10}/src/google/getSheetData.d.ts +0 -0
  1360. /package/script/deps/jsr.io/@nshiab/journalism-google/{1.0.9 → 1.0.10}/src/google/getSheetData.js +0 -0
  1361. /package/script/deps/jsr.io/@nshiab/journalism-google/{1.0.9 → 1.0.10}/src/google/helpers/cleanData.d.ts +0 -0
  1362. /package/script/deps/jsr.io/@nshiab/journalism-google/{1.0.9 → 1.0.10}/src/google/helpers/cleanData.js +0 -0
  1363. /package/script/deps/jsr.io/@nshiab/journalism-google/{1.0.9 → 1.0.10}/src/google/helpers/logToSheet.d.ts +0 -0
  1364. /package/script/deps/jsr.io/@nshiab/journalism-google/{1.0.9 → 1.0.10}/src/google/helpers/logToSheet.js +0 -0
  1365. /package/script/deps/jsr.io/@nshiab/journalism-google/{1.0.9 → 1.0.10}/src/google/inBucket.d.ts +0 -0
  1366. /package/script/deps/jsr.io/@nshiab/journalism-google/{1.0.9 → 1.0.10}/src/google/inBucket.js +0 -0
  1367. /package/script/deps/jsr.io/@nshiab/journalism-google/{1.0.9 → 1.0.10}/src/google/overwriteSheetData.d.ts +0 -0
  1368. /package/script/deps/jsr.io/@nshiab/journalism-google/{1.0.9 → 1.0.10}/src/google/toBucket.d.ts +0 -0
  1369. /package/script/deps/jsr.io/@nshiab/journalism-google/{1.0.9 → 1.0.10}/src/google/toBucket.js +0 -0
  1370. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/class/Simple.d.ts +0 -0
  1371. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/class/Simple.js +0 -0
  1372. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/class/SimpleDB.d.ts +0 -0
  1373. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/class/SimpleDB.js +0 -0
  1374. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/accumulateQuery.d.ts +0 -0
  1375. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/accumulateQuery.js +0 -0
  1376. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/camelCase.d.ts +0 -0
  1377. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/camelCase.js +0 -0
  1378. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/capitalize.d.ts +0 -0
  1379. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/capitalize.js +0 -0
  1380. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/checkVssIndexes.d.ts +0 -0
  1381. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/checkVssIndexes.js +0 -0
  1382. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/cleanCache.d.ts +0 -0
  1383. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/cleanCache.js +0 -0
  1384. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/cleanPath.d.ts +0 -0
  1385. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/cleanPath.js +0 -0
  1386. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/cleanSQL.d.ts +0 -0
  1387. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/cleanSQL.js +0 -0
  1388. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/concatenateRowQuery.d.ts +0 -0
  1389. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/concatenateRowQuery.js +0 -0
  1390. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/convertForJS.d.ts +0 -0
  1391. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/convertForJS.js +0 -0
  1392. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/createDirectory.d.ts +0 -0
  1393. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/createDirectory.js +0 -0
  1394. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/csvFormat.d.ts +0 -0
  1395. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/csvFormat.js +0 -0
  1396. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/dataToArrays.d.ts +0 -0
  1397. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/dataToArrays.js +0 -0
  1398. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/extractTypes.d.ts +0 -0
  1399. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/extractTypes.js +0 -0
  1400. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/findGeoColumn.d.ts +0 -0
  1401. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/formatDate.d.ts +0 -0
  1402. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/formatDate.js +0 -0
  1403. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/formatNumber.d.ts +0 -0
  1404. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/formatNumber.js +0 -0
  1405. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/getCombinations.d.ts +0 -0
  1406. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/getCombinations.js +0 -0
  1407. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/getExtension.d.ts +0 -0
  1408. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/getExtension.js +0 -0
  1409. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/getIdenticalColumns.d.ts +0 -0
  1410. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/getIdenticalColumns.js +0 -0
  1411. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/getName.d.ts +0 -0
  1412. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/getName.js +0 -0
  1413. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/getProjection.d.ts +0 -0
  1414. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/getProjectionParquet.d.ts +0 -0
  1415. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/getProjectionParquet.js +0 -0
  1416. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/index.d.ts +0 -0
  1417. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/index.js +0 -0
  1418. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/keepNumericalColumns.d.ts +0 -0
  1419. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/keepNumericalColumns.js +0 -0
  1420. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/logData.d.ts +0 -0
  1421. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/logData.js +0 -0
  1422. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/mergeOptions.d.ts +0 -0
  1423. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/mergeOptions.js +0 -0
  1424. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/nestQuery.d.ts +0 -0
  1425. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/nestQuery.js +0 -0
  1426. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/parseDuckDBType.d.ts +0 -0
  1427. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/parseDuckDBType.js +0 -0
  1428. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/parseTypes.d.ts +0 -0
  1429. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/parseTypes.js +0 -0
  1430. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/parseValue.d.ts +0 -0
  1431. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/parseValue.js +0 -0
  1432. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/prettyDuration.d.ts +0 -0
  1433. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/prettyDuration.js +0 -0
  1434. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/printTable.d.ts +0 -0
  1435. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/printTable.js +0 -0
  1436. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/queryDB.d.ts +0 -0
  1437. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/queryDB.js +0 -0
  1438. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/rewind.d.ts +0 -0
  1439. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/rewind.js +0 -0
  1440. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/runQuery.d.ts +0 -0
  1441. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/runQuery.js +0 -0
  1442. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/setDbProps.d.ts +0 -0
  1443. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/setDbProps.js +0 -0
  1444. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/shouldFlipBeforeExport.d.ts +0 -0
  1445. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/shouldFlipBeforeExport.js +0 -0
  1446. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/stringToArray.d.ts +0 -0
  1447. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/stringToArray.js +0 -0
  1448. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/stringifyDates.d.ts +0 -0
  1449. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/stringifyDates.js +0 -0
  1450. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/stringifyDatesInvert.d.ts +0 -0
  1451. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/stringifyDatesInvert.js +0 -0
  1452. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/unifyColumns.d.ts +0 -0
  1453. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/unifyColumns.js +0 -0
  1454. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/unnestQuery.d.ts +0 -0
  1455. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/unnestQuery.js +0 -0
  1456. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/wrapString.d.ts +0 -0
  1457. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/wrapString.js +0 -0
  1458. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/writeDataAsArrays.d.ts +0 -0
  1459. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/writeDataAsArrays.js +0 -0
  1460. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/writeProjectionsAndIndexes.d.ts +0 -0
  1461. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/helpers/writeProjectionsAndIndexes.js +0 -0
  1462. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/aggregateGeoQuery.d.ts +0 -0
  1463. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/aggregateGeoQuery.js +0 -0
  1464. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/binsQuery.d.ts +0 -0
  1465. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/binsQuery.js +0 -0
  1466. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/bm25.d.ts +0 -0
  1467. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/bm25.js +0 -0
  1468. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/cache.d.ts +0 -0
  1469. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/cache.js +0 -0
  1470. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/capitalizeQuery.d.ts +0 -0
  1471. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/capitalizeQuery.js +0 -0
  1472. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/cloneColumn.d.ts +0 -0
  1473. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/cloneColumn.js +0 -0
  1474. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/cloneQuery.d.ts +0 -0
  1475. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/cloneQuery.js +0 -0
  1476. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/concatenateQuery.d.ts +0 -0
  1477. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/concatenateQuery.js +0 -0
  1478. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/convertQuery.d.ts +0 -0
  1479. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/convertQuery.js +0 -0
  1480. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/correlations.d.ts +0 -0
  1481. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/correlations.js +0 -0
  1482. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/correlationsQuery.d.ts +0 -0
  1483. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/correlationsQuery.js +0 -0
  1484. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/createFtsIndex.d.ts +0 -0
  1485. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/createFtsIndex.js +0 -0
  1486. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/createVssIndex.d.ts +0 -0
  1487. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/createVssIndex.js +0 -0
  1488. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/crossJoinQuery.d.ts +0 -0
  1489. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/crossJoinQuery.js +0 -0
  1490. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/distanceQuery.d.ts +0 -0
  1491. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/distanceQuery.js +0 -0
  1492. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/fill.d.ts +0 -0
  1493. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getBottom.d.ts +0 -0
  1494. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getBottom.js +0 -0
  1495. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getColumns.d.ts +0 -0
  1496. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getColumns.js +0 -0
  1497. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getDescription.d.ts +0 -0
  1498. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getDescription.js +0 -0
  1499. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getFirstRow.d.ts +0 -0
  1500. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getFirstRow.js +0 -0
  1501. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getGeoData.d.ts +0 -0
  1502. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getGeoData.js +0 -0
  1503. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getLastRow.d.ts +0 -0
  1504. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getLastRow.js +0 -0
  1505. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getMax.d.ts +0 -0
  1506. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getMax.js +0 -0
  1507. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getMean.d.ts +0 -0
  1508. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getMean.js +0 -0
  1509. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getMedian.d.ts +0 -0
  1510. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getMedian.js +0 -0
  1511. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getMin.d.ts +0 -0
  1512. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getMin.js +0 -0
  1513. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getNbCharacters.d.ts +0 -0
  1514. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getNbCharacters.js +0 -0
  1515. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getNbRows.d.ts +0 -0
  1516. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getNbRows.js +0 -0
  1517. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getQuantile.d.ts +0 -0
  1518. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getQuantile.js +0 -0
  1519. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getSkew.d.ts +0 -0
  1520. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getSkew.js +0 -0
  1521. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getStdDev.d.ts +0 -0
  1522. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getStdDev.js +0 -0
  1523. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getSum.d.ts +0 -0
  1524. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getSum.js +0 -0
  1525. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getTableNames.d.ts +0 -0
  1526. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getTableNames.js +0 -0
  1527. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getTop.d.ts +0 -0
  1528. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getTop.js +0 -0
  1529. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getTypes.d.ts +0 -0
  1530. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getTypes.js +0 -0
  1531. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getUniques.d.ts +0 -0
  1532. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getUniques.js +0 -0
  1533. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getValues.d.ts +0 -0
  1534. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getValues.js +0 -0
  1535. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getVar.d.ts +0 -0
  1536. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/getVar.js +0 -0
  1537. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/insertRowsQuery.d.ts +0 -0
  1538. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/insertRowsQuery.js +0 -0
  1539. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/join.d.ts +0 -0
  1540. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/join.js +0 -0
  1541. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/joinGeo.d.ts +0 -0
  1542. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/joinGeo.js +0 -0
  1543. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/joinGeoQuery.d.ts +0 -0
  1544. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/joinGeoQuery.js +0 -0
  1545. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/joinQuery.d.ts +0 -0
  1546. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/joinQuery.js +0 -0
  1547. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/keepQuery.d.ts +0 -0
  1548. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/keepQuery.js +0 -0
  1549. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/linearRegressionQuery.d.ts +0 -0
  1550. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/linearRegressionQuery.js +0 -0
  1551. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/linearRegressions.d.ts +0 -0
  1552. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/linearRegressions.js +0 -0
  1553. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/loadArray.d.ts +0 -0
  1554. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/loadArray.js +0 -0
  1555. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/lowerQuery.d.ts +0 -0
  1556. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/lowerQuery.js +0 -0
  1557. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/normalizeQuery.d.ts +0 -0
  1558. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/normalizeQuery.js +0 -0
  1559. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/normalizeString.d.ts +0 -0
  1560. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/normalizeString.js +0 -0
  1561. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/outliersIQRQuery.d.ts +0 -0
  1562. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/outliersIQRQuery.js +0 -0
  1563. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/proportionsHorizontalQuery.d.ts +0 -0
  1564. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/proportionsHorizontalQuery.js +0 -0
  1565. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/proportionsVerticalQuery.d.ts +0 -0
  1566. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/proportionsVerticalQuery.js +0 -0
  1567. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/quantilesQuery.d.ts +0 -0
  1568. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/quantilesQuery.js +0 -0
  1569. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/ranksQuery.d.ts +0 -0
  1570. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/ranksQuery.js +0 -0
  1571. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/removeDuplicatesQuery.d.ts +0 -0
  1572. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/removeDuplicatesQuery.js +0 -0
  1573. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/removeMissing.d.ts +0 -0
  1574. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/removeMissing.js +0 -0
  1575. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/removeMissingQuery.d.ts +0 -0
  1576. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/removeMissingQuery.js +0 -0
  1577. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/removeQuery.d.ts +0 -0
  1578. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/removeQuery.js +0 -0
  1579. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/renameColumnQuery.d.ts +0 -0
  1580. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/renameColumnQuery.js +0 -0
  1581. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/replaceNullsQuery.d.ts +0 -0
  1582. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/replaceNullsQuery.js +0 -0
  1583. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/replaceQuery.d.ts +0 -0
  1584. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/replaceQuery.js +0 -0
  1585. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/rollingQuery.d.ts +0 -0
  1586. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/rollingQuery.js +0 -0
  1587. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/roundQuery.d.ts +0 -0
  1588. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/roundQuery.js +0 -0
  1589. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/selectRowsQuery.d.ts +0 -0
  1590. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/selectRowsQuery.js +0 -0
  1591. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/sortQuery.d.ts +0 -0
  1592. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/sortQuery.js +0 -0
  1593. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/splitSpread.d.ts +0 -0
  1594. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/splitSpread.js +0 -0
  1595. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/summarize.d.ts +0 -0
  1596. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/summarize.js +0 -0
  1597. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/summarizeQuery.d.ts +0 -0
  1598. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/summarizeQuery.js +0 -0
  1599. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/trimQuery.d.ts +0 -0
  1600. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/trimQuery.js +0 -0
  1601. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/truncateQuery.d.ts +0 -0
  1602. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/truncateQuery.js +0 -0
  1603. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/upperQuery.d.ts +0 -0
  1604. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/upperQuery.js +0 -0
  1605. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/writeDataQuery.d.ts +0 -0
  1606. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/writeDataQuery.js +0 -0
  1607. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/writeGeoDataQuery.d.ts +0 -0
  1608. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/zScoreQuery.d.ts +0 -0
  1609. /package/script/deps/jsr.io/@nshiab/simple-data-analysis-core/{0.0.17 → 0.0.21}/src/methods/zScoreQuery.js +0 -0
@@ -0,0 +1,4503 @@
1
+ import type SimpleDB from "./SimpleDB.js";
2
+ import Simple from "./Simple.js";
3
+ /**
4
+ * IMPORTANT: When extending this class, always use `this.sdb.newTable()` to
5
+ * create new tables instead of `new SimpleTable(...)` directly. This ensures
6
+ * subclasses that override `tableClass` on their parent `SimpleDB` get their
7
+ * own table type back.
8
+ *
9
+ * Represents a table within a SimpleDB database, capable of handling tabular, geospatial, and vector data.
10
+ * SimpleTable instances are typically created via a SimpleDB instance.
11
+ *
12
+ * @category Main
13
+ * @example
14
+ * ```ts
15
+ * // Create a SimpleDB instance (in-memory by default)
16
+ * const sdb = new SimpleDB();
17
+ *
18
+ * // Create a new table named "employees" within the database
19
+ * const employees = sdb.newTable("employees");
20
+ *
21
+ * // Load data from a CSV file into the "employees" table
22
+ * await employees.loadData("./employees.csv");
23
+ *
24
+ * // Log the first few rows of the "employees" table to the console
25
+ * await employees.logTable();
26
+ *
27
+ * // Close the database connection and free up resources
28
+ * await sdb.done();
29
+ * ```
30
+ *
31
+ * @example
32
+ * ```ts
33
+ * // Handling geospatial data
34
+ * // Create a SimpleDB instance
35
+ * const sdb = new SimpleDB();
36
+ *
37
+ * // Create a new table for geospatial data
38
+ * const boundaries = sdb.newTable("boundaries");
39
+ *
40
+ * // Load geospatial data from a GeoJSON file
41
+ * await boundaries.loadGeoData("./boundaries.geojson");
42
+ *
43
+ * // Close the database connection
44
+ * await sdb.done();
45
+ * ```
46
+ */
47
+ export default class SimpleTable extends Simple {
48
+ /**
49
+ * Name of the table in the database.
50
+ *
51
+ * @category Properties
52
+ */
53
+ name: string;
54
+ /**
55
+ * The projections of the geospatial data, if any.
56
+ *
57
+ * @defaultValue `{}`
58
+ * @category Properties
59
+ */
60
+ projections: {
61
+ [key: string]: string;
62
+ };
63
+ /**
64
+ * The indexes of the table.
65
+ *
66
+ * @defaultValue `[]`
67
+ * @category Properties
68
+ */
69
+ indexes: string[];
70
+ /**
71
+ * The SimpleDB instance that created this table.
72
+ *
73
+ * @category Properties
74
+ */
75
+ sdb: SimpleDB;
76
+ /**
77
+ * Creates an instance of SimpleTable.
78
+ *
79
+ * @param name - The name of the table.
80
+ * @param projections - An object mapping column names to their geospatial projections.
81
+ * @param simpleDB - The SimpleDB instance that this table belongs to.
82
+ * @param options - An optional object with configuration options:
83
+ * @param options.debug - A boolean indicating whether to enable debug mode.
84
+ * @param options.nbRowsToLog - The number of rows to log when displaying table data.
85
+ * @param options.nbCharactersToLog - The maximum number of characters to log for strings. Useful to avoid logging large text content.
86
+ * @param options.types - A boolean indicating whether to include data types when logging a table.
87
+ * @category Constructor
88
+ */
89
+ constructor(name: string, projections: {
90
+ [key: string]: string;
91
+ }, simpleDB: SimpleDB, options?: {
92
+ debug?: boolean;
93
+ nbRowsToLog?: number;
94
+ nbCharactersToLog?: number;
95
+ types?: boolean;
96
+ });
97
+ /**
98
+ * Renames the current table.
99
+ *
100
+ * @param name - The new name for the table.
101
+ * @returns A promise that resolves when the table has been renamed.
102
+ * @category Table Management
103
+ *
104
+ * @example
105
+ * ```ts
106
+ * // Rename the table to "new_employees"
107
+ * await table.renameTable("new_employees");
108
+ * ```
109
+ */
110
+ renameTable(name: string): Promise<void>;
111
+ /**
112
+ * Sets the data types for columns in a new table. If the table already exists, it will be replaced.
113
+ * To convert the types of an existing table, use the `.convert()` method instead.
114
+ *
115
+ * @param types - An object specifying the column names and their target data types (JavaScript or SQL types).
116
+ * @returns A promise that resolves when the types have been set.
117
+ * @category Table Management
118
+ *
119
+ * @example
120
+ * ```ts
121
+ * // Set types for a new table
122
+ * await table.setTypes({
123
+ * name: "string",
124
+ * salary: "integer",
125
+ * raise: "float",
126
+ * });
127
+ * ```
128
+ */
129
+ setTypes(types: {
130
+ [key: string]: "integer" | "float" | "number" | "string" | "date" | "time" | "datetime" | "datetimeTz" | "bigint" | "double" | "varchar" | "timestamp" | "timestamp with time zone" | "boolean" | "geometry";
131
+ }): Promise<void>;
132
+ /**
133
+ * Loads an array of JavaScript objects into the table.
134
+ *
135
+ * @param arrayOfObjects - An array of objects, where each object represents a row and its properties represent columns.
136
+ * @returns A promise that resolves to the SimpleTable instance after the data has been loaded.
137
+ * @category Importing Data
138
+ *
139
+ * @example
140
+ * ```ts
141
+ * // Load data from an array of objects
142
+ * const data = [
143
+ * { letter: "a", number: 1 },
144
+ * { letter: "b", number: 2 }
145
+ * ];
146
+ * await table.loadArray(data);
147
+ * ```
148
+ */
149
+ loadArray(arrayOfObjects: {
150
+ [key: string]: unknown;
151
+ }[]): Promise<this>;
152
+ /**
153
+ * Loads data from one or more local or remote files into the table.
154
+ * Supported file formats include CSV, JSON, Parquet, and Excel.
155
+ *
156
+ * @param files - The path(s) or URL(s) of the file(s) containing the data to be loaded.
157
+ * @param options - An optional object with configuration options:
158
+ * @param options.fileType - The type of file to load ("csv", "dsv", "json", "parquet", "excel"). Defaults to being inferred from the file extension.
159
+ * @param options.autoDetect - A boolean indicating whether to automatically detect the data format. Defaults to `true`.
160
+ * @param options.limit - A number indicating the maximum number of rows to load. Defaults to all rows.
161
+ * @param options.fileName - A boolean indicating whether to include the file name as a new column in the loaded data. Defaults to `false`.
162
+ * @param options.unifyColumns - A boolean indicating whether to unify columns across multiple files when their structures differ. Missing columns will be filled with `NULL` values. Defaults to `false`.
163
+ * @param options.columnTypes - An object mapping column names to their expected data types. By default, types are inferred.
164
+ * @param options.columns - An array of column names to load. When provided, only the specified columns are loaded, reducing memory usage and improving load times. Not supported for Excel files — combining `columns` with Excel files throws an error. If an invalid column name is provided, DuckDB will throw its native error. An empty array behaves the same as omitting the option (loads all columns). Defaults to loading all columns.
165
+ * @param options.header - A boolean indicating whether the file has a header row. Applicable to CSV files. Defaults to `true`.
166
+ * @param options.allText - A boolean indicating whether all columns should be treated as text. Applicable to CSV files. Defaults to `false`.
167
+ * @param options.delim - The delimiter used in the file. Applicable to CSV and DSV files. By default, the delimiter is inferred.
168
+ * @param options.skip - The number of lines to skip at the beginning of the file. Applicable to CSV files. Defaults to `0`.
169
+ * @param options.nullPadding - If `true`, when a row has fewer columns than expected, the remaining columns on the right will be padded with `NULL` values. Defaults to `false`.
170
+ * @param options.ignoreErrors - If `true`, parsing errors encountered will be ignored, and rows with errors will be skipped. Defaults to `false`.
171
+ * @param options.compression - The compression type of the file. Applicable to CSV files. Defaults to `none`.
172
+ * @param options.strict - If `true`, an error will be thrown when encountering any issues. If `false`, structurally incorrect files will be parsed tentatively. Defaults to `true`.
173
+ * @param options.encoding - The encoding of the file. Applicable to CSV files. Defaults to `utf-8`.
174
+ * @param options.jsonFormat - The format of JSON files ("unstructured", "newlineDelimited", "array"). By default, the format is inferred.
175
+ * @param options.records - A boolean indicating whether each line in a newline-delimited JSON file represents a record. Applicable to JSON files. By default, it's inferred.
176
+ * @param options.sheet - A string indicating a specific sheet to import from an Excel file. By default, the first sheet is imported.
177
+ * @returns A promise that resolves to the SimpleTable instance after the data has been loaded.
178
+ * @category Importing Data
179
+ *
180
+ * @example
181
+ * ```ts
182
+ * // Load data from a single local CSV file
183
+ * await table.loadData("./some-data.csv");
184
+ * ```
185
+ *
186
+ * @example
187
+ * ```ts
188
+ * // Load data from a remote Parquet file
189
+ * await table.loadData("https://some-website.com/some-data.parquet");
190
+ * ```
191
+ *
192
+ * @example
193
+ * ```ts
194
+ * // Load data from multiple local JSON files
195
+ * await table.loadData([
196
+ * "./some-data1.json",
197
+ * "./some-data2.json",
198
+ * "./some-data3.json"
199
+ * ]);
200
+ * ```
201
+ *
202
+ * @example
203
+ * ```ts
204
+ * // Load data from multiple remote Parquet files with column unification
205
+ * await table.loadData([
206
+ * "https://some-website.com/some-data1.parquet",
207
+ * "https://some-website.com/some-data2.parquet",
208
+ * "https://some-website.com/some-data3.parquet"
209
+ * ], { unifyColumns: true });
210
+ * ```
211
+ *
212
+ * @example
213
+ * ```ts
214
+ * // Load only specific columns from a CSV file
215
+ * await table.loadData("./employees.csv", { columns: ["name", "salary"] });
216
+ * ```
217
+ */
218
+ loadData(files: string | string[], options?: {
219
+ fileType?: "csv" | "dsv" | "json" | "parquet" | "excel";
220
+ autoDetect?: boolean;
221
+ limit?: number;
222
+ fileName?: boolean;
223
+ unifyColumns?: boolean;
224
+ columnTypes?: {
225
+ [key: string]: string;
226
+ };
227
+ columns?: string[];
228
+ header?: boolean;
229
+ allText?: boolean;
230
+ delim?: string;
231
+ skip?: number;
232
+ nullPadding?: boolean;
233
+ ignoreErrors?: boolean;
234
+ compression?: "none" | "gzip" | "zstd";
235
+ encoding?: string;
236
+ strict?: boolean;
237
+ jsonFormat?: "unstructured" | "newlineDelimited" | "array";
238
+ records?: boolean;
239
+ sheet?: string;
240
+ }): Promise<this>;
241
+ /**
242
+ * Loads data from all supported files (CSV, JSON, Parquet, Excel) within a local directory into the table.
243
+ *
244
+ * @param directory - The absolute path to the directory containing the data files.
245
+ * @param options - An optional object with configuration options:
246
+ * @param options.fileType - The type of file to load ("csv", "dsv", "json", "parquet", "excel"). Defaults to being inferred from the file extension.
247
+ * @param options.autoDetect - A boolean indicating whether to automatically detect the data format. Defaults to `true`.
248
+ * @param options.limit - A number indicating the maximum number of rows to load. Defaults to all rows.
249
+ * @param options.fileName - A boolean indicating whether to include the file name as a new column in the loaded data. Defaults to `false`.
250
+ * @param options.unifyColumns - A boolean indicating whether to unify columns across multiple files when their structures differ. Missing columns will be filled with `NULL` values. Defaults to `false`.
251
+ * @param options.columnTypes - An object mapping column names to their expected data types. By default, types are inferred.
252
+ * @param options.columns - An array of column names to load. When provided, only the specified columns are loaded, reducing memory usage and improving load times. Not supported for Excel files — combining `columns` with Excel files throws an error. If an invalid column name is provided, DuckDB will throw its native error. An empty array behaves the same as omitting the option (loads all columns). Defaults to loading all columns.
253
+ * @param options.header - A boolean indicating whether the file has a header row. Applicable to CSV files. Defaults to `true`.
254
+ * @param options.allText - A boolean indicating whether all columns should be treated as text. Applicable to CSV files. Defaults to `false`.
255
+ * @param options.delim - The delimiter used in the file. Applicable to CSV and DSV files. By default, the delimiter is inferred.
256
+ * @param options.skip - The number of lines to skip at the beginning of the file. Applicable to CSV files. Defaults to `0`.
257
+ * @param options.nullPadding - If `true`, when a row has fewer columns than expected, the remaining columns on the right will be padded with `NULL` values. Defaults to `false`.
258
+ * @param options.ignoreErrors - If `true`, parsing errors encountered will be ignored, and rows with errors will be skipped. Defaults to `false`.
259
+ * @param options.compression - The compression type of the file. Applicable to CSV files. Defaults to `none`.
260
+ * @param options.strict - If `true`, an error will be thrown when encountering any issues. If `false`, structurally incorrect files will be parsed tentatively. Defaults to `true`.
261
+ * @param options.encoding - The encoding of the files. Applicable to CSV files. Defaults to `utf-8`.
262
+ * @param options.jsonFormat - The format of JSON files ("unstructured", "newlineDelimited", "array"). By default, the format is inferred.
263
+ * @param options.records - A boolean indicating whether each line in a newline-delimited JSON file represents a record. Applicable to JSON files. By default, it's inferred.
264
+ * @param options.sheet - A string indicating a specific sheet to import from an Excel file. By default, the first sheet is imported.
265
+ * @returns A promise that resolves to the SimpleTable instance after the data has been loaded.
266
+ * @category Importing Data
267
+ *
268
+ * @example
269
+ * ```ts
270
+ * // Load all supported data files from the "./data/" directory
271
+ * await table.loadDataFromDirectory("./data/");
272
+ * ```
273
+ *
274
+ * @example
275
+ * ```ts
276
+ * // Load only specific columns from all CSV files in a directory
277
+ * await table.loadDataFromDirectory("./data/", { columns: ["name", "salary"] });
278
+ * ```
279
+ */
280
+ loadDataFromDirectory(directory: string, options?: {
281
+ fileType?: "csv" | "dsv" | "json" | "parquet" | "excel";
282
+ autoDetect?: boolean;
283
+ limit?: number;
284
+ fileName?: boolean;
285
+ unifyColumns?: boolean;
286
+ columnTypes?: {
287
+ [key: string]: string;
288
+ };
289
+ columns?: string[];
290
+ header?: boolean;
291
+ allText?: boolean;
292
+ delim?: string;
293
+ skip?: number;
294
+ nullPadding?: boolean;
295
+ ignoreErrors?: boolean;
296
+ compression?: "none" | "gzip" | "zstd";
297
+ encoding?: "utf-8" | "utf-16" | "latin-1";
298
+ strict?: boolean;
299
+ jsonFormat?: "unstructured" | "newlineDelimited" | "array";
300
+ records?: boolean;
301
+ sheet?: string;
302
+ }): Promise<this>;
303
+ /**
304
+ * Loads geospatial data from an external file or URL into the table.
305
+ * The coordinates of files or URLs ending with `.json` or `.geojson` are automatically flipped to `[latitude, longitude]` axis order.
306
+ *
307
+ * @param file - The URL or absolute path to the external file containing the geospatial data.
308
+ * @param options - An optional object with configuration options:
309
+ * @param options.toWGS84 - If `true`, the method will attempt to reproject the data to WGS84 with `[latitude, longitude]` axis order. If the file is `.json` or `.geojson`, coordinates are automatically flipped, and this option has no additional effect. Defaults to `false`.
310
+ * @param options.from - An optional string specifying the original projection of the data, if the method is unable to detect it automatically.
311
+ * @returns A promise that resolves to the SimpleTable instance after the geospatial data has been loaded.
312
+ * @category Geospatial
313
+ *
314
+ * @example
315
+ * ```ts
316
+ * // Load geospatial data from a URL
317
+ * await table.loadGeoData("https://some-website.com/some-data.geojson");
318
+ * ```
319
+ *
320
+ * @example
321
+ * ```ts
322
+ * // Load geospatial data from a local file
323
+ * await table.loadGeoData("./some-data.geojson");
324
+ * ```
325
+ *
326
+ * @example
327
+ * ```ts
328
+ * // Load geospatial data from a shapefile (with relevant files in the same folder) and reproject to WGS84
329
+ * await table.loadGeoData("./some-data/some-data.shp", { toWGS84: true });
330
+ * ```
331
+ *
332
+ * @example
333
+ * ```ts
334
+ * // Load geospatial data from a zipped shapefile and reproject to WGS84
335
+ * await table.loadGeoData("./some-data.shp.zip", { toWGS84: true });
336
+ * ```
337
+ */
338
+ loadGeoData(file: string, options?: {
339
+ toWGS84?: boolean;
340
+ from?: string;
341
+ }): Promise<this>;
342
+ /**
343
+ * Creates a full-text search (FTS) index on a specified text column using DuckDB's [FTS extension](https://duckdb.org/docs/stable/core_extensions/full_text_search).
344
+ *
345
+ * If an FTS index already exists on the table, this method will skip creation and log a message (when verbose is enabled), unless the `overwrite` option is set to `true`.
346
+ *
347
+ * @param columnId - The name of the column containing unique identifiers for each row.
348
+ * @param columnText - The name of the column containing the text to index.
349
+ * @param options - An optional object with configuration options:
350
+ * @param options.stemmer - The language stemmer to apply for word normalization. Supports multiple languages or "none" to disable stemming. Defaults to 'porter'.
351
+ * @param options.stopwords - The table containing the stopwords to use for the FTS index. Supports multiple languages or "none" to disable stopwords. Defaults to "english".
352
+ * @param options.overwrite - If `true`, recreates the index even if it already exists. Defaults to `false`.
353
+ * @param options.verbose - If `true`, logs additional debugging information, including index creation status. Defaults to `false`.
354
+ * @returns A promise that resolves to the SimpleTable instance for method chaining.
355
+ * @category Text Search
356
+ *
357
+ * @example
358
+ * ```ts
359
+ * // Load a dataset and create an FTS index
360
+ * await table.loadData("recipes.parquet");
361
+ *
362
+ * // Create FTS index for later searches
363
+ * await table.createFtsIndex("Dish", "Recipe");
364
+ * ```
365
+ *
366
+ * @param columnId - The column containing the document identifiers.
367
+ * @param columnText - The column containing the text to search.
368
+ * @param options - An optional object with configuration options:
369
+ * @param options.stemmer - The stemmer to use for the FTS index. Supports multiple languages or "none" to disable stemming. Defaults to "porter".
370
+ * @param options.stopwords - The table containing the stopwords to use for the FTS index. Supports multiple languages or "none" to disable stopwords. Defaults to "english".
371
+ * @param options.ignore - The regular expression of patterns to be ignored. Defaults to "(\\.|[^a-z])+".
372
+ * @param options.stripAccents - A boolean indicating whether to remove accents. Defaults to true.
373
+ * @param options.lower - A boolean indicating whether to convert all text to lowercase. Defaults to true.
374
+ * @param options.overwrite - A boolean indicating whether to overwrite the existing FTS index. Defaults to false.
375
+ * @param options.verbose - A boolean indicating whether to log additional information. Defaults to false.
376
+ *
377
+ * @example
378
+ * ```ts
379
+ * // Create an index with a specific language stemmer
380
+ * await table.createFtsIndex("Dish", "Recipe", {
381
+ * stemmer: "french",
382
+ * });
383
+ * ```
384
+ *
385
+ * @example
386
+ * ```ts
387
+ * // Recreate an existing index with different settings
388
+ * await table.createFtsIndex("Dish", "Recipe", {
389
+ * stemmer: "english",
390
+ * overwrite: true,
391
+ * });
392
+ * ```
393
+ *
394
+ * @example
395
+ * ```ts
396
+ * // Create index with verbose logging
397
+ * await table.createFtsIndex("Dish", "Recipe", {
398
+ * verbose: true,
399
+ * });
400
+ * // Logs: "Creating FTS index on 'Recipe' column..."
401
+ * // Logs: "FTS index created successfully."
402
+ * ```
403
+ */
404
+ createFtsIndex(columnId: string, columnText: string, options?: {
405
+ stemmer?: "arabic" | "basque" | "catalan" | "danish" | "dutch" | "english" | "finnish" | "french" | "german" | "greek" | "hindi" | "hungarian" | "indonesian" | "irish" | "italian" | "lithuanian" | "nepali" | "norwegian" | "porter" | "portuguese" | "romanian" | "russian" | "serbian" | "spanish" | "swedish" | "tamil" | "turkish" | "none";
406
+ stopwords?: string;
407
+ ignore?: string;
408
+ stripAccents?: boolean;
409
+ lower?: boolean;
410
+ overwrite?: boolean;
411
+ verbose?: boolean;
412
+ }): Promise<this>;
413
+ /**
414
+ * Creates a vector similarity search (VSS) index on a specified column using DuckDB's [VSS extension](https://duckdb.org/docs/stable/extensions/vss).
415
+ *
416
+ * If a VSS index already exists on the table, this method will skip creation and log a message (when verbose is enabled), unless the `overwrite` option is set to `true`.
417
+ *
418
+ * @param column - The name of the column containing vector embeddings (must be FLOAT array type).
419
+ * @param options - An optional object with configuration options:
420
+ * @param options.overwrite - If `true`, drops and recreates the index even if it already exists. Defaults to `false`.
421
+ * @param options.verbose - If `true`, logs additional debugging information, including index creation status. Defaults to `false`.
422
+ * @param options.efConstruction - The number of candidate vertices to consider during index construction. Higher values result in more accurate indexes but increase build time. Defaults to 128.
423
+ * @param options.efSearch - The number of candidate vertices to consider during search. Higher values result in more accurate searches but increase search time. Defaults to 64.
424
+ * @param options.M - The maximum number of neighbors to keep for each vertex in the graph. Higher values result in more accurate indexes but increase build time and memory usage. Defaults to 16.
425
+ * @returns A promise that resolves to the SimpleTable instance for method chaining.
426
+ * @category Vector Search
427
+ *
428
+ * @example
429
+ * ```ts
430
+ * // Load data that already contains an embedding column
431
+ * await table.loadData("data.csv");
432
+ *
433
+ * // Create VSS index for fast similarity searches
434
+ * await table.createVssIndex("embedding_column");
435
+ * ```
436
+ *
437
+ * @example
438
+ * ```ts
439
+ * // Recreate an existing index
440
+ * await table.createVssIndex("embedding_column", {
441
+ * overwrite: true,
442
+ * });
443
+ * ```
444
+ *
445
+ * @example
446
+ * ```ts
447
+ * // Create index with verbose logging
448
+ * await table.createVssIndex("embedding_column", {
449
+ * verbose: true,
450
+ * });
451
+ * // Logs: "Creating VSS index on 'embedding_column' column..."
452
+ * // Logs: "VSS index created successfully."
453
+ * ```
454
+ *
455
+ * @example
456
+ * ```ts
457
+ * // Create index with custom HNSW parameters for higher accuracy
458
+ * await table.createVssIndex("embedding_column", {
459
+ * efConstruction: 256,
460
+ * efSearch: 128,
461
+ * M: 32,
462
+ * });
463
+ * ```
464
+ */
465
+ createVssIndex(column: string, options?: {
466
+ overwrite?: boolean;
467
+ verbose?: boolean;
468
+ efConstruction?: number;
469
+ efSearch?: number;
470
+ M?: number;
471
+ }): Promise<this>;
472
+ /**
473
+ * Performs BM25 full-text search on a text column to find the most relevant results. BM25 (Best Matching 25) is a ranking function used in information retrieval that calculates relevance scores based on term frequency and document length normalization.
474
+ *
475
+ * This method creates a full-text search index on the specified text column using DuckDB's [FTS extension](https://duckdb.org/docs/stable/core_extensions/full_text_search). If the index already exists, it will be reused unless the `overwriteIndex` option is set to `true`.
476
+ *
477
+ * @param text - The search query text to match against the text column.
478
+ * @param columnId - The name of the column containing unique identifiers for each row.
479
+ * @param columnText - The name of the column containing the text to search.
480
+ * @param nbResults - The number of top-ranked results to return.
481
+ * @param options - An optional object with configuration options:
482
+ * @param options.outputTable - The name of a new table where the results will be stored. If not provided, the current table will be replaced with the search results.
483
+ * @param options.verbose - If `true`, logs additional debugging information, including FTS index creation status. Defaults to `false`.
484
+ * @param options.k - The BM25 k parameter controlling term frequency saturation. Defaults to 1.2.
485
+ * @param options.b - The BM25 b parameter controlling document length normalization (0-1 range). Defaults to 0.75.
486
+ * @param options.stemmer - The language stemmer to apply for word normalization. Supports multiple languages or "none" to disable stemming. Defaults to 'porter'.
487
+ * @param options.stopwords - The table containing the stopwords to use for the FTS index. Supports multiple languages or "none" to disable stopwords. Defaults to "english".
488
+ * @param options.ignore - The regular expression of patterns to be ignored. Defaults to "(\\.|[^a-z])+".
489
+ * @param options.stripAccents - A boolean indicating whether to remove accents. Defaults to true.
490
+ * @param options.lower - A boolean indicating whether to convert all text to lowercase. Defaults to true.
491
+ * @param options.overwriteIndex - If `true`, drops and recreates the FTS index even if it already exists. Defaults to `false`.
492
+ * @param options.conjunctive - If `true`, all terms in the query string must be present in order for a document to be retrieved. Defaults to `false`.
493
+ * @param options.minScore - A threshold to filter out results with a BM25 score below this value.
494
+ * @param options.scoreColumn - If provided, the BM25 score will be included in the output table under this column name.
495
+ * @returns A promise that resolves to a SimpleTable instance containing the search results, ordered by relevance (best matches first).
496
+ * @category Text Search
497
+ *
498
+ * @example
499
+ * ```ts
500
+ * // Load a dataset of recipes
501
+ * await table.loadData("recipes.parquet");
502
+ *
503
+ * // Search for "italian food" in the Recipe column, return top 5 results
504
+ * await table.bm25("italian food", "Dish", "Recipe", 5);
505
+ *
506
+ * // Check the results
507
+ * const dishes = await table.getValues("Dish");
508
+ * // Returns: ["Carbonara", "Pizza", "Risotto", "Tiramisu", "Escarole Soup"]
509
+ * ```
510
+ *
511
+ * @example
512
+ * ```ts
513
+ * // Search with a specific language stemmer
514
+ * await table.bm25("french food", "Dish", "Recipe", 5, {
515
+ * stemmer: "french",
516
+ * });
517
+ * ```
518
+ *
519
+ * @example
520
+ * ```ts
521
+ * // Recreate the index with different settings and perform search
522
+ * await table.bm25("italian food", "Dish", "Recipe", 5, {
523
+ * stemmer: "english",
524
+ * overwriteIndex: true,
525
+ * });
526
+ * ```
527
+ *
528
+ * @example
529
+ * ```ts
530
+ * // Save results to a new table without modifying the original
531
+ * const italianDishes = await table.bm25("italian food", "Dish", "Recipe", 5, {
532
+ * outputTable: "italian_results",
533
+ * });
534
+ *
535
+ * // Original table remains unchanged
536
+ * const allDishes = await table.getValues("Dish");
537
+ * console.log(allDishes.length); // 336 (all dishes)
538
+ *
539
+ * // New table contains only search results
540
+ * const italianOnly = await italianDishes.getValues("Dish");
541
+ * console.log(italianOnly.length); // 5 (top results)
542
+ * ```
543
+ *
544
+ * @example
545
+ * ```ts
546
+ * // Multiple searches reuse the same index for better performance
547
+ * // The first search creates the index
548
+ * const italian = await table.bm25("italian food", "Dish", "Recipe", 5, {
549
+ * outputTable: "italian",
550
+ * });
551
+ *
552
+ * // The second search reuses the existing index, so it's faster
553
+ * const french = await table.bm25("french food", "Dish", "Recipe", 5, {
554
+ * outputTable: "french",
555
+ * });
556
+ * ```
557
+ * * @example
558
+ * ```ts
559
+ * // Filter results by a minimum BM25 score and include the score in the output
560
+ * await table.bm25("spicy noodles", "Dish", "Recipe", 10, {
561
+ * minScore: 5.5,
562
+ * scoreColumn: "bm25_score"
563
+ * });
564
+ * ```
565
+ *
566
+ * @example
567
+ * ```ts
568
+ * // Use the conjunctive option to require all terms
569
+ * await table.bm25("italian sauce", "Dish", "Recipe", 5, {
570
+ * conjunctive: true,
571
+ * });
572
+ * ```
573
+ */
574
+ bm25(text: string, columnId: string, columnText: string, nbResults: number, options?: {
575
+ outputTable?: string;
576
+ verbose?: boolean;
577
+ k?: number;
578
+ b?: number;
579
+ stemmer?: "arabic" | "basque" | "catalan" | "danish" | "dutch" | "english" | "finnish" | "french" | "german" | "greek" | "hindi" | "hungarian" | "indonesian" | "irish" | "italian" | "lithuanian" | "nepali" | "norwegian" | "porter" | "portuguese" | "romanian" | "russian" | "serbian" | "spanish" | "swedish" | "tamil" | "turkish" | "none";
580
+ stopwords?: string;
581
+ ignore?: string;
582
+ stripAccents?: boolean;
583
+ lower?: boolean;
584
+ overwriteIndex?: boolean;
585
+ conjunctive?: boolean;
586
+ minScore?: number;
587
+ scoreColumn?: string;
588
+ }): Promise<this>;
589
+ /**
590
+ * Inserts rows, provided as an array of JavaScript objects, into the table.
591
+ *
592
+ * @param rows - An array of objects, where each object represents a row to be inserted and its properties correspond to column names.
593
+ * @returns A promise that resolves when the rows have been inserted.
594
+ * @category Importing Data
595
+ *
596
+ * @example
597
+ * ```ts
598
+ * // Insert new rows into the table
599
+ * const newRows = [
600
+ * { letter: "c", number: 3 },
601
+ * { letter: "d", number: 4 }
602
+ * ];
603
+ * await table.insertRows(newRows);
604
+ * ```
605
+ */
606
+ insertRows(rows: {
607
+ [key: string]: unknown;
608
+ }[]): Promise<void>;
609
+ /**
610
+ * Inserts all rows from one or more other tables into this table. If tables do not have the same columns, an error will be thrown unless the `unifyColumns` option is set to `true`.
611
+ *
612
+ * @param tablesToInsert - The name(s) of the table(s) or SimpleTable instance(s) from which rows will be inserted.
613
+ * @param options - An optional object with configuration options:
614
+ * @param options.unifyColumns - A boolean indicating whether to unify the columns of the tables. If `true`, missing columns in a table will be filled with `NULL` values. Defaults to `false`.
615
+ * @returns A promise that resolves when the rows have been inserted.
616
+ * @category Importing Data
617
+ *
618
+ * @example
619
+ * ```ts
620
+ * // Insert all rows from 'tableB' into 'tableA'.
621
+ * await tableA.insertTables("tableB");
622
+ * ```
623
+ *
624
+ * @example
625
+ * ```ts
626
+ * // Insert all rows from 'tableB' and 'tableC' into 'tableA'.
627
+ * await tableA.insertTables(["tableB", "tableC"]);
628
+ * ```
629
+ *
630
+ * @example
631
+ * ```ts
632
+ * // Insert rows from multiple tables, unifying columns. Missing columns will be filled with NULL.
633
+ * await tableA.insertTables(["tableB", "tableC"], { unifyColumns: true });
634
+ * ```
635
+ */
636
+ insertTables(tablesToInsert: SimpleTable | SimpleTable[], options?: {
637
+ unifyColumns?: boolean;
638
+ }): Promise<void>;
639
+ /**
640
+ * Returns a new table with the same structure and data as this table. The data can be optionally filtered.
641
+ * Note that cloning large tables can be a slow operation.
642
+ *
643
+ * @param nameOrOptions - Either a string specifying the name of the new table, or an optional object with configuration options. If not provided, a default name (e.g., "table1", "table2") will be generated.
644
+ * @param nameOrOptions.outputTable - The name of the new table to be created in the database. If not provided, a default name (e.g., "table1", "table2") will be generated.
645
+ * @param nameOrOptions.conditions - A SQL `WHERE` clause condition to filter the data during cloning. Defaults to no condition (clones all rows).
646
+ * @param nameOrOptions.columns - An array of column names to include in the cloned table. If not provided, all columns will be included.
647
+ * @returns A promise that resolves to a new table instance containing the cloned data.
648
+ * @category Table Management
649
+ *
650
+ * @example
651
+ * ```ts
652
+ * // Clone tableA to a new table with a default generated name (e.g., "table1")
653
+ * const tableB = await tableA.cloneTable();
654
+ * ```
655
+ *
656
+ * @example
657
+ * ```ts
658
+ * // Clone tableA to a new table named "my_cloned_table" using string parameter
659
+ * const tableB = await tableA.cloneTable("my_cloned_table");
660
+ * ```
661
+ *
662
+ * @example
663
+ * ```ts
664
+ * // Clone tableA to a new table named "my_cloned_table" using options object
665
+ * const tableB = await tableA.cloneTable({ outputTable: "my_cloned_table" });
666
+ * ```
667
+ *
668
+ * @example
669
+ * ```ts
670
+ * // Clone tableA, including only rows where 'column1' is greater than 10
671
+ * const tableB = await tableA.cloneTable({ conditions: `column1 > 10` });
672
+ * ```
673
+ *
674
+ * @example
675
+ * ```ts
676
+ * // Clone tableA with only specific columns
677
+ * const tableB = await tableA.cloneTable({ columns: ["name", "age", "city"] });
678
+ * ```
679
+ *
680
+ * @example
681
+ * ```ts
682
+ * // Clone tableA to a specific table name with filtered data and specific columns
683
+ * const tableB = await tableA.cloneTable({
684
+ * outputTable: "filtered_data",
685
+ * conditions: `status = 'active' AND created_date >= '2023-01-01'`,
686
+ * columns: ["name", "status", "created_date"]
687
+ * });
688
+ * ```
689
+ */
690
+ cloneTable(nameOrOptions?: string | {
691
+ outputTable?: string;
692
+ conditions?: string;
693
+ columns?: string | string[];
694
+ }): Promise<this>;
695
+ /**
696
+ * Clones an existing column in this table, creating a new column with identical values.
697
+ *
698
+ * @param originalColumn - The name of the original column to clone.
699
+ * @param newColumn - The name of the new column to be created.
700
+ * @returns A promise that resolves when the column has been cloned.
701
+ * @category Column Operations
702
+ *
703
+ * @example
704
+ * ```ts
705
+ * // Clone 'firstName' column as 'contactName'
706
+ * await table.cloneColumn("firstName", "contactName");
707
+ * ```
708
+ */
709
+ cloneColumn(originalColumn: string, newColumn: string): Promise<void>;
710
+ /**
711
+ * Clones a column in the table and offsets its values by a specified number of rows.
712
+ * This is useful for time-series analysis or comparing values across different time points.
713
+ *
714
+ * **Important:** The offset is applied based on the current row order in the table. For meaningful results, ensure your data is sorted appropriately (e.g., by date/time for time-series analysis) before calling this method.
715
+ *
716
+ * @param originalColumn - The name of the original column.
717
+ * @param newColumn - The name of the new column to be created with offset values.
718
+ * @param options - An optional object with configuration options:
719
+ * @param options.offset - The number of rows to offset the values. A positive number shifts values downwards (later rows), a negative number shifts values upwards (earlier rows). Defaults to `1`.
720
+ * @param options.categories - A string or an array of strings representing columns to partition the data by. The offset will be applied independently within each category.
721
+ * @returns A promise that resolves when the column has been cloned with offset values.
722
+ * @category Column Operations
723
+ *
724
+ * @example
725
+ * ```ts
726
+ * // Clone 'value' as 'previous_value', offsetting by 1 row (value of row N-1 goes to row N)
727
+ * await table.cloneColumnWithOffset("value", "previous_value");
728
+ * ```
729
+ *
730
+ * @example
731
+ * ```ts
732
+ * // Clone 'sales' as 'sales_2_days_ago', offsetting by 2 rows
733
+ * await table.cloneColumnWithOffset("sales", "sales_2_days_ago", { offset: 2 });
734
+ * ```
735
+ *
736
+ * @example
737
+ * ```ts
738
+ * // Clone 'temperature' as 'prev_temp_by_city', offsetting by 1 row within each 'city' category
739
+ * await table.cloneColumnWithOffset("temperature", "prev_temp_by_city", {
740
+ * offset: 1,
741
+ * categories: "city",
742
+ * });
743
+ * ```
744
+ *
745
+ * @example
746
+ * ```ts
747
+ * // Clone 'stock_price' as 'prev_price_by_stock_and_exchange', offsetting by 1 row within each 'stock_symbol' and 'exchange' category
748
+ * await table.cloneColumnWithOffset("stock_price", "prev_price_by_stock_and_exchange", {
749
+ * offset: 1,
750
+ * categories: ["stock_symbol", "exchange"],
751
+ * });
752
+ * ```
753
+ */
754
+ cloneColumnWithOffset(originalColumn: string, newColumn: string, options?: {
755
+ offset?: number;
756
+ categories?: string | string[];
757
+ }): Promise<void>;
758
+ /**
759
+ * Fills `NULL` values in specified columns. By default, each `NULL` is replaced with the last non-`NULL` value from the preceding row. When `interpolate` is `true`, `NULL` values are replaced using linear interpolation (or extrapolation at the ends). Pass `interpolateBy` with a real numeric or date column name to use it as the X-axis, so that interpolated values are proportional to the actual distances between X-axis values rather than treating every row as equidistant. When `interpolateBy` is set, `interpolate` is automatically assumed `true`.
760
+ *
761
+ * @param columns - The column(s) for which to fill `NULL` values.
762
+ * @param options - An optional object with configuration options:
763
+ * @param options.categories - A string or an array of strings representing columns to partition the data by. The fill will be applied independently within each category.
764
+ * @param options.interpolate - If `true`, replaces `NULL` values with linearly interpolated values using DuckDB's `fill()` window function. When `interpolateBy` is not set, row positions are used as the X-axis, treating rows as equidistant. For `NULL` values at the ends, linear extrapolation is used. Both the column values and the X-axis values must support arithmetic. If `false` or omitted, the previous non-`NULL` value is used instead. Automatically assumed `true` when `interpolateBy` is set.
765
+ * @param options.interpolateBy - A column name to use as the X-axis for interpolation instead of equidistant row positions. When provided, `interpolate` is automatically assumed `true`. Use this when rows are not evenly spaced (e.g., timestamps or non-uniform numeric indices) so that interpolated values are proportional to the actual distance between X-axis values.
766
+ * @returns A promise that resolves when the `NULL` values have been filled.
767
+ * @category Updating Data
768
+ *
769
+ * @example
770
+ * ```ts
771
+ * // Fill NULL values in 'column1' with the previous non-NULL value
772
+ * await table.fill("column1");
773
+ * ```
774
+ *
775
+ * @example
776
+ * ```ts
777
+ * // Fill NULL values in multiple columns
778
+ * await table.fill(["columnA", "columnB"]);
779
+ * ```
780
+ *
781
+ * @example
782
+ * ```ts
783
+ * // Fill NULL values in 'value' independently within each 'group'
784
+ * await table.fill("value", { categories: "group" });
785
+ * ```
786
+ *
787
+ * @example
788
+ * ```ts
789
+ * // Fill NULL values in 'value' using linear interpolation
790
+ * await table.fill("value", { interpolate: true });
791
+ * ```
792
+ *
793
+ * @example
794
+ * ```ts
795
+ * // Fill NULL values in 'value' using linear interpolation, independently within each 'group'
796
+ * await table.fill("value", { categories: "group", interpolate: true });
797
+ * ```
798
+ *
799
+ * @example
800
+ * ```ts
801
+ * // Fill NULL values in 'value' using linear interpolation proportional to 'x' distances
802
+ * await table.fill("value", { interpolate: true, interpolateBy: "x" });
803
+ * ```
804
+ *
805
+ * @example
806
+ * ```ts
807
+ * // interpolateBy implies interpolate: true, so this is equivalent to the previous example
808
+ * await table.fill("value", { interpolateBy: "x" });
809
+ * ```
810
+ */
811
+ fill(columns: string | string[], options?: {
812
+ categories?: string | string[];
813
+ interpolate?: boolean;
814
+ interpolateBy?: string;
815
+ }): Promise<void>;
816
+ /**
817
+ * Sorts the rows of the table based on specified column(s) and order(s).
818
+ * If no columns are specified, all columns are sorted from left to right in ascending order.
819
+ *
820
+ * @param order - An object mapping column names to their sorting order: `"asc"` for ascending or `"desc"` for descending. If `null`, all columns are sorted ascendingly.
821
+ * @param options - An optional object with configuration options:
822
+ * @param options.lang - An object mapping column names to language codes for collation (e.g., `{ column1: "fr" }`). See DuckDB Collations documentation for more details: https://duckdb.org/docs/sql/expressions/collations.
823
+ * @returns A promise that resolves when the table has been sorted.
824
+ * @category Restructuring Data
825
+ *
826
+ * @example
827
+ * ```ts
828
+ * // Sort all columns from left to right in ascending order
829
+ * await table.sort();
830
+ * ```
831
+ *
832
+ * @example
833
+ * ```ts
834
+ * // Sort 'column1' in ascending order
835
+ * await table.sort({ column1: "asc" });
836
+ * ```
837
+ *
838
+ * @example
839
+ * ```ts
840
+ * // Sort 'column1' ascendingly, then 'column2' descendingly
841
+ * await table.sort({ column1: "asc", column2: "desc" });
842
+ * ```
843
+ *
844
+ * @example
845
+ * ```ts
846
+ * // Sort 'column1' considering French accents
847
+ * await table.sort({ column1: "asc" }, { lang: { column1: "fr" } });
848
+ * ```
849
+ */
850
+ sort(order?: {
851
+ [key: string]: "asc" | "desc";
852
+ } | null, options?: {
853
+ lang?: {
854
+ [key: string]: string;
855
+ };
856
+ }): Promise<void>;
857
+ /**
858
+ * Selects specific columns in the table, removing all others.
859
+ *
860
+ * @param columns - The name or an array of names of the columns to be selected.
861
+ * @returns A promise that resolves when the columns have been selected.
862
+ * @category Selecting or Filtering Data
863
+ *
864
+ * @example
865
+ * ```ts
866
+ * // Select only the 'firstName' and 'lastName' columns, removing all other columns.
867
+ * await table.selectColumns(["firstName", "lastName"]);
868
+ * ```
869
+ *
870
+ * @example
871
+ * ```ts
872
+ * // Select only the 'productName' column.
873
+ * await table.selectColumns("productName");
874
+ * ```
875
+ */
876
+ selectColumns(columns: string | string[]): Promise<void>;
877
+ /**
878
+ * Skips the first `n` rows of the table, effectively removing them.
879
+ *
880
+ * @param nbRowsToSkip - The number of rows to skip from the beginning of the table.
881
+ * @returns A promise that resolves when the rows have been skipped.
882
+ * @category Selecting or Filtering Data
883
+ *
884
+ * @example
885
+ * ```ts
886
+ * // Skip the first 10 rows of the table
887
+ * await table.skip(10);
888
+ * ```
889
+ */
890
+ skip(nbRowsToSkip: number): Promise<void>;
891
+ /**
892
+ * Checks if a column with the specified name exists in the table.
893
+ *
894
+ * @param column - The name of the column to check.
895
+ * @returns A promise that resolves to `true` if the column exists, `false` otherwise.
896
+ * @category Column Operations
897
+ *
898
+ * @example
899
+ * ```ts
900
+ * // Check if the table has a column named "age"
901
+ * const hasAgeColumn = await table.hasColumn("age");
902
+ * console.log(hasAgeColumn); // Output: true or false
903
+ * ```
904
+ */
905
+ hasColumn(column: string): Promise<boolean>;
906
+ /**
907
+ * Selects random rows from the table, removing all others. You can optionally specify a seed to ensure repeatable sampling.
908
+ *
909
+ * @param quantity - The number of rows to select (e.g., `100`) or a percentage string (e.g., `"10%"`) specifying the sampling size.
910
+ * @param options - An optional object with configuration options:
911
+ * @param options.seed - A number specifying the seed for repeatable sampling. Using the same seed will always yield the same random rows. Defaults to a random seed.
912
+ * @returns A promise that resolves when the sampling is complete.
913
+ * @category Selecting or Filtering Data
914
+ *
915
+ * @example
916
+ * ```ts
917
+ * // Select 100 random rows from the table
918
+ * await table.sample(100);
919
+ * ```
920
+ *
921
+ * @example
922
+ * ```ts
923
+ * // Select 10% of the rows randomly
924
+ * await table.sample("10%");
925
+ * ```
926
+ *
927
+ * @example
928
+ * ```ts
929
+ * // Select random rows with a specific seed for repeatable results
930
+ * await table.sample("10%", { seed: 123 });
931
+ * ```
932
+ */
933
+ sample(quantity: number | string, options?: {
934
+ seed?: number;
935
+ }): Promise<void>;
936
+ /**
937
+ * Selects a specified number of rows from this table. An offset can be applied to skip initial rows, and the results can be output to a new table.
938
+ *
939
+ * @param count - The number of rows to select.
940
+ * @param options - An optional object with configuration options:
941
+ * @param options.offset - The number of rows to skip from the beginning of the table before selecting. Defaults to `0`.
942
+ * @param options.outputTable - If `true`, the selected rows will be stored in a new table with a generated name. If a string, it will be used as the name for the new table. If `false` or omitted, the current table will be modified. Defaults to `false`.
943
+ * @returns A promise that resolves to a table instance containing the selected rows (either the modified current table or a new table).
944
+ * @category Selecting or Filtering Data
945
+ *
946
+ * @example
947
+ * ```ts
948
+ * // Select the first 100 rows of the current table
949
+ * await table.selectRows(100);
950
+ * ```
951
+ *
952
+ * @example
953
+ * ```ts
954
+ * // Select 100 rows after skipping the first 50 rows
955
+ * await table.selectRows(100, { offset: 50 });
956
+ * ```
957
+ *
958
+ * @example
959
+ * ```ts
960
+ * // Select 50 rows and store them in a new table with a generated name
961
+ * const newTable = await table.selectRows(50, { outputTable: true });
962
+ * ```
963
+ *
964
+ * @example
965
+ * ```ts
966
+ * // Select 75 rows and store them in a new table named "top_customers"
967
+ * const topCustomersTable = await table.selectRows(75, { outputTable: "top_customers" });
968
+ * ```
969
+ */
970
+ selectRows(count: number | string, options?: {
971
+ offset?: number;
972
+ outputTable?: string | boolean;
973
+ }): Promise<this>;
974
+ /**
975
+ * Removes duplicate rows from this table, keeping only unique rows.
976
+ * Note that the resulting data order might differ from the original.
977
+ *
978
+ * @param options - An optional object with configuration options:
979
+ * @param options.on - A column name or an array of column names to consider when identifying duplicates. If specified, duplicates are determined based only on the values in these columns. If omitted, all columns are considered.
980
+ * @returns A promise that resolves when the duplicate rows have been removed.
981
+ * @category Selecting or Filtering Data
982
+ *
983
+ * @example
984
+ * ```ts
985
+ * // Remove duplicate rows based on all columns
986
+ * await table.removeDuplicates();
987
+ * ```
988
+ *
989
+ * @example
990
+ * ```ts
991
+ * // Remove duplicate rows based only on the 'email' column
992
+ * await table.removeDuplicates({ on: "email" });
993
+ * ```
994
+ *
995
+ * @example
996
+ * ```ts
997
+ * // Remove duplicate rows based on 'firstName' and 'lastName' columns
998
+ * await table.removeDuplicates({ on: ["firstName", "lastName"] });
999
+ * ```
1000
+ */
1001
+ removeDuplicates(options?: {
1002
+ on?: string | string[];
1003
+ }): Promise<void>;
1004
+ /**
1005
+ * Removes rows with missing values from this table.
1006
+ * By default, missing values include SQL `NULL`, as well as string representations like `"NULL"`, `"null"`, `"NaN"`, `"undefined"`, and empty strings `""`.
1007
+ *
1008
+ * @param options - An optional object with configuration options:
1009
+ * @param options.columns - A string or an array of strings specifying the columns to consider for missing values. If omitted, all columns are considered.
1010
+ * @param options.missingValues - An array of values to be treated as missing values instead of the default ones. Defaults to `["undefined", "NaN", "null", "NULL", ""]`.
1011
+ * @param options.invert - A boolean indicating whether to invert the condition. If `true`, only rows containing missing values will be kept. Defaults to `false`.
1012
+ * @returns A promise that resolves when the rows with missing values have been removed.
1013
+ * @category Selecting or Filtering Data
1014
+ *
1015
+ * @example
1016
+ * ```ts
1017
+ * // Remove rows with missing values in any column
1018
+ * await table.removeMissing();
1019
+ * ```
1020
+ *
1021
+ * @example
1022
+ * ```ts
1023
+ * // Remove rows with missing values only in 'firstName' or 'lastName' columns
1024
+ * await table.removeMissing({ columns: ["firstName", "lastName"] });
1025
+ * ```
1026
+ *
1027
+ * @example
1028
+ * ```ts
1029
+ * // Keep only rows with missing values in any column
1030
+ * await table.removeMissing({ invert: true });
1031
+ * ```
1032
+ *
1033
+ * @example
1034
+ * ```ts
1035
+ * // Remove rows where 'age' is missing or is equal to -1
1036
+ * await table.removeMissing({ columns: "age", missingValues: [-1] });
1037
+ * ```
1038
+ */
1039
+ removeMissing(options?: {
1040
+ columns?: string | string[];
1041
+ missingValues?: (string | number)[];
1042
+ invert?: boolean;
1043
+ }): Promise<void>;
1044
+ /**
1045
+ * Trims specified characters from the beginning, end, or both sides of string values in the given columns.
1046
+ *
1047
+ * @param columns - The column name or an array of column names to trim.
1048
+ * @param options - An optional object with configuration options:
1049
+ * @param options.character - The string to trim. Defaults to whitespace characters.
1050
+ * @param options.method - The trimming method to apply: `"leftTrim"` (removes from the beginning), `"rightTrim"` (removes from the end), or `"trim"` (removes from both sides). Defaults to `"trim"`.
1051
+ * @returns A promise that resolves when the trimming operation is complete.
1052
+ * @category Updating Data
1053
+ *
1054
+ * @example
1055
+ * ```ts
1056
+ * // Trim whitespace from 'column1'
1057
+ * await table.trim("column1");
1058
+ * ```
1059
+ *
1060
+ * @example
1061
+ * ```ts
1062
+ * // Trim leading and trailing asterisks from 'productCode'
1063
+ * await table.trim("productCode", { character: "*" });
1064
+ * ```
1065
+ *
1066
+ * @example
1067
+ * ```ts
1068
+ * // Right-trim whitespace from 'description' and 'notes' columns
1069
+ * await table.trim(["description", "notes"], { method: "rightTrim" });
1070
+ * ```
1071
+ */
1072
+ trim(columns: string | string[], options?: {
1073
+ character?: string;
1074
+ method?: "leftTrim" | "rightTrim" | "trim";
1075
+ }): Promise<void>;
1076
+ /**
1077
+ * Filters rows from this table based on SQL conditions. Note that it's often faster to use the `removeRows` method for simple removals.
1078
+ * You can also use JavaScript syntax for conditions (e.g., `&&`, `||`, `===`, `!==`).
1079
+ *
1080
+ * @param conditions - The filtering conditions specified as a SQL `WHERE` clause (e.g., `"column1 > 10 AND column2 = 'value'"`).
1081
+ * @returns A promise that resolves when the rows have been filtered.
1082
+ * @category Selecting or Filtering Data
1083
+ *
1084
+ * @example
1085
+ * ```ts
1086
+ * // Keep only rows where the 'fruit' column is not 'apple'
1087
+ * await table.filter(`fruit != 'apple'`);
1088
+ * ```
1089
+ *
1090
+ * @example
1091
+ * ```ts
1092
+ * // Keep rows where 'price' is greater than 100 AND 'quantity' is greater than 0
1093
+ * await table.filter(`price > 100 && quantity > 0`); // Using JS syntax
1094
+ * ```
1095
+ *
1096
+ * @example
1097
+ * ```ts
1098
+ * // Keep rows where 'category' is 'Electronics' OR 'Appliances'
1099
+ * await table.filter(`category === 'Electronics' || category === 'Appliances'`); // Using JS syntax
1100
+ * ```
1101
+ *
1102
+ * @example
1103
+ * ```ts
1104
+ * // Keep rows where 'lastPurchaseDate' is on or after '2023-01-01'
1105
+ * await table.filter(`lastPurchaseDate >= '2023-01-01'`);
1106
+ * ```
1107
+ */
1108
+ filter(conditions: string): Promise<void>;
1109
+ /**
1110
+ * Keeps rows in this table that have specific values in specified columns, removing all other rows.
1111
+ *
1112
+ * @param columnsAndValues - An object where keys are column names and values are the specific values (or an array of values) to keep in those columns.
1113
+ * @returns A promise that resolves when the rows have been filtered.
1114
+ * @category Selecting or Filtering Data
1115
+ *
1116
+ * @example
1117
+ * ```ts
1118
+ * // Keep only rows where 'job' is 'accountant' or 'developer', AND 'city' is 'Montreal'
1119
+ * await table.keep({ job: ["accountant", "developer"], city: "Montreal" });
1120
+ * ```
1121
+ *
1122
+ * @example
1123
+ * ```ts
1124
+ * // Keep only rows where 'status' is 'active'
1125
+ * await table.keep({ status: "active" });
1126
+ * ```
1127
+ */
1128
+ keep(columnsAndValues: {
1129
+ [key: string]: (number | string | Date | boolean | null)[] | (number | string | Date | boolean | null);
1130
+ }): Promise<void>;
1131
+ /**
1132
+ * Removes rows from this table that have specific values in specified columns.
1133
+ *
1134
+ * @param columnsAndValues - An object where keys are column names and values are the specific values (or an array of values) to remove from those columns.
1135
+ * @returns A promise that resolves when the rows have been removed.
1136
+ * @category Selecting or Filtering Data
1137
+ *
1138
+ * @example
1139
+ * ```ts
1140
+ * // Remove rows where 'job' is 'accountant' or 'developer', AND 'city' is 'Montreal'
1141
+ * await table.remove({ job: ["accountant", "developer"], city: "Montreal" });
1142
+ * ```
1143
+ *
1144
+ * @example
1145
+ * ```ts
1146
+ * // Remove rows where 'status' is 'inactive'
1147
+ * await table.remove({ status: "inactive" });
1148
+ * ```
1149
+ */
1150
+ remove(columnsAndValues: {
1151
+ [key: string]: (number | string | Date | boolean | null)[] | (number | string | Date | boolean | null);
1152
+ }): Promise<void>;
1153
+ /**
1154
+ * Removes rows from this table based on SQL conditions. This method is similar to `filter()`, but removes rows instead of keeping them.
1155
+ * You can also use JavaScript syntax for conditions (e.g., `&&`, `||`, `===`, `!==`).
1156
+ *
1157
+ * @param conditions - The filtering conditions specified as a SQL `WHERE` clause (e.g., `"fruit = 'apple'"`).
1158
+ * @returns A promise that resolves when the rows have been removed.
1159
+ * @category Selecting or Filtering Data
1160
+ *
1161
+ * @example
1162
+ * ```ts
1163
+ * // Remove rows where the 'fruit' column is 'apple'
1164
+ * await table.removeRows(`fruit = 'apple'`);
1165
+ * ```
1166
+ *
1167
+ * @example
1168
+ * ```ts
1169
+ * // Remove rows where 'quantity' is less than 5
1170
+ * await table.removeRows(`quantity < 5`);
1171
+ * ```
1172
+ *
1173
+ * @example
1174
+ * ```ts
1175
+ * // Remove rows where 'price' is less than 100 AND 'quantity' is 0
1176
+ * await table.removeRows(`price < 100 && quantity === 0`); // Using JS syntax
1177
+ * ```
1178
+ *
1179
+ * @example
1180
+ * ```ts
1181
+ * // Remove rows where 'category' is 'Electronics' OR 'Appliances'
1182
+ * await table.removeRows(`category === 'Electronics' || category === 'Appliances'`); // Using JS syntax
1183
+ * ```
1184
+ */
1185
+ removeRows(conditions: string): Promise<void>;
1186
+ /**
1187
+ * Renames one or more columns in the table.
1188
+ *
1189
+ * @param names - An object mapping old column names to their new column names (e.g., `{ "oldName": "newName", "anotherOld": "anotherNew" }`).
1190
+ * @returns A promise that resolves when the columns have been renamed.
1191
+ * @category Column Operations
1192
+ *
1193
+ * @example
1194
+ * ```ts
1195
+ * // Rename "How old?" to "age" and "Man or woman?" to "sex"
1196
+ * await table.renameColumns({ "How old?": "age", "Man or woman?": "sex" });
1197
+ * ```
1198
+ *
1199
+ * @example
1200
+ * ```ts
1201
+ * // Rename a single column
1202
+ * await table.renameColumns({ "product_id": "productId" });
1203
+ * ```
1204
+ */
1205
+ renameColumns(names: {
1206
+ [key: string]: string;
1207
+ }): Promise<void>;
1208
+ /**
1209
+ * Cleans column names by removing non-alphanumeric characters and formatting them to camel case.
1210
+ *
1211
+ * @returns A promise that resolves when the column names have been cleaned.
1212
+ * @category Column Operations
1213
+ *
1214
+ * @example
1215
+ * ```ts
1216
+ * // Clean all column names in the table
1217
+ * // e.g., "First Name" becomes "firstName", "Product ID" becomes "productId"
1218
+ * await table.cleanColumnNames();
1219
+ * ```
1220
+ */
1221
+ cleanColumnNames(): Promise<void>;
1222
+ /**
1223
+ * Restructures this table by stacking (unpivoting) columns. This is useful for tidying up data from a wide format to a long format.
1224
+ *
1225
+ * For example, given a table showing employee counts per department per year:
1226
+ *
1227
+ * | Department | 2021 | 2022 | 2023 |
1228
+ * | :--------- | :--- | :--- | :--- |
1229
+ * | Accounting | 10 | 9 | 15 |
1230
+ * | Sales | 52 | 75 | 98 |
1231
+ *
1232
+ * We can restructure it by putting all year columns into a new column named `Year` and their corresponding employee counts into a new column named `Employees`.
1233
+ *
1234
+ * @example
1235
+ * ```ts
1236
+ * // Restructure the table by stacking year columns into 'year' and 'employees'
1237
+ * await table.longer(["2021", "2022", "2023"], "year", "employees");
1238
+ * ```
1239
+ *
1240
+ * The table will then look like this:
1241
+ *
1242
+ * | Department | Year | Employees |
1243
+ * | :--------- | :--- | :-------- |
1244
+ * | Accounting | 2021 | 10 |
1245
+ * | Accounting | 2022 | 9 |
1246
+ * | Accounting | 2023 | 15 |
1247
+ * | Sales | 2021 | 52 |
1248
+ * | Sales | 2022 | 75 |
1249
+ * | Sales | 2023 | 98 |
1250
+ *
1251
+ * @param columns - An array of strings representing the names of the columns to be stacked (unpivoted).
1252
+ * @param columnsTo - The name of the new column that will contain the original column names (e.g., "Year").
1253
+ * @param valuesTo - The name of the new column that will contain the values from the stacked columns (e.g., "Employees").
1254
+ * @returns A promise that resolves when the table has been restructured.
1255
+ * @category Restructuring Data
1256
+ */
1257
+ longer(columns: string[], columnsTo: string, valuesTo: string): Promise<void>;
1258
+ /**
1259
+ * Restructures this table by unstacking (pivoting) values, transforming data from a long format to a wide format.
1260
+ *
1261
+ * For example, given a table showing employee counts per department per year:
1262
+ *
1263
+ * | Department | Year | Employees |
1264
+ * | :--------- | :--- | :-------- |
1265
+ * | Accounting | 2021 | 10 |
1266
+ * | Accounting | 2022 | 9 |
1267
+ * | Accounting | 2023 | 15 |
1268
+ * | Sales | 2021 | 52 |
1269
+ * | Sales | 2022 | 75 |
1270
+ * | Sales | 2023 | 98 |
1271
+ *
1272
+ * We can restructure it by creating new columns for each year, with the associated employee counts as values.
1273
+ *
1274
+ * @example
1275
+ * ```ts
1276
+ * // Restructure the table by pivoting 'Year' into new columns with 'Employees' as values
1277
+ * await table.wider("Year", "Employees");
1278
+ * ```
1279
+ *
1280
+ * The table will then look like this:
1281
+ *
1282
+ * | Department | 2021 | 2022 | 2023 |
1283
+ * | :--------- | :--- | :--- | :--- |
1284
+ * | Accounting | 10 | 9 | 15 |
1285
+ * | Sales | 52 | 75 | 98 |
1286
+ *
1287
+ * @param columnsFrom - The name of the column containing the values that will be transformed into new column headers (e.g., "Year").
1288
+ * @param valuesFrom - The name of the column containing the values to be spread across the new columns (e.g., "Employees").
1289
+ * @returns A promise that resolves when the table has been restructured.
1290
+ * @category Restructuring Data
1291
+ */
1292
+ wider(columnsFrom: string, valuesFrom: string): Promise<void>;
1293
+ /**
1294
+ * Converts data types of specified columns to target types (JavaScript or SQL types).
1295
+ *
1296
+ * When converting timestamps, dates, or times to/from strings, you must provide a `datetimeFormat` option using [DuckDB's format specifiers](https://duckdb.org/docs/sql/functions/dateformat).
1297
+ *
1298
+ * When converting timestamps, dates, or times to/from numbers, the numerical representation will be in milliseconds since the Unix epoch (1970-01-01 00:00:00 UTC).
1299
+ *
1300
+ * When converting strings to numbers, commas (often used as thousand separators) will be automatically removed before conversion.
1301
+ *
1302
+ * @param types - An object mapping column names to their target data types for conversion.
1303
+ * @param options - An optional object with configuration options:
1304
+ * @param options.try - If `true`, values that cannot be converted will be replaced by `NULL` instead of throwing an error. Defaults to `false`.
1305
+ * @param options.datetimeFormat - A string specifying the format for date and time conversions. Uses `strftime` and `strptime` functions from DuckDB. For format specifiers, see [DuckDB's documentation](https://duckdb.org/docs/sql/functions/dateformat).
1306
+ * @returns A promise that resolves when the column types have been converted.
1307
+ * @category Updating Data
1308
+ *
1309
+ * @example
1310
+ * ```ts
1311
+ * // Convert 'column1' to string and 'column2' to integer (JavaScript types)
1312
+ * await table.convert({ column1: "string", column2: "integer" });
1313
+ * ```
1314
+ *
1315
+ * @example
1316
+ * ```ts
1317
+ * // Convert 'column1' to VARCHAR and 'column2' to BIGINT (SQL types)
1318
+ * await table.convert({ column1: "varchar", column2: "bigint" });
1319
+ * ```
1320
+ *
1321
+ * @example
1322
+ * ```ts
1323
+ * // Convert strings in 'column3' to datetime using a specific format
1324
+ * await table.convert({ column3: "datetime" }, { datetimeFormat: "%Y-%m-%d" });
1325
+ * ```
1326
+ *
1327
+ * @example
1328
+ * ```ts
1329
+ * // Convert datetime values in 'column3' to strings using a specific format
1330
+ * await table.convert({ column3: "string" }, { datetimeFormat: "%Y-%m-%d %H:%M:%S" });
1331
+ * ```
1332
+ *
1333
+ * @example
1334
+ * ```ts
1335
+ * // Convert 'amount' to float, replacing unconvertible values with NULL
1336
+ * await table.convert({ amount: "float" }, { try: true });
1337
+ * ```
1338
+ */
1339
+ convert(types: {
1340
+ [key: string]: "integer" | "float" | "number" | "string" | "date" | "time" | "datetime" | "datetimeTz" | "bigint" | "double" | "varchar" | "timestamp" | "timestamp with time zone" | "boolean";
1341
+ }, options?: {
1342
+ try?: boolean;
1343
+ datetimeFormat?: string;
1344
+ }): Promise<void>;
1345
+ /**
1346
+ * Removes the table from the database. After this operation, invoking methods on this SimpleTable instance will result in an error.
1347
+ *
1348
+ * @returns A promise that resolves when the table has been removed.
1349
+ * @category Table Management
1350
+ *
1351
+ * @example
1352
+ * ```ts
1353
+ * // Remove the current table from the database
1354
+ * await table.removeTable();
1355
+ * ```
1356
+ */
1357
+ removeTable(): Promise<void>;
1358
+ /**
1359
+ * Removes one or more columns from this table.
1360
+ *
1361
+ * @param columns - The name or an array of names of the columns to be removed.
1362
+ * @returns A promise that resolves when the columns have been removed.
1363
+ * @category Column Operations
1364
+ *
1365
+ * @example
1366
+ * ```ts
1367
+ * // Remove 'column1' and 'column2' from the table
1368
+ * await table.removeColumns(["column1", "column2"]);
1369
+ * ```
1370
+ *
1371
+ * @example
1372
+ * ```ts
1373
+ * // Remove a single column named 'tempColumn'
1374
+ * await table.removeColumns("tempColumn");
1375
+ * ```
1376
+ */
1377
+ removeColumns(columns: string | string[]): Promise<void>;
1378
+ /**
1379
+ * Adds a new column to the table based on a specified data type (JavaScript or SQL types) and a SQL definition.
1380
+ *
1381
+ * @param newColumn - The name of the new column to be added.
1382
+ * @param type - The data type for the new column. Can be a JavaScript type (e.g., `"number"`, `"string"`) or a SQL type (e.g., `"integer"`, `"varchar"`).
1383
+ * @param definition - A SQL expression defining how the values for the new column should be computed (e.g., `"column1 + column2"`, `"ST_Centroid(geom_column)"`).
1384
+ * @param options - An optional object with configuration options:
1385
+ * @param options.projection - Required if the new column stores geometries. Specifies the geospatial projection of the new geometry column. You can reuse the projection of an existing geometry column (available in `table.projections`).
1386
+ * @returns A promise that resolves when the new column has been added.
1387
+ * @category Column Operations
1388
+ *
1389
+ * @example
1390
+ * ```ts
1391
+ * // Add a new column 'total' as a float, calculated from 'column1' and 'column2'
1392
+ * await table.addColumn("total", "float", "column1 + column2");
1393
+ * ```
1394
+ *
1395
+ * @example
1396
+ * ```ts
1397
+ * // Add a new geometry column 'centroid' using the centroid of an existing 'country' geometry column
1398
+ * // The projection of the new 'centroid' column is set to be the same as 'country'.
1399
+ * await table.addColumn("centroid", "geometry", `ST_Centroid("country")`, {
1400
+ * projection: table.projections.country,
1401
+ * });
1402
+ * ```
1403
+ */
1404
+ addColumn(newColumn: string, type: "integer" | "float" | "number" | "string" | "date" | "time" | "datetime" | "datetimeTz" | "bigint" | "double" | "varchar" | "timestamp" | "timestamp with time zone" | "boolean" | "geometry", definition: string, options?: {
1405
+ projection?: string;
1406
+ }): Promise<void>;
1407
+ /**
1408
+ * Adds a new column to the table containing the row number.
1409
+ *
1410
+ * @param newColumn - The name of the new column that will store the row number.
1411
+ * @returns A promise that resolves when the row number column has been added.
1412
+ * @category Column Operations
1413
+ *
1414
+ * @example
1415
+ * ```ts
1416
+ * // Add a new column named 'rowNumber' with the row number for each row
1417
+ * await table.addRowNumber("rowNumber");
1418
+ * ```
1419
+ */
1420
+ addRowNumber(newColumn: string): Promise<void>;
1421
+ /**
1422
+ * Performs a cross join operation with another table. A cross join returns the Cartesian product of the rows from both tables, meaning all possible pairs of rows will be in the resulting table.
1423
+ * This means that if the left table has `n` rows and the right table has `m` rows, the result will have `n * m` rows.
1424
+ *
1425
+ * @param rightTable - The SimpleTable instance to cross join with.
1426
+ * @param options - An optional object with configuration options:
1427
+ * @param options.outputTable - If `true`, the results will be stored in a new table with a generated name. If a string, it will be used as the name for the new table. If `false` or omitted, the current table will be overwritten. Defaults to `false`.
1428
+ * @returns A promise that resolves to a table instance containing the cross-joined data (either the modified current table or a new table).
1429
+ * @category Table Operations
1430
+ *
1431
+ * @example
1432
+ * ```ts
1433
+ * // Perform a cross join with 'tableB', overwriting the current table (tableA)
1434
+ * await tableA.crossJoin(tableB);
1435
+ * ```
1436
+ *
1437
+ * @example
1438
+ * ```ts
1439
+ * // Perform a cross join with 'tableB' and store the results in a new table with a generated name
1440
+ * const tableC = await tableA.crossJoin(tableB, { outputTable: true });
1441
+ * ```
1442
+ *
1443
+ * @example
1444
+ * ```ts
1445
+ * // Perform a cross join with 'tableB' and store the results in a new table named 'tableC'
1446
+ * const tableC = await tableA.crossJoin(tableB, { outputTable: "tableC" });
1447
+ * ```
1448
+ */
1449
+ crossJoin(rightTable: SimpleTable, options?: {
1450
+ outputTable?: string | boolean;
1451
+ }): Promise<this>;
1452
+ /**
1453
+ * Merges the data of this table (considered the left table) with another table (the right table) based on a common column or multiple columns.
1454
+ * Note that the order of rows in the returned data is not guaranteed to be the same as in the original tables.
1455
+ * This operation might create temporary files in a `.tmp` folder; consider adding `.tmp` to your `.gitignore`.
1456
+ *
1457
+ * @param rightTable - The SimpleTable instance to be joined with this table.
1458
+ * @param options - An optional object with configuration options:
1459
+ * @param options.commonColumn - The common column(s) used for the join operation. If omitted, the method automatically searches for a column name that exists in both tables. Can be a single string or an array of strings for multiple join keys.
1460
+ * @param options.type - The type of join operation to perform. Possible values are `"inner"`, `"left"` (default), `"right"`, or `"full"`.
1461
+ * @param options.outputTable - If `true`, the results will be stored in a new table with a generated name. If a string, it will be used as the name for the new table. If `false` or omitted, the current table will be overwritten. Defaults to `false`.
1462
+ * @returns A promise that resolves to a table instance containing the joined data (either the modified current table or a new table).
1463
+ * @category Table Operations
1464
+ *
1465
+ * @example
1466
+ * ```ts
1467
+ * // Perform a left join with 'tableB' on a common column (auto-detected), overwriting tableA
1468
+ * await tableA.join(tableB);
1469
+ * ```
1470
+ *
1471
+ * @example
1472
+ * ```ts
1473
+ * // Perform an inner join with 'tableB' on the 'id' column, storing results in a new table named 'tableC'
1474
+ * const tableC = await tableA.join(tableB, { commonColumn: 'id', type: 'inner', outputTable: "tableC" });
1475
+ * ```
1476
+ *
1477
+ * @example
1478
+ * ```ts
1479
+ * // Perform a join on multiple columns ('name' and 'category')
1480
+ * await tableA.join(tableB, { commonColumn: ['name', 'category'] });
1481
+ * ```
1482
+ */
1483
+ join(rightTable: SimpleTable, options?: {
1484
+ commonColumn?: string | string[];
1485
+ type?: "inner" | "left" | "right" | "full";
1486
+ outputTable?: string | boolean;
1487
+ }): Promise<this>;
1488
+ /**
1489
+ * Performs a fuzzy left join between this table (considered the left table) and another table
1490
+ * (the right table) based on string similarity between two text columns. Uses the
1491
+ * [rapidfuzz](https://query.farm/duckdb_extension_rapidfuzz) DuckDB community extension.
1492
+ *
1493
+ * If a similarity score column is added to the results, the rows will be ordered alphabetically by the left column, and then by descending similarity score within each group of identical left column values. Otherwise, the rows will be order alphabetically by the left column and then by the right column.
1494
+ *
1495
+ * This operation might create temporary files in a `.tmp` folder; consider adding `.tmp` to your `.gitignore`.
1496
+ *
1497
+ * @param rightTable - The SimpleTable instance to be joined with this table.
1498
+ * @param leftColumn - The name of the column in this (left) table containing the text to compare.
1499
+ * @param rightColumn - The name of the column in the right table containing the text to compare.
1500
+ * @param threshold - The minimum similarity score (0–100) required for two rows to be joined. For `method: "ratio"`, a length-based pre-filter is automatically applied based on the threshold to improve performance without losing accuracy.
1501
+ * @param options - An optional object with configuration options:
1502
+ * @param options.method - The rapidfuzz similarity algorithm to use. Defaults to `"ratio"`.
1503
+ * - `"ratio"`: Overall similarity (Levenshtein-based).
1504
+ * - `"partial_ratio"`: Best partial/substring similarity.
1505
+ * - `"token_sort_ratio"`: Similarity after sorting tokens (words), useful for reordered words.
1506
+ * - `"token_set_ratio"`: Similarity based on sets of tokens, ignoring duplicates and word order.
1507
+ * @param options.similarityColumn - If provided, a column with this name is added to the result containing the similarity score (0–100). If omitted, the score is not included in the output.
1508
+ * @param options.outputTable - If `true`, the results will be stored in a new table with a generated name. If a string, it will be used as the name for the new table. If `false` or omitted, the current table will be overwritten. Defaults to `false`.
1509
+ * @param options.preFilterPrefixLen - An optional prefix length. Only strings sharing the same first N characters are compared. Note that prefix filtering is lossy (e.g. "John" vs. "Phon" will not match despite high similarity).
1510
+ * @returns A promise that resolves to a table instance containing the fuzzy-joined data (either the modified current table or a new table).
1511
+ * @category Table Operations
1512
+ *
1513
+ * @example
1514
+ * ```ts
1515
+ * // Fuzzy left join tableA with tableB on 'name' (left) and 'standardName' (right) with a threshold of 80
1516
+ * // A length-based pre-filter is automatically applied.
1517
+ * await tableA.fuzzyJoin(tableB, "name", "standardName", 80);
1518
+ * ```
1519
+ *
1520
+ * @example
1521
+ * ```ts
1522
+ * // Fuzzy join with a prefix-based pre-filter and a threshold of 80
1523
+ * await tableA.fuzzyJoin(tableB, "name", "standardName", 80, {
1524
+ * preFilterPrefixLen: 3, // Must share the same first 3 characters
1525
+ * });
1526
+ * ```
1527
+ *
1528
+ * @example
1529
+ * ```ts
1530
+ * // Fuzzy join with a custom threshold and method, storing results in a new table
1531
+ * const tableC = await tableA.fuzzyJoin(tableB, "name", "standardName", 90, {
1532
+ * method: "token_sort_ratio",
1533
+ * outputTable: "tableC",
1534
+ * });
1535
+ * ```
1536
+ *
1537
+ * @example
1538
+ * ```ts
1539
+ * // Fuzzy join with a custom similarity column name and a threshold of 80
1540
+ * await tableA.fuzzyJoin(tableB, "name", "standardName", 80, {
1541
+ * similarityColumn: "matchScore",
1542
+ * });
1543
+ * ```
1544
+ */
1545
+ fuzzyJoin(rightTable: SimpleTable, leftColumn: string, rightColumn: string, threshold: number, options?: {
1546
+ method?: "ratio" | "partial_ratio" | "token_sort_ratio" | "token_set_ratio";
1547
+ similarityColumn?: string;
1548
+ outputTable?: string | boolean;
1549
+ preFilterPrefixLen?: number;
1550
+ }): Promise<this>;
1551
+ /**
1552
+ * Normalizes string values in a column by detecting fuzzy duplicates and replacing them with a single canonical value.
1553
+ *
1554
+ * Similar strings are grouped into clusters. Matching is transitive: if `"New York"` is similar to `"New Yorke"` and
1555
+ * `"New Yorke"` is similar to `"New Yorkk"`, all three land in the same cluster even if `"New York"` and `"New Yorkk"`
1556
+ * would not match directly. Each cluster is then collapsed to one representative value based on the `keep` strategy.
1557
+ *
1558
+ * Similarity is computed using the [rapidfuzz](https://query.farm/duckdb_extension_rapidfuzz) DuckDB community extension,
1559
+ * which is installed and loaded automatically.
1560
+ *
1561
+ * @param column - The name of the column containing the strings to normalize.
1562
+ * @param newColumn - The name of the column to write the normalized values to. Use the same name as `column` to normalize in-place.
1563
+ * @param threshold - The minimum similarity score (0–100) for two strings to be considered duplicates. For `method: "ratio"`, a length-based pre-filter is automatically applied based on the threshold to improve performance without losing accuracy.
1564
+ * @param options - An optional object with configuration options:
1565
+ * @param options.method - The rapidfuzz similarity algorithm to use. Defaults to `"ratio"`.
1566
+ * - `"ratio"`: Overall similarity.
1567
+ * - `"partial_ratio"`: Best partial/substring similarity.
1568
+ * - `"token_sort_ratio"`: Similarity after sorting tokens (words), useful for reordered words.
1569
+ * - `"token_set_ratio"`: Similarity based on sets of tokens, ignoring duplicates and word order.
1570
+ * @param options.keep - The strategy for choosing the canonical value within each cluster of similar strings. Defaults to `"mostCommon"`.
1571
+ * - `"mostCommon"`: Keep the value that appears most frequently in the original column.
1572
+ * - `"longestString"`: Keep the longest string in the cluster.
1573
+ * - `"shortestString"`: Keep the shortest string in the cluster.
1574
+ * - `"mostCentral"`: Keep the string with the highest total similarity score to all other cluster members (the most "central" string).
1575
+ * - `"maxScore"`: Keep the string that participates in the single highest-scoring pairwise match within the cluster.
1576
+ * @param options.preFilterPrefixLen - An optional prefix length. Only strings sharing the same first N characters are compared. Note that prefix filtering is lossy (e.g. "John" vs. "Phon" will not match despite high similarity).
1577
+ * @returns A promise that resolves when the column has been normalized.
1578
+ * @category Updating Data
1579
+ *
1580
+ * @example
1581
+ * ```ts
1582
+ * // Normalize 'city' into a new 'cityClean' column, keeping the most common string per cluster with a threshold of 80
1583
+ * // A length-based pre-filter is automatically applied.
1584
+ * await table.fuzzyClean("city", "cityClean", 80);
1585
+ * ```
1586
+ *
1587
+ * @example
1588
+ * ```ts
1589
+ * // Normalize with a prefix-based pre-filter and a threshold of 80
1590
+ * await table.fuzzyClean("city", "cityClean", 80, {
1591
+ * preFilterPrefixLen: 5, // Must share the same first 5 characters
1592
+ * });
1593
+ * ```
1594
+ *
1595
+ * @example
1596
+ * ```ts
1597
+ * // Normalize 'companyName' into a new column using token_sort_ratio and a threshold of 90
1598
+ * await table.fuzzyClean("companyName", "companyNameClean", 90, { method: "token_sort_ratio" });
1599
+ * ```
1600
+ *
1601
+ * @example
1602
+ * ```ts
1603
+ * // Normalize 'category' in-place, keeping the longest string in each cluster and a threshold of 80
1604
+ * await table.fuzzyClean("category", "category", 80, { keep: "longestString" });
1605
+ * ```
1606
+ */
1607
+ fuzzyClean(column: string, newColumn: string, threshold: number, options?: {
1608
+ method?: "ratio" | "partial_ratio" | "token_sort_ratio" | "token_set_ratio";
1609
+ keep?: "mostCommon" | "longestString" | "shortestString" | "mostCentral" | "maxScore";
1610
+ preFilterPrefixLen?: number;
1611
+ }): Promise<void>;
1612
+ /**
1613
+ * Replaces specified strings in the selected columns.
1614
+ *
1615
+ * @param columns - The column name or an array of column names where string replacements will occur.
1616
+ * @param strings - An object mapping old strings to new strings (e.g., `{ "oldValue": "newValue" }`).
1617
+ * @param options - An optional object with configuration options:
1618
+ * @param options.entireString - A boolean indicating whether the entire cell content must match the `oldString` for replacement to occur. Defaults to `false` (replaces substrings).
1619
+ * @param options.regex - A boolean indicating whether the `oldString` should be treated as a regular expression for global replacement. Cannot be used with `entireString: true`. Defaults to `false`.
1620
+ * @returns A promise that resolves when the string replacements are complete.
1621
+ * @category Updating Data
1622
+ *
1623
+ * @example
1624
+ * ```ts
1625
+ * // Replace all occurrences of "kilograms" with "kg" in 'column1'
1626
+ * await table.replace("column1", { "kilograms": "kg" });
1627
+ * ```
1628
+ *
1629
+ * @example
1630
+ * ```ts
1631
+ * // Replace "kilograms" with "kg" and "liters" with "l" in 'column1' and 'column2'
1632
+ * await table.replace(["column1", "column2"], { "kilograms": "kg", "liters": "l" });
1633
+ * ```
1634
+ *
1635
+ * @example
1636
+ * ```ts
1637
+ * // Replace only if the entire string in 'column1' is "kilograms"
1638
+ * await table.replace("column1", { "kilograms": "kg" }, { entireString: true });
1639
+ * ```
1640
+ *
1641
+ * @example
1642
+ * ```ts
1643
+ * // Replace any sequence of one or more digits with a hyphen in 'column1' using regex
1644
+ * await table.replace("column1", { "\d+": "-" }, { regex: true });
1645
+ * ```
1646
+ */
1647
+ replace(columns: string | string[], strings: {
1648
+ [key: string]: string;
1649
+ }, options?: {
1650
+ entireString?: boolean;
1651
+ regex?: boolean;
1652
+ }): Promise<void>;
1653
+ /**
1654
+ * Converts string values in the specified columns to lowercase.
1655
+ *
1656
+ * @param columns - The column name or an array of column names to be converted to lowercase.
1657
+ * @returns A promise that resolves when the strings have been converted to lowercase.
1658
+ * @category Updating Data
1659
+ *
1660
+ * @example
1661
+ * ```ts
1662
+ * // Convert strings in 'column1' to lowercase
1663
+ * await table.lower("column1");
1664
+ * ```
1665
+ *
1666
+ * @example
1667
+ * ```ts
1668
+ * // Convert strings in 'column1' and 'column2' to lowercase
1669
+ * await table.lower(["column1", "column2"]);
1670
+ * ```
1671
+ */
1672
+ lower(columns: string | string[]): Promise<void>;
1673
+ /**
1674
+ * Converts string values in the specified columns to uppercase.
1675
+ *
1676
+ * @param columns - The column name or an array of column names to be converted to uppercase.
1677
+ * @returns A promise that resolves when the strings have been converted to uppercase.
1678
+ * @category Updating Data
1679
+ *
1680
+ * @example
1681
+ * ```ts
1682
+ * // Convert strings in 'column1' to uppercase
1683
+ * await table.upper("column1");
1684
+ * ```
1685
+ *
1686
+ * @example
1687
+ * ```ts
1688
+ * // Convert strings in 'column1' and 'column2' to uppercase
1689
+ * await table.upper(["column1", "column2"]);
1690
+ * ```
1691
+ */
1692
+ upper(columns: string | string[]): Promise<void>;
1693
+ /**
1694
+ * Capitalizes the first letter of each string in the specified columns and converts the rest of the string to lowercase.
1695
+ *
1696
+ * @param columns - The column name or an array of column names to be capitalized.
1697
+ * @returns A promise that resolves when the strings have been capitalized.
1698
+ * @category Updating Data
1699
+ *
1700
+ * @example
1701
+ * ```ts
1702
+ * // Capitalize strings in 'column1' (e.g., "hello world" becomes "Hello world")
1703
+ * await table.capitalize("column1");
1704
+ * ```
1705
+ *
1706
+ * @example
1707
+ * ```ts
1708
+ * // Capitalize strings in 'column1' and 'column2'
1709
+ * await table.capitalize(["column1", "column2"]);
1710
+ * ```
1711
+ */
1712
+ capitalize(columns: string | string[]): Promise<void>;
1713
+ /**
1714
+ * Truncates string values in a specified column to a maximum number of characters.
1715
+ *
1716
+ * @param column - The column name containing strings to be truncated.
1717
+ * @param length - The maximum number of characters to keep.
1718
+ * @returns A promise that resolves when the strings have been truncated.
1719
+ * @category Updating Data
1720
+ *
1721
+ * @example
1722
+ * ```ts
1723
+ * // Truncate strings in 'description' column to 50 characters
1724
+ * await table.truncate("description", 50);
1725
+ * ```
1726
+ *
1727
+ * @example
1728
+ * ```ts
1729
+ * // Truncate strings in 'name' column to 10 characters
1730
+ * await table.truncate("name", 10);
1731
+ * ```
1732
+ */
1733
+ truncate(column: string, length: number): Promise<void>;
1734
+ /**
1735
+ * Pads the strings in the specified columns to a target length.
1736
+ *
1737
+ * The columns must contain string (VARCHAR) values. An error is thrown if any
1738
+ * column is of a different type. `null` values remain `null`. If any string
1739
+ * already exceeds the target length, an error is thrown (no silent truncation).
1740
+ *
1741
+ * @param columns - The column name(s) containing strings to be padded.
1742
+ * @param length - The target length of the padded strings.
1743
+ * @param options - An optional object with configuration options:
1744
+ * @param options.method - Which side to pad. `'left'` (default) or `'right'`.
1745
+ * @param options.char - The character to use for padding. Defaults to `'0'`.
1746
+ * @returns A promise that resolves when the padding operation is complete.
1747
+ * @throws {Error} If any column is not of string (VARCHAR) type.
1748
+ * @throws {Error} If any string value exceeds the target length.
1749
+ * @category Updating Data
1750
+ *
1751
+ * @example
1752
+ * ```ts
1753
+ * // Left-pad 'id' column to 3 characters with zeros (default)
1754
+ * await table.pad("id", 3);
1755
+ * // Result: '1' -> '001', '23' -> '023', null -> null
1756
+ * ```
1757
+ *
1758
+ * @example
1759
+ * ```ts
1760
+ * // Right-pad 'code' column to 5 characters with spaces
1761
+ * await table.pad("code", 5, { method: "right", char: " " });
1762
+ * // Result: '123' -> '123 ', '45' -> '45 ', null -> null
1763
+ * ```
1764
+ *
1765
+ * @example
1766
+ * ```ts
1767
+ * // Left-pad multiple columns to 5 characters with dashes
1768
+ * await table.pad(["id", "code"], 5, { method: "left", char: "-" });
1769
+ * // Result: '1' -> '----1', '23' -> '---23'
1770
+ * ```
1771
+ */
1772
+ pad(columns: string | string[], length: number, options?: {
1773
+ method?: "left" | "right";
1774
+ char?: string;
1775
+ }): Promise<void>;
1776
+ /**
1777
+ * Splits strings in a specified column by a separator and extracts a substring at a given index, storing the result in a new or existing column.
1778
+ * If the index is out of bounds, an empty string will be returned for that row.
1779
+ *
1780
+ * @param column - The name of the column containing the strings to be split.
1781
+ * @param separator - The substring to use as a delimiter for splitting the strings.
1782
+ * @param index - The zero-based index of the substring to extract after splitting. For example, `0` for the first part, `1` for the second, etc.
1783
+ * @param newColumn - The name of the column where the extracted substrings will be stored. To overwrite the original column, use the same name as `column`.
1784
+ * @returns A promise that resolves when the strings have been split and extracted.
1785
+ * @category Updating Data
1786
+ *
1787
+ * @example
1788
+ * ```ts
1789
+ * // Split 'address' by comma and extract the second part (index 1) into a new 'city' column
1790
+ * // e.g., "123 Main St, Anytown, USA" -> "Anytown"
1791
+ * await table.splitExtract("address", ",", 1, "city");
1792
+ * ```
1793
+ *
1794
+ * @example
1795
+ * ```ts
1796
+ * // Split 'fileName' by dot and extract the first part (index 0), overwriting 'fileName'
1797
+ * // e.g., "document.pdf" -> "document"
1798
+ * await table.splitExtract("fileName", ".", 0, "fileName");
1799
+ * ```
1800
+ */
1801
+ splitExtract(column: string, separator: string, index: number, newColumn: string): Promise<void>;
1802
+ /**
1803
+ * Splits strings in a specified column by a separator and spreads the resulting parts into multiple new columns.
1804
+ *
1805
+ * Each part of the split string will be stored in a separate column. The number of columns created is determined by the length of the `newColumns` array.
1806
+ * If a row has fewer parts than the number of new columns, a warning will be logged and the extra columns will contain empty strings (unless `noCheck` is set to true).
1807
+ * If a row has more parts than the number of new columns, an error will be thrown unless `noCheck` is set to true.
1808
+ *
1809
+ * @param column - The name of the column containing the strings to be split.
1810
+ * @param separator - The substring to use as a delimiter for splitting the strings.
1811
+ * @param newColumns - An array of column names for the extracted parts.
1812
+ * @param options - Optional configuration.
1813
+ * @param options.noCheck - If true, skips all validation checks (both max and min parts). Default is false.
1814
+ * @returns A promise that resolves when the strings have been split and spread into new columns.
1815
+ * @category Updating Data
1816
+ *
1817
+ * @example
1818
+ * ```ts
1819
+ * // Split 'fullName' by comma and spread into 'lastName' and 'firstName'
1820
+ * // e.g., "Shiab, Nael" -> lastName: "Shiab", firstName: "Nael"
1821
+ * await table.splitSpread("fullName", ",", ["lastName", "firstName"]);
1822
+ * ```
1823
+ *
1824
+ * @example
1825
+ * ```ts
1826
+ * // Split 'address' by comma and spread into three columns
1827
+ * // e.g., "123 Main St, Anytown, USA" -> street: "123 Main St", city: "Anytown", country: "USA"
1828
+ * await table.splitSpread("address", ",", ["street", "city", "country"]);
1829
+ * ```
1830
+ *
1831
+ * @example
1832
+ * ```ts
1833
+ * // Skip validation for performance with noCheck option
1834
+ * await table.splitSpread("data", "|", ["col1", "col2"], { noCheck: true });
1835
+ * ```
1836
+ */
1837
+ splitSpread(column: string, separator: string, newColumns: string[], options?: {
1838
+ noCheck?: boolean;
1839
+ }): Promise<void>;
1840
+ /**
1841
+ * Extracts a specific number of characters from the beginning (left side) of string values in the specified column.
1842
+ *
1843
+ * @param column - The name of the column containing the strings to be modified.
1844
+ * @param numberOfCharacters - The number of characters to extract from the left side of each string.
1845
+ * @returns A promise that resolves when the strings have been updated.
1846
+ * @category Updating Data
1847
+ *
1848
+ * @example
1849
+ * ```ts
1850
+ * // Replace strings in 'productCode' with their first two characters
1851
+ * // e.g., "ABC-123" becomes "AB"
1852
+ * await table.left("productCode", 2);
1853
+ * ```
1854
+ */
1855
+ left(column: string, numberOfCharacters: number): Promise<void>;
1856
+ /**
1857
+ * Extracts a specific number of characters from the end (right side) of string values in the specified column.
1858
+ *
1859
+ * @param column - The name of the column containing the strings to be modified.
1860
+ * @param numberOfCharacters - The number of characters to extract from the right side of each string.
1861
+ * @returns A promise that resolves when the strings have been updated.
1862
+ * @category Updating Data
1863
+ *
1864
+ * @example
1865
+ * ```ts
1866
+ * // Replace strings in 'productCode' with their last two characters
1867
+ * // e.g., "ABC-123" becomes "23"
1868
+ * await table.right("productCode", 2);
1869
+ * ```
1870
+ */
1871
+ right(column: string, numberOfCharacters: number): Promise<void>;
1872
+ /**
1873
+ * Replaces `NULL` values in the specified columns with a given value.
1874
+ *
1875
+ * @param columns - The column name or an array of column names in which to replace `NULL` values.
1876
+ * @param value - The value to replace `NULL` occurrences with.
1877
+ * @returns A promise that resolves when the `NULL` values have been replaced.
1878
+ * @category Updating Data
1879
+ *
1880
+ * @example
1881
+ * ```ts
1882
+ * // Replace NULL values in 'column1' with 0
1883
+ * await table.replaceNulls("column1", 0);
1884
+ * ```
1885
+ *
1886
+ * @example
1887
+ * ```ts
1888
+ * // Replace NULL values in 'columnA' and 'columnB' with the string "N/A"
1889
+ * await table.replaceNulls(["columnA", "columnB"], "N/A");
1890
+ * ```
1891
+ *
1892
+ * @example
1893
+ * ```ts
1894
+ * // Replace NULL values in 'dateColumn' with a specific date
1895
+ * await table.replaceNulls("dateColumn", new Date("2023-01-01"));
1896
+ * ```
1897
+ */
1898
+ replaceNulls(columns: string | string[], value: number | string | Date | boolean): Promise<void>;
1899
+ /**
1900
+ * Concatenates values from specified columns into a new column.
1901
+ *
1902
+ * @param columns - An array of column names whose values will be concatenated.
1903
+ * @param newColumn - The name of the new column to store the concatenated values.
1904
+ * @param options - An optional object with configuration options:
1905
+ * @param options.separator - The string used to separate concatenated values. Defaults to an empty string (`""`).
1906
+ * @returns A promise that resolves when the concatenation is complete.
1907
+ * @category Updating Data
1908
+ *
1909
+ * @example
1910
+ * ```ts
1911
+ * // Concatenate 'firstName' and 'lastName' into a new 'fullName' column
1912
+ * await table.concatenate(["firstName", "lastName"], "fullName");
1913
+ * ```
1914
+ *
1915
+ * @example
1916
+ * ```ts
1917
+ * // Concatenate 'city' and 'country' into 'location', separated by a comma and space
1918
+ * await table.concatenate(["city", "country"], "location", { separator: ", " });
1919
+ * ```
1920
+ */
1921
+ concatenate(columns: string[], newColumn: string, options?: {
1922
+ separator?: string;
1923
+ }): Promise<void>;
1924
+ /**
1925
+ * Concatenates values from multiple columns into a new column with labeled rows.
1926
+ *
1927
+ * This method creates a new column where each value is a concatenation of the specified columns,
1928
+ * with each column value prefixed by its column name and a colon, followed by a newline.
1929
+ * Column entries are separated by double newlines ("\n\n").
1930
+ *
1931
+ * All values must be string, otherwise an error will be thrown. Use the `convert()` method first to convert non-string columns to string.
1932
+ *
1933
+ * If a column value is `NULL`, it will be replaced by `'Unknown'` in the concatenated result.
1934
+ *
1935
+ * @param columns - An array of column names whose values will be concatenated with labels.
1936
+ * @param newColumn - The name of the new column to create with the concatenated values.
1937
+ * @returns A promise that resolves when the concatenation is complete.
1938
+ * @category Updating Data
1939
+ *
1940
+ * @example
1941
+ * ```ts
1942
+ * // Concatenate multiple string columns into a labeled text field
1943
+ * await table.concatenateRow(
1944
+ * ["summary", "findings", "context", "date", "quote"],
1945
+ * "fullText"
1946
+ * );
1947
+ * // Result in "fullText" will look like:
1948
+ * // summary:
1949
+ * // [value]
1950
+ * //
1951
+ * // findings:
1952
+ * // [value]
1953
+ * //
1954
+ * // context:
1955
+ * // [value]
1956
+ * //
1957
+ * // date:
1958
+ * // [value]
1959
+ * //
1960
+ * // quote:
1961
+ * // [value]
1962
+ * ```
1963
+ *
1964
+ * @example
1965
+ * ```ts
1966
+ * // Convert numeric columns to strings first, then concatenate
1967
+ * // NULL values will appear as 'Unknown'
1968
+ * await table.convert({ age: "string", salary: "string" });
1969
+ * await table.concatenateRow(["name", "age", "salary"], "profile");
1970
+ * ```
1971
+ */
1972
+ concatenateRow(columns: string[], newColumn: string): Promise<void>;
1973
+ /**
1974
+ * Unnests (expands) rows by splitting a column's string values into multiple rows based on a separator.
1975
+ *
1976
+ * Each value in the specified column is split using the provided separator, and a new row is created for each resulting substring. All other column values are duplicated across the newly created rows.
1977
+ *
1978
+ * @param column - The name of the column containing string values to be split and unnested.
1979
+ * @param separator - The delimiter string used to split the column values.
1980
+ * @returns A promise that resolves when the unnesting is complete.
1981
+ * @category Updating Data
1982
+ *
1983
+ * @example
1984
+ * ```ts
1985
+ * // Unnest 'tags' column separated by commas
1986
+ * // Before: [{ id: 1, tags: "red,blue,green" }]
1987
+ * // After: [{ id: 1, tags: "red" }, { id: 1, tags: "blue" }, { id: 1, tags: "green" }]
1988
+ * await table.unnest("tags", ",");
1989
+ * ```
1990
+ *
1991
+ * @example
1992
+ * ```ts
1993
+ * // Unnest 'neighborhoods' column separated by " / "
1994
+ * // Before: [{ city: "Montreal", neighborhoods: "Old Montreal / Chinatown / Griffintown" }]
1995
+ * // After: [{ city: "Montreal", neighborhoods: "Old Montreal" },
1996
+ * // { city: "Montreal", neighborhoods: "Chinatown" },
1997
+ * // { city: "Montreal", neighborhoods: "Griffintown" }]
1998
+ * await table.unnest("neighborhoods", " / ");
1999
+ * ```
2000
+ */
2001
+ unnest(column: string, separator: string): Promise<void>;
2002
+ /**
2003
+ * Nests (collapses) rows by aggregating a column's values into a single string per group, separated by a delimiter.
2004
+ *
2005
+ * This is the inverse operation of `unnest()`. Multiple rows are combined into fewer rows by grouping on specified category columns and concatenating the target column values with a separator.
2006
+ *
2007
+ * @param column - The name of the column whose values will be aggregated and concatenated.
2008
+ * @param separator - The delimiter string used to join the column values.
2009
+ * @param categories - The column name or an array of column names to group by.
2010
+ * @returns A promise that resolves when the nesting is complete.
2011
+ * @category Updating Data
2012
+ *
2013
+ * @example
2014
+ * ```ts
2015
+ * // Nest 'neighborhoods' column separated by " / " for each city
2016
+ * // Before: [{ city: "Montreal", neighborhoods: "Old Montreal" },
2017
+ * // { city: "Montreal", neighborhoods: "Chinatown" },
2018
+ * // { city: "Montreal", neighborhoods: "Griffintown" }]
2019
+ * // After: [{ city: "Montreal", neighborhoods: "Old Montreal / Chinatown / Griffintown" }]
2020
+ * await table.nest("neighborhoods", " / ", "city");
2021
+ * ```
2022
+ *
2023
+ * @example
2024
+ * ```ts
2025
+ * // Nest with multiple category columns
2026
+ * // Before: [{ country: "Canada", city: "Montreal", tags: "red" },
2027
+ * // { country: "Canada", city: "Montreal", tags: "blue" }]
2028
+ * // After: [{ country: "Canada", city: "Montreal", tags: "red,blue" }]
2029
+ * await table.nest("tags", ",", ["country", "city"]);
2030
+ * ```
2031
+ */
2032
+ nest(column: string, separator: string, categories: string | string[]): Promise<void>;
2033
+ /**
2034
+ * Rounds numeric values in specified columns.
2035
+ *
2036
+ * @param columns - The column name or an array of column names containing numeric values to be rounded.
2037
+ * @param options - An optional object with configuration options:
2038
+ * @param options.decimals - The number of decimal places to round to. Defaults to `0` (rounds to the nearest integer).
2039
+ * @param options.method - The rounding method to use: `"round"` (rounds to the nearest integer, with halves rounding up), `"ceiling"` (rounds up to the nearest integer), or `"floor"` (rounds down to the nearest integer). Defaults to `"round"`.
2040
+ * @returns A promise that resolves when the numeric values have been rounded.
2041
+ * @category Updating Data
2042
+ *
2043
+ * @example
2044
+ * ```ts
2045
+ * // Round 'column1' values to the nearest integer
2046
+ * await table.round("column1");
2047
+ * ```
2048
+ *
2049
+ * @example
2050
+ * ```ts
2051
+ * // Round 'column1' values to 2 decimal places
2052
+ * await table.round("column1", { decimals: 2 });
2053
+ * ```
2054
+ *
2055
+ * @example
2056
+ * ```ts
2057
+ * // Round 'column1' values down to the nearest integer (floor)
2058
+ * await table.round("column1", { method: "floor" });
2059
+ * ```
2060
+ *
2061
+ * @example
2062
+ * ```ts
2063
+ * // Round 'columnA' and 'columnB' values to 1 decimal place using ceiling method
2064
+ * await table.round(["columnA", "columnB"], { decimals: 1, method: "ceiling" });
2065
+ * ```
2066
+ *
2067
+ * @example
2068
+ * ```ts
2069
+ * // Round 'column1' values to 2 decimal places using the shorthand
2070
+ * await table.round("column1", 2);
2071
+ * ```
2072
+ */
2073
+ round(columns: string | string[], options?: number | {
2074
+ decimals?: number;
2075
+ method?: "round" | "ceiling" | "floor";
2076
+ }): Promise<void>;
2077
+ /**
2078
+ * Updates values in a specified column using a SQL expression.
2079
+ *
2080
+ * @param column - The name of the column to be updated.
2081
+ * @param definition - The SQL expression used to set the new values in the column (e.g., `"column1 * 2"`, `"UPPER(column_name)"`).
2082
+ * @returns A promise that resolves when the column has been updated.
2083
+ * @category Updating Data
2084
+ *
2085
+ * @example
2086
+ * ```ts
2087
+ * // Update 'column1' with the left 5 characters of 'column2'
2088
+ * await table.updateColumn("column1", `LEFT(column2, 5)`);
2089
+ * ```
2090
+ *
2091
+ * @example
2092
+ * ```ts
2093
+ * // Double the values in 'price' column
2094
+ * await table.updateColumn("price", `price * 2`);
2095
+ * ```
2096
+ *
2097
+ * @example
2098
+ * ```ts
2099
+ * // Set 'status' to 'active' where 'isActive' is true
2100
+ * await table.updateColumn("status", `CASE WHEN isActive THEN 'active' ELSE 'inactive' END`);
2101
+ * ```
2102
+ */
2103
+ updateColumn(column: string, definition: string): Promise<void>;
2104
+ /**
2105
+ * Assigns ranks to rows in a new column based on the values of a specified column.
2106
+ *
2107
+ * @param values - The column containing the values to be used for ranking.
2108
+ * @param newColumn - The name of the new column where the ranks will be stored.
2109
+ * @param options - An optional object with configuration options:
2110
+ * @param options.order - The order of values for ranking: `"asc"` for ascending (default) or `"desc"` for descending.
2111
+ * @param options.categories - The column name or an array of column names that define categories for ranking. Ranks will be assigned independently within each category.
2112
+ * @param options.noGaps - A boolean indicating whether to assign ranks without gaps (dense ranking). If `true`, ranks will be consecutive integers (e.g., 1, 2, 2, 3). If `false` (default), ranks might have gaps (e.g., 1, 2, 2, 4).
2113
+ * @returns A promise that resolves when the ranks have been assigned.
2114
+ * @category Analyzing Data
2115
+ *
2116
+ * @example
2117
+ * ```ts
2118
+ * // Compute ranks in a new 'rank' column based on 'score' values (ascending)
2119
+ * await table.ranks("score", "rank");
2120
+ * ```
2121
+ *
2122
+ * @example
2123
+ * ```ts
2124
+ * // Compute ranks in a new 'descRank' column based on 'score' values (descending)
2125
+ * await table.ranks("score", "descRank", { order: "desc" });
2126
+ * ```
2127
+ *
2128
+ * @example
2129
+ * ```ts
2130
+ * // Compute ranks within 'department' categories, based on 'salary' values, without gaps
2131
+ * await table.ranks("salary", "salaryRank", { categories: "department", noGaps: true });
2132
+ * ```
2133
+ *
2134
+ * @example
2135
+ * ```ts
2136
+ * // Compute ranks within multiple categories ('department' and 'city')
2137
+ * await table.ranks("sales", "salesRank", { categories: ["department", "city"] });
2138
+ * ```
2139
+ */
2140
+ ranks(values: string, newColumn: string, options?: {
2141
+ order?: "asc" | "desc";
2142
+ categories?: string | string[];
2143
+ noGaps?: boolean;
2144
+ }): Promise<void>;
2145
+ /**
2146
+ * Assigns quantiles to rows in a new column based on specified column values.
2147
+ *
2148
+ * @param values - The column containing values from which quantiles will be assigned.
2149
+ * @param nbQuantiles - The number of quantiles to divide the data into (e.g., `4` for quartiles, `10` for deciles).
2150
+ * @param newColumn - The name of the new column where the assigned quantiles will be stored.
2151
+ * @param options - An optional object with configuration options:
2152
+ * @param options.categories - The column name or an array of column names that define categories for computing quantiles. Quantiles will be assigned independently within each category.
2153
+ * @returns A promise that resolves when the quantiles have been assigned.
2154
+ * @category Analyzing Data
2155
+ *
2156
+ * @example
2157
+ * ```ts
2158
+ * // Assigns a quantile from 1 to 10 for each row in a new 'quantiles' column, based on 'column1' values.
2159
+ * await table.quantiles("column1", 10, "quantiles");
2160
+ * ```
2161
+ *
2162
+ * @example
2163
+ * ```ts
2164
+ * // Assigns quantiles within 'column2' categories, based on 'column1' values.
2165
+ * await table.quantiles("column1", 10, "quantiles", { categories: "column2" });
2166
+ * ```
2167
+ *
2168
+ * @example
2169
+ * ```ts
2170
+ * // Assigns quartiles (4 quantiles) to 'sales' data, storing results in 'salesQuartile'
2171
+ * await table.quantiles("sales", 4, "salesQuartile");
2172
+ * ```
2173
+ */
2174
+ quantiles(values: string, nbQuantiles: number, newColumn: string, options?: {
2175
+ categories?: string | string[];
2176
+ }): Promise<void>;
2177
+ /**
2178
+ * Assigns bins for specified column values based on an interval size.
2179
+ *
2180
+ * @param values - The column containing values from which bins will be computed.
2181
+ * @param interval - The interval size for binning the values.
2182
+ * @param newColumn - The name of the new column where the bins will be stored.
2183
+ * @param options - An optional object with configuration options:
2184
+ * @param options.startValue - The starting value for binning. Defaults to the minimum value in the specified column.
2185
+ * @returns A promise that resolves when the bins have been assigned.
2186
+ * @category Analyzing Data
2187
+ *
2188
+ * @example
2189
+ * ```ts
2190
+ * // Assigns a bin for each row in a new 'bins' column based on 'column1' values, with an interval of 10.
2191
+ * // If the minimum value in 'column1' is 5, the bins will follow this pattern: "[5-14]", "[15-24]", etc.
2192
+ * await table.bins("column1", 10, "bins");
2193
+ * ```
2194
+ *
2195
+ * @example
2196
+ * ```ts
2197
+ * // Assigns bins starting at a specific value (0) with an interval of 10.
2198
+ * // The bins will follow this pattern: "[0-9]", "[10-19]", "[20-29]", etc.
2199
+ * await table.bins("column1", 10, "bins", { startValue: 0 });
2200
+ * ```
2201
+ */
2202
+ bins(values: string, interval: number, newColumn: string, options?: {
2203
+ startValue?: number;
2204
+ }): Promise<void>;
2205
+ /**
2206
+ * Computes proportions horizontally across specified columns for each row.
2207
+ *
2208
+ * For example, given a table showing counts of men, women, and non-binary individuals per year:
2209
+ *
2210
+ * | Year | Men | Women | NonBinary |
2211
+ * | :--- | :-- | :---- | :-------- |
2212
+ * | 2021 | 564 | 685 | 145 |
2213
+ * | 2022 | 354 | 278 | 56 |
2214
+ * | 2023 | 856 | 321 | 221 |
2215
+ *
2216
+ * This method computes the proportion of men, women, and non-binary individuals on each row, adding new columns for these proportions.
2217
+ *
2218
+ * @example
2219
+ * ```ts
2220
+ * // Compute horizontal proportions for 'Men', 'Women', and 'NonBinary' columns, rounded to 2 decimal places
2221
+ * await table.proportionsHorizontal(["Men", "Women", "NonBinary"], { decimals: 2 });
2222
+ * ```
2223
+ *
2224
+ * The table will then look like this:
2225
+ *
2226
+ * | Year | Men | Women | NonBinary | MenPerc | WomenPerc | NonBinaryPerc |
2227
+ * | :--- | :-- | :---- | :-------- | :------ | :-------- | :------------ |
2228
+ * | 2021 | 564 | 685 | 145 | 0.4 | 0.49 | 0.10 |
2229
+ * | 2022 | 354 | 278 | 56 | 0.51 | 0.4 | 0.08 |
2230
+ * | 2023 | 856 | 321 | 221 | 0.61 | 0.23 | 0.16 |
2231
+ *
2232
+ * By default, the new columns will be named with a suffix of `"Perc"`. You can customize this suffix using the `suffix` option.
2233
+ *
2234
+ * @example
2235
+ * ```ts
2236
+ * // Compute horizontal proportions with a custom suffix "Prop"
2237
+ * await table.proportionsHorizontal(["Men", "Women", "NonBinary"], { suffix: "Prop", decimals: 2 });
2238
+ * ```
2239
+ *
2240
+ * The table will then look like this:
2241
+ *
2242
+ * | Year | Men | Women | NonBinary | MenProp | WomenProp | NonBinaryProp |
2243
+ * | :--- | :-- | :---- | :-------- | :------ | :-------- | :------------ |
2244
+ * | 2021 | 564 | 685 | 145 | 0.4 | 0.49 | 0.10 |
2245
+ * | 2022 | 354 | 278 | 56 | 0.51 | 0.4 | 0.08 |
2246
+ * | 2023 | 856 | 321 | 221 | 0.61 | 0.23 | 0.16 |
2247
+ *
2248
+ * @param columns - An array of column names for which proportions will be computed on each row.
2249
+ * @param options - An optional object with configuration options:
2250
+ * @param options.suffix - A string suffix to append to the names of the new columns storing the computed proportions. Defaults to `"Perc"`.
2251
+ * @param options.decimals - The number of decimal places to round the computed proportions. Defaults to `undefined` (no rounding).
2252
+ * @returns A promise that resolves when the horizontal proportions have been computed.
2253
+ * @category Analyzing Data
2254
+ */
2255
+ proportionsHorizontal(columns: string[], options?: {
2256
+ suffix?: string;
2257
+ decimals?: number;
2258
+ }): Promise<void>;
2259
+ /**
2260
+ * Computes proportions vertically over a column's values, relative to the sum of all values in that column (or within specified categories).
2261
+ *
2262
+ * @param column - The column containing values for which proportions will be computed. The proportions are calculated based on the sum of values in the specified column.
2263
+ * @param newColumn - The name of the new column where the proportions will be stored.
2264
+ * @param options - An optional object with configuration options:
2265
+ * @param options.categories - The column name or an array of column names that define categories for computing proportions. Proportions will be calculated independently within each category.
2266
+ * @param options.decimals - The number of decimal places to round the computed proportions. Defaults to `undefined` (no rounding).
2267
+ * @returns A promise that resolves when the vertical proportions have been computed.
2268
+ * @category Analyzing Data
2269
+ *
2270
+ * @example
2271
+ * ```ts
2272
+ * // Add a new column 'perc' with each 'column1' value divided by the sum of all 'column1' values
2273
+ * await table.proportionsVertical("column1", "perc");
2274
+ * ```
2275
+ *
2276
+ * @example
2277
+ * ```ts
2278
+ * // Compute proportions for 'column1' within 'column2' categories, rounded to two decimal places
2279
+ * await table.proportionsVertical("column1", "perc", { categories: "column2", decimals: 2 });
2280
+ * ```
2281
+ *
2282
+ * @example
2283
+ * ```ts
2284
+ * // Compute proportions for 'sales' within 'region' and 'product_type' categories
2285
+ * await table.proportionsVertical("sales", "sales_proportion", { categories: ["region", "product_type"] });
2286
+ * ```
2287
+ */
2288
+ proportionsVertical(column: string, newColumn: string, options?: {
2289
+ categories?: string | string[];
2290
+ decimals?: number;
2291
+ }): Promise<void>;
2292
+ /**
2293
+ * Creates a summary table based on specified values, categories, and summary operations.
2294
+ * This method allows you to aggregate data, calculate statistics (e.g., count, mean, sum), and group results by categorical columns.
2295
+ *
2296
+ * @param options - An object with configuration options for summarization:
2297
+ * @param options.values - The column name or an array of column names whose values will be summarized. If omitted, all columns will be summarized.
2298
+ * @param options.categories - The column name or an array of column names that define categories for the summarization. Results will be grouped by these categories.
2299
+ * @param options.summaries - The summary operations to be performed. Can be a single operation (e.g., `"mean"`), an array of operations (e.g., `["min", "max"]`), or an object mapping new column names to operations (e.g., `{ avgSalary: "mean" }`). Supported operations include: `"count"`, `"countUnique"`, `"countNull"`, `"min"`, `"max"`, `"mean"`, `"median"`, `"sum"`, `"skew"`, `"stdDev"`, `"var"`.
2300
+ * @param options.decimals - The number of decimal places to round the summarized values. Defaults to `undefined` (no rounding).
2301
+ * @param options.outputTable - If `true`, the results will be stored in a new table with a generated name. If a string, it will be used as the name for the new table. If `false` or omitted, the current table will be overwritten. Defaults to `false`.
2302
+ * @param options.toMs - If `true`, timestamps, dates, and times will be converted to milliseconds before summarizing. This is useful when summarizing mixed data types (numbers and dates) as values must be of the same type for aggregation.
2303
+ * @param options.noColumnValue - If `true`, the default `value` column will be removed. This option only works when summarizing a single column without categories. Defaults to `false`.
2304
+ * @returns A promise that resolves to a table instance containing the summarized data (either the modified current table or a new table).
2305
+ * @category Analyzing Data
2306
+ *
2307
+ * @example
2308
+ * ```ts
2309
+ * // Summarize all columns with all available summary operations, overwriting the current table
2310
+ * const columns = await table.getColumns();
2311
+ * await table.summarize({ values: columns });
2312
+ * ```
2313
+ *
2314
+ * @example
2315
+ * ```ts
2316
+ * // Summarize all columns and store the results in a new table with a generated name
2317
+ * const columns = await table.getColumns();
2318
+ * const summaryTable = await table.summarize({ values: columns, outputTable: true });
2319
+ * ```
2320
+ *
2321
+ * @example
2322
+ * ```ts
2323
+ * // Summarize all columns and store the results in a new table named 'mySummary'
2324
+ * const columns = await table.getColumns();
2325
+ * const mySummaryTable = await table.summarize({ values: columns, outputTable: "mySummary" });
2326
+ * ```
2327
+ *
2328
+ * @example
2329
+ * ```ts
2330
+ * // Summarize a single column ('sales') with all available summary operations
2331
+ * await table.summarize({ values: "sales" });
2332
+ * ```
2333
+ *
2334
+ * @example
2335
+ * ```ts
2336
+ * // Summarize multiple columns ('sales' and 'profit') with all available summary operations
2337
+ * await table.summarize({ values: ["sales", "profit"] });
2338
+ * ```
2339
+ *
2340
+ * @example
2341
+ * ```ts
2342
+ * // Summarize 'sales' by 'region' (single category)
2343
+ * await table.summarize({ values: "sales", categories: "region" });
2344
+ * ```
2345
+ *
2346
+ * @example
2347
+ * ```ts
2348
+ * // Summarize 'sales' by 'region' and 'product_type' (multiple categories)
2349
+ * await table.summarize({ values: "sales", categories: ["region", "product_type"] });
2350
+ * ```
2351
+ *
2352
+ * @example
2353
+ * ```ts
2354
+ * // Summarize 'sales' by 'region' with a specific summary operation (mean)
2355
+ * await table.summarize({ values: "sales", categories: "region", summaries: "mean" });
2356
+ * ```
2357
+ *
2358
+ * @example
2359
+ * ```ts
2360
+ * // Summarize 'sales' by 'region' with specific summary operations (mean and sum)
2361
+ * await table.summarize({ values: "sales", categories: "region", summaries: ["mean", "sum"] });
2362
+ * ```
2363
+ *
2364
+ * @example
2365
+ * ```ts
2366
+ * // Summarize 'sales' by 'region' with custom named summary operations
2367
+ * await table.summarize({ values: "sales", categories: "region", summaries: { averageSales: "mean", totalSales: "sum" } });
2368
+ * ```
2369
+ *
2370
+ * @example
2371
+ * ```ts
2372
+ * // Summarize 'price' and 'cost', rounding aggregated values to 2 decimal places
2373
+ * await table.summarize({ values: ["price", "cost"], decimals: 2 });
2374
+ * ```
2375
+ *
2376
+ * @example
2377
+ * ```ts
2378
+ * // Summarize 'timestamp_column' by converting to milliseconds first
2379
+ * await table.summarize({ values: "timestamp_column", toMs: true, summaries: "mean" });
2380
+ * ```
2381
+ *
2382
+ * @example
2383
+ * ```ts
2384
+ * // Summarize a single column 'value_column' without the default 'value' column in the output
2385
+ * await table.summarize({ values: "value_column", noColumnValue: true });
2386
+ * ```
2387
+ */
2388
+ summarize(options?: {
2389
+ values?: string | string[];
2390
+ categories?: string | string[];
2391
+ summaries?: ("count" | "countUnique" | "countNull" | "min" | "max" | "mean" | "median" | "sum" | "skew" | "stdDev" | "var") | ("count" | "countUnique" | "countNull" | "min" | "max" | "mean" | "median" | "sum" | "skew" | "stdDev" | "var")[] | {
2392
+ [key: string]: "count" | "countUnique" | "countNull" | "min" | "max" | "mean" | "median" | "sum" | "skew" | "stdDev" | "var";
2393
+ };
2394
+ decimals?: number;
2395
+ outputTable?: string | boolean;
2396
+ toMs?: boolean;
2397
+ noColumnValue?: boolean;
2398
+ }): Promise<this>;
2399
+ /**
2400
+ * Computes the cumulative sum of values in a column. For this method to work properly, ensure your data is sorted first.
2401
+ *
2402
+ * @param column - The name of the column storing the values to be accumulated.
2403
+ * @param newColumn - The name of the new column in which the computed cumulative values will be stored.
2404
+ * @param options - An optional object with configuration options:
2405
+ * @param options.categories - The column name or an array of column names that define categories for the accumulation. Accumulation will be performed independently within each category.
2406
+ * @returns A promise that resolves when the cumulative sum has been computed.
2407
+ * @category Analyzing Data
2408
+ *
2409
+ * @example
2410
+ * ```ts
2411
+ * // Compute the cumulative sum of 'sales' in a new 'cumulativeSales' column
2412
+ * // Ensure the table is sorted by a relevant column (e.g., date) before calling this method.
2413
+ * await table.accumulate("sales", "cumulativeSales");
2414
+ * ```
2415
+ *
2416
+ * @example
2417
+ * ```ts
2418
+ * // Compute the cumulative sum of 'orders' within 'customer_id' categories
2419
+ * // Ensure the table is sorted by 'customer_id' and then by a relevant order column (e.g., order_date).
2420
+ * await table.accumulate("orders", "cumulativeOrders", { categories: "customer_id" });
2421
+ * ```
2422
+ *
2423
+ * @example
2424
+ * ```ts
2425
+ * // Compute the cumulative sum of 'revenue' within 'region' and 'product_category' categories
2426
+ * await table.accumulate("revenue", "cumulativeRevenue", { categories: ["region", "product_category"] });
2427
+ * ```
2428
+ */
2429
+ accumulate(column: string, newColumn: string, options?: {
2430
+ categories?: string | string[];
2431
+ }): Promise<void>;
2432
+ /**
2433
+ * Computes rolling aggregations (e.g., rolling average, min, max) over a specified column.
2434
+ * For rows without enough preceding or following rows to form a complete window, `NULL` will be returned.
2435
+ * For this method to work properly, ensure your data is sorted by the relevant column(s) first.
2436
+ *
2437
+ * @param column - The name of the column storing the values to be aggregated.
2438
+ * @param newColumn - The name of the new column in which the computed rolling values will be stored.
2439
+ * @param summary - The aggregation function to apply: `"min"`, `"max"`, `"mean"`, `"median"`, or `"sum"`.
2440
+ * @param preceding - The number of preceding rows to include in the rolling window.
2441
+ * @param following - The number of following rows to include in the rolling window.
2442
+ * @param options - An optional object with configuration options:
2443
+ * @param options.categories - The column name or an array of column names that define categories for the aggregation. Rolling aggregations will be computed independently within each category.
2444
+ * @param options.decimals - The number of decimal places to round the aggregated values. Defaults to `undefined` (no rounding).
2445
+ * @returns A promise that resolves when the rolling aggregation is complete.
2446
+ * @category Analyzing Data
2447
+ *
2448
+ * @example
2449
+ * ```ts
2450
+ * // Compute a 7-day rolling average of 'sales' with 3 preceding and 3 following rows
2451
+ * // (total window size of 7: 3 preceding + current + 3 following)
2452
+ * await table.rolling("sales", "rollingAvgSales", "mean", 3, 3);
2453
+ * ```
2454
+ *
2455
+ * @example
2456
+ * ```ts
2457
+ * // Compute a rolling sum of 'transactions' within 'customer_id' categories
2458
+ * await table.rolling("transactions", "rollingSumTransactions", "sum", 5, 0, { categories: "customer_id" });
2459
+ * ```
2460
+ *
2461
+ * @example
2462
+ * ```ts
2463
+ * // Compute a rolling maximum of 'temperature' rounded to 1 decimal place
2464
+ * await table.rolling("temperature", "rollingMaxTemp", "max", 2, 2, { decimals: 1 });
2465
+ * ```
2466
+ */
2467
+ rolling(column: string, newColumn: string, summary: "min" | "max" | "mean" | "median" | "sum", preceding: number, following: number, options?: {
2468
+ categories?: string | string[];
2469
+ decimals?: number;
2470
+ }): Promise<void>;
2471
+ /**
2472
+ * Calculates correlations between columns. If no `x` and `y` columns are specified, the method computes the correlations for all numeric column combinations.
2473
+ * Note that correlation is symmetrical: the correlation of `x` with `y` is the same as `y` with `x`.
2474
+ *
2475
+ * @param options - An optional object with configuration options:
2476
+ * @param options.x - The name of the column for the x-values. If omitted, correlations will be computed for all numeric columns.
2477
+ * @param options.y - The name of the column for the y-values. If omitted, correlations will be computed for all numeric columns.
2478
+ * @param options.categories - The column name or an array of column names that define categories. Correlation calculations will be performed independently for each category.
2479
+ * @param options.decimals - The number of decimal places to round the correlation values. Defaults to `undefined` (no rounding).
2480
+ * @param options.outputTable - If `true`, the results will be stored in a new table with a generated name. If a string, it will be used as the name for the new table. If `false` or omitted, the current table will be overwritten. Defaults to `false`.
2481
+ * @returns A promise that resolves to a table instance containing the correlation results (either the modified current table or a new table).
2482
+ * @category Analyzing Data
2483
+ *
2484
+ * @example
2485
+ * ```ts
2486
+ * // Compute correlations between all numeric columns, overwriting the current table
2487
+ * await table.correlations();
2488
+ * ```
2489
+ *
2490
+ * @example
2491
+ * ```ts
2492
+ * // Compute correlations between 'column1' and all other numeric columns
2493
+ * await table.correlations({ x: "column1" });
2494
+ * ```
2495
+ *
2496
+ * @example
2497
+ * ```ts
2498
+ * // Compute the correlation between 'column1' and 'column2'
2499
+ * await table.correlations({ x: "column1", y: "column2" });
2500
+ * ```
2501
+ *
2502
+ * @example
2503
+ * ```ts
2504
+ * // Compute correlations within 'categoryColumn' and store results in a new table
2505
+ * const correlationTable = await table.correlations({ categories: "categoryColumn", outputTable: true });
2506
+ * ```
2507
+ *
2508
+ * @example
2509
+ * ```ts
2510
+ * // Compute correlations, rounded to 2 decimal places
2511
+ * await table.correlations({ decimals: 2 });
2512
+ * ```
2513
+ */
2514
+ correlations(options?: {
2515
+ x?: string;
2516
+ y?: string;
2517
+ categories?: string | string[];
2518
+ decimals?: number;
2519
+ outputTable?: string | boolean;
2520
+ }): Promise<this>;
2521
+ /**
2522
+ * Performs linear regression analysis. The results include the slope, the y-intercept, and the R-squared value.
2523
+ * If no `x` and `y` columns are specified, the method computes linear regression analysis for all numeric column permutations.
2524
+ * Note that linear regression analysis is asymmetrical: the linear regression of `x` over `y` is not the same as `y` over `x`.
2525
+ *
2526
+ * @param options - An optional object with configuration options:
2527
+ * @param options.x - The name of the column for the independent variable (x-values). If omitted, linear regressions will be computed for all numeric columns as x.
2528
+ * @param options.y - The name of the column for the dependent variable (y-values). If omitted, linear regressions will be computed for all numeric columns as y.
2529
+ * @param options.categories - The column name or an array of column names that define categories. Linear regression analysis will be performed independently for each category.
2530
+ * @param options.decimals - The number of decimal places to round the regression values (slope, intercept, r-squared). Defaults to `undefined` (no rounding).
2531
+ * @param options.outputTable - If `true`, the results will be stored in a new table with a generated name. If a string, it will be used as the name for the new table. If `false` or omitted, the current table will be overwritten. Defaults to `false`.
2532
+ * @returns A promise that resolves to a table instance containing the linear regression results (either the modified current table or a new table).
2533
+ * @category Analyzing Data
2534
+ *
2535
+ * @example
2536
+ * ```ts
2537
+ * // Compute all linear regressions between all numeric columns, overwriting the current table
2538
+ * await table.linearRegressions();
2539
+ * ```
2540
+ *
2541
+ * @example
2542
+ * ```ts
2543
+ * // Compute linear regressions with 'column1' as the independent variable and all other numeric columns as dependent variables
2544
+ * await table.linearRegressions({ x: "column1" });
2545
+ * ```
2546
+ *
2547
+ * @example
2548
+ * ```ts
2549
+ * // Compute the linear regression of 'sales' (y) over 'advertising' (x)
2550
+ * await table.linearRegressions({ x: "advertising", y: "sales" });
2551
+ * ```
2552
+ *
2553
+ * @example
2554
+ * ```ts
2555
+ * // Compute linear regressions within 'region' categories and store results in a new table
2556
+ * const regressionTable = await table.linearRegressions({ categories: "region", outputTable: true });
2557
+ * ```
2558
+ *
2559
+ * @example
2560
+ * ```ts
2561
+ * // Compute linear regressions, rounded to 3 decimal places
2562
+ * await table.linearRegressions({ decimals: 3 });
2563
+ * ```
2564
+ */
2565
+ linearRegressions(options?: {
2566
+ x?: string;
2567
+ y?: string;
2568
+ categories?: string | string[];
2569
+ decimals?: number;
2570
+ outputTable?: string | boolean;
2571
+ }): Promise<this>;
2572
+ /**
2573
+ * Identifies outliers in a specified column using the Interquartile Range (IQR) method.
2574
+ *
2575
+ * @param column - The name of the column in which outliers will be identified.
2576
+ * @param newColumn - The name of the new column where the boolean results (`TRUE` for outlier, `FALSE` otherwise) will be stored.
2577
+ * @param options - An optional object with configuration options:
2578
+ * @param options.categories - The column name or an array of column names that define categories. Outlier detection will be performed independently within each category.
2579
+ * @returns A promise that resolves when the outliers have been identified.
2580
+ * @category Analyzing Data
2581
+ *
2582
+ * @example
2583
+ * ```ts
2584
+ * // Look for outliers in the 'age' column and store results in a new 'isOutlier' column
2585
+ * await table.outliersIQR("age", "isOutlier");
2586
+ * ```
2587
+ *
2588
+ * @example
2589
+ * ```ts
2590
+ * // Look for outliers in 'salary' within 'gender' categories
2591
+ * await table.outliersIQR("salary", "salaryOutlier", { categories: "gender" });
2592
+ * ```
2593
+ */
2594
+ outliersIQR(column: string, newColumn: string, options?: {
2595
+ categories?: string | string[];
2596
+ }): Promise<void>;
2597
+ /**
2598
+ * Computes the Z-score for values in a specified column.
2599
+ *
2600
+ * @param column - The name of the column for which Z-scores will be calculated.
2601
+ * @param newColumn - The name of the new column where the computed Z-scores will be stored.
2602
+ * @param options - An optional object with configuration options:
2603
+ * @param options.categories - The column name or an array of column names that define categories. Z-scores will be calculated independently within each category.
2604
+ * @param options.decimals - The number of decimal places to round the Z-score values. Defaults to `undefined` (no rounding).
2605
+ * @returns A promise that resolves when the Z-scores have been computed.
2606
+ * @category Analyzing Data
2607
+ *
2608
+ * @example
2609
+ * ```ts
2610
+ * // Calculate the Z-score for 'age' values and store results in a new 'ageZScore' column
2611
+ * await table.zScore("age", "ageZScore");
2612
+ * ```
2613
+ *
2614
+ * @example
2615
+ * ```ts
2616
+ * // Calculate Z-scores for 'salary' within 'department' categories
2617
+ * await table.zScore("salary", "salaryZScore", { categories: "department" });
2618
+ * ```
2619
+ *
2620
+ * @example
2621
+ * ```ts
2622
+ * // Calculate Z-scores for 'score', rounded to 2 decimal places
2623
+ * await table.zScore("score", "scoreZScore", { decimals: 2 });
2624
+ * ```
2625
+ */
2626
+ zScore(column: string, newColumn: string, options?: {
2627
+ categories?: string | string[];
2628
+ decimals?: number;
2629
+ }): Promise<void>;
2630
+ /**
2631
+ * Normalizes the values in a column using min-max normalization.
2632
+ *
2633
+ * @param column - The name of the column in which values will be normalized.
2634
+ * @param newColumn - The name of the new column where normalized values will be stored.
2635
+ * @param options - An optional object with configuration options:
2636
+ * @param options.categories - The column name or an array of column names that define categories for the normalization. Normalization will be performed independently within each category.
2637
+ * @param options.decimals - The number of decimal places to round the normalized values. Defaults to `undefined` (no rounding).
2638
+ * @returns A promise that resolves when the values have been normalized.
2639
+ * @category Analyzing Data
2640
+ *
2641
+ * @example
2642
+ * ```ts
2643
+ * // Normalize the values in 'column1' and store them in a new 'normalizedColumn1' column
2644
+ * await table.normalize("column1", "normalizedColumn1");
2645
+ * ```
2646
+ *
2647
+ * @example
2648
+ * ```ts
2649
+ * // Normalize 'value' within 'group' categories
2650
+ * await table.normalize("value", "normalizedValue", { categories: "group" });
2651
+ * ```
2652
+ *
2653
+ * @example
2654
+ * ```ts
2655
+ * // Normalize 'data' values, rounded to 2 decimal places
2656
+ * await table.normalize("data", "normalizedData", { decimals: 2 });
2657
+ * ```
2658
+ */
2659
+ normalize(column: string, newColumn: string, options?: {
2660
+ categories?: string | string[];
2661
+ decimals?: number;
2662
+ }): Promise<void>;
2663
+ /**
2664
+ * Updates data in the table using a JavaScript function. The function receives the existing rows as an array of objects and must return the modified rows as an array of objects.
2665
+ * This method offers high flexibility for data manipulation but can be slow for large tables as it involves transferring data between DuckDB and JavaScript.
2666
+ * This method does not work with tables containing geometries.
2667
+ *
2668
+ * @param dataModifier - A synchronous or asynchronous function that takes the existing rows (as an array of objects) and returns the modified rows (as an array of objects).
2669
+ * @returns A promise that resolves when the data has been updated.
2670
+ * @category Updating Data
2671
+ *
2672
+ * @example
2673
+ * ```ts
2674
+ * // Add 1 to values in 'column1'. If values are not numbers, they are replaced by null.
2675
+ * await table.updateWithJS((rows) => {
2676
+ * const modifiedRows = rows.map(d => ({
2677
+ * ...d,
2678
+ * column1: typeof d.column1 === "number" ? d.column1 + 1 : null,
2679
+ * }));
2680
+ * return modifiedRows;
2681
+ * });
2682
+ * ```
2683
+ *
2684
+ * @example
2685
+ * ```ts
2686
+ * // Convert a date string to a Date object in 'dateColumn'
2687
+ * await table.updateWithJS((rows) => {
2688
+ * const modifiedRows = rows.map(d => ({
2689
+ * ...d,
2690
+ * dateColumn: typeof d.dateColumn === "string" ? new Date(d.dateColumn) : d.dateColumn,
2691
+ * }));
2692
+ * return modifiedRows;
2693
+ * });
2694
+ * ```
2695
+ */
2696
+ updateWithJS(dataModifier: ((rows: {
2697
+ [key: string]: number | string | Date | boolean | null;
2698
+ }[]) => Promise<{
2699
+ [key: string]: number | string | Date | boolean | null;
2700
+ }[]>) | ((rows: {
2701
+ [key: string]: number | string | Date | boolean | null;
2702
+ }[]) => {
2703
+ [key: string]: number | string | Date | boolean | null;
2704
+ }[])): Promise<void>;
2705
+ /**
2706
+ * Returns the schema of the table, including column names and their data types.
2707
+ *
2708
+ * @returns A promise that resolves to an array of objects, where each object represents a column with its name and data type.
2709
+ * @category Getting Data
2710
+ *
2711
+ * @example
2712
+ * ```ts
2713
+ * // Get the schema of the table
2714
+ * const schema = await table.getSchema();
2715
+ * console.table(schema); // Log the schema in a readable table format
2716
+ * ```
2717
+ */
2718
+ getSchema(): Promise<{
2719
+ [key: string]: string | null;
2720
+ }[]>;
2721
+ /**
2722
+ * Returns descriptive statistical information about the columns, including details like data types, number of null values, and distinct values.
2723
+ *
2724
+ * @returns A promise that resolves to an array of objects, each representing descriptive statistics for a column.
2725
+ * @category Getting Data
2726
+ *
2727
+ * @example
2728
+ * ```ts
2729
+ * // Get and log descriptive information about the table's columns
2730
+ * const description = await table.getDescription();
2731
+ * console.table(description);
2732
+ * ```
2733
+ */
2734
+ getDescription(): Promise<{
2735
+ [key: string]: unknown;
2736
+ }[]>;
2737
+ /**
2738
+ * Returns the name of the table.
2739
+ *
2740
+ * @returns The name of the table as a string.
2741
+ * @category Getting Data
2742
+ *
2743
+ * @example
2744
+ * ```ts
2745
+ * // Get the table name
2746
+ * const tableName = table.getTableName();
2747
+ * console.log(tableName); // e.g., "employees"
2748
+ * ```
2749
+ */
2750
+ getTableName(): string;
2751
+ /**
2752
+ * Returns a list of all column names in the table.
2753
+ *
2754
+ * @returns A promise that resolves to an array of strings, where each string is a column name.
2755
+ * @category Getting Data
2756
+ *
2757
+ * @example
2758
+ * ```ts
2759
+ * // Get all column names from the table
2760
+ * const columns = await table.getColumns();
2761
+ * console.log(columns); // e.g., ["id", "name", "age"]
2762
+ * ```
2763
+ */
2764
+ getColumns(): Promise<string[]>;
2765
+ /**
2766
+ * Normalizes string values in a column by:
2767
+ * 1. Stripping accents
2768
+ * 2. Optionally stripping punctuation (default: true)
2769
+ * 3. Converting to lowercase
2770
+ * 4. Normalizing whitespace (multiple spaces/tabs/newlines → single space)
2771
+ * 5. Trimming leading/trailing whitespace
2772
+ *
2773
+ * Produces identical output to `journalism-format`'s `normalizeString()` function
2774
+ * for all common cases including accented Latin characters.
2775
+ *
2776
+ * @param column The column containing the text to normalize
2777
+ * @param newColumn The column to store the normalized results
2778
+ * @param options Configuration options
2779
+ * @param options.stripPunctuation Strip punctuation and underscores (default: true)
2780
+ *
2781
+ * @returns A promise that resolves when the operation is complete
2782
+ *
2783
+ * @example
2784
+ * ```ts
2785
+ * // Normalize text column and store in new column
2786
+ * await table.normalizeString("recipeName", "recipeNameNormalized");
2787
+ * // "Épicerie Parisienne!" → "epicerie parisienne"
2788
+ * ```
2789
+ *
2790
+ * @example
2791
+ * ```ts
2792
+ * // Keep punctuation for emails and URLs
2793
+ * await table.normalizeString("email", "emailNormalized", { stripPunctuation: false });
2794
+ * // "User@Example.com" → "user@example.com"
2795
+ * await table.normalizeString("url", "urlNormalized", { stripPunctuation: false });
2796
+ * // "https://Example.com/path" → "https://example.com/path"
2797
+ * ```
2798
+ *
2799
+ * @category Text Processing
2800
+ */
2801
+ normalizeString(column: string, newColumn: string, options?: {
2802
+ stripPunctuation?: boolean;
2803
+ }): Promise<void>;
2804
+ /**
2805
+ * Returns the number of columns in the table.
2806
+ *
2807
+ * @returns A promise that resolves to a number representing the total count of columns.
2808
+ * @category Getting Data
2809
+ *
2810
+ * @example
2811
+ * ```ts
2812
+ * // Get the number of columns in the table
2813
+ * const nbColumns = await table.getNbColumns();
2814
+ * console.log(nbColumns); // e.g., 3
2815
+ * ```
2816
+ */
2817
+ getNbColumns(): Promise<number>;
2818
+ /**
2819
+ * Returns the total number of characters in a column storing strings.
2820
+ *
2821
+ * @param column - The name of the string column to count characters from.
2822
+ * @returns A promise that resolves to the total number of characters across all rows in the specified column.
2823
+ * @category Getting Data
2824
+ *
2825
+ * @example
2826
+ * ```ts
2827
+ * // Get the total number of characters in the 'name' column
2828
+ * const totalChars = await table.getNbCharacters("name");
2829
+ * console.log(totalChars); // e.g., 523
2830
+ * ```
2831
+ */
2832
+ getNbCharacters(column: string): Promise<number>;
2833
+ /**
2834
+ * Returns the number of rows in the table.
2835
+ *
2836
+ * @returns A promise that resolves to a number representing the total count of rows.
2837
+ * @category Getting Data
2838
+ *
2839
+ * @example
2840
+ * ```ts
2841
+ * // Get the number of rows in the table
2842
+ * const nbRows = await table.getNbRows();
2843
+ * console.log(nbRows); // e.g., 100
2844
+ * ```
2845
+ */
2846
+ getNbRows(): Promise<number>;
2847
+ /**
2848
+ * Returns the total number of values in the table (number of columns multiplied by the number of rows).
2849
+ *
2850
+ * @returns A promise that resolves to a number representing the total count of values.
2851
+ * @category Getting Data
2852
+ *
2853
+ * @example
2854
+ * ```ts
2855
+ * // Get the total number of values in the table
2856
+ * const nbValues = await table.getNbValues();
2857
+ * console.log(nbValues); // e.g., 300 (if 3 columns and 100 rows)
2858
+ * ```
2859
+ */
2860
+ getNbValues(): Promise<number>;
2861
+ /**
2862
+ * Returns the data types of all columns in the table.
2863
+ *
2864
+ * @returns A promise that resolves to an object where keys are column names and values are their corresponding data types (e.g., `{ "id": "BIGINT", "name": "VARCHAR" }`).
2865
+ * @category Getting Data
2866
+ *
2867
+ * @example
2868
+ * ```ts
2869
+ * // Get the data types of all columns
2870
+ * const dataTypes = await table.getTypes();
2871
+ * console.log(dataTypes);
2872
+ * ```
2873
+ */
2874
+ getTypes(): Promise<{
2875
+ [key: string]: string;
2876
+ }>;
2877
+ /**
2878
+ * Returns all values from a specific column.
2879
+ *
2880
+ * @param column - The name of the column from which to retrieve values.
2881
+ * @returns A promise that resolves to an array containing all values from the specified column.
2882
+ * @category Getting Data
2883
+ *
2884
+ * @example
2885
+ * ```ts
2886
+ * // Get all values from the 'productName' column
2887
+ * const productNames = await table.getValues("productName");
2888
+ * console.log(productNames); // e.g., ["Laptop", "Mouse", "Keyboard"]
2889
+ * ```
2890
+ */
2891
+ getValues(column: string): Promise<(string | number | boolean | Date | null)[]>;
2892
+ /**
2893
+ * Returns the minimum value from a specific column.
2894
+ *
2895
+ * @param column - The name of the column from which to retrieve the minimum value.
2896
+ * @returns A promise that resolves to the minimum value of the specified column.
2897
+ * @category Getting Data
2898
+ *
2899
+ * @example
2900
+ * ```ts
2901
+ * // Get the minimum value from the 'price' column
2902
+ * const minPrice = await table.getMin("price");
2903
+ * console.log(minPrice); // e.g., 10.50
2904
+ * ```
2905
+ */
2906
+ getMin(column: string): Promise<string | number | boolean | Date | null>;
2907
+ /**
2908
+ * Returns the maximum value from a specific column.
2909
+ *
2910
+ * @param column - The name of the column from which to retrieve the maximum value.
2911
+ * @returns A promise that resolves to the maximum value of the specified column.
2912
+ * @category Getting Data
2913
+ *
2914
+ * @example
2915
+ * ```ts
2916
+ * // Get the maximum value from the 'price' column
2917
+ * const maxPrice = await table.getMax("price");
2918
+ * console.log(maxPrice); // e.g., 99.99
2919
+ * ```
2920
+ */
2921
+ getMax(column: string): Promise<string | number | boolean | Date | null>;
2922
+ /**
2923
+ * Returns the extent (minimum and maximum values) of a specific column as an array.
2924
+ *
2925
+ * @param column - The name of the column from which to retrieve the extent.
2926
+ * @returns A promise that resolves to an array `[min, max]` containing the minimum and maximum values of the specified column.
2927
+ * @category Getting Data
2928
+ *
2929
+ * @example
2930
+ * ```ts
2931
+ * // Get the extent of the 'temperature' column
2932
+ * const tempExtent = await table.getExtent("temperature");
2933
+ * console.log(tempExtent); // e.g., [15.2, 30.1]
2934
+ * ```
2935
+ */
2936
+ getExtent(column: string): Promise<[
2937
+ string | number | boolean | Date | null,
2938
+ string | number | boolean | Date | null
2939
+ ]>;
2940
+ /**
2941
+ * Returns the mean (average) value from a specific numeric column.
2942
+ *
2943
+ * @param column - The name of the numeric column from which to retrieve the mean value.
2944
+ * @param options - An optional object with configuration options:
2945
+ * @param options.decimals - The number of decimal places to round the result to. Defaults to `undefined` (no rounding).
2946
+ * @returns A promise that resolves to the mean value of the specified column.
2947
+ * @category Getting Data
2948
+ *
2949
+ * @example
2950
+ * ```ts
2951
+ * // Get the mean of the 'age' column
2952
+ * const meanAge = await table.getMean("age");
2953
+ * console.log(meanAge); // e.g., 35.75
2954
+ * ```
2955
+ *
2956
+ * @example
2957
+ * ```ts
2958
+ * // Get the mean of the 'salary' column, rounded to 2 decimal places
2959
+ * const meanSalary = await table.getMean("salary", { decimals: 2 });
2960
+ * console.log(meanSalary); // e.g., 55000.23
2961
+ * ```
2962
+ */
2963
+ getMean(column: string, options?: {
2964
+ decimals?: number;
2965
+ }): Promise<number>;
2966
+ /**
2967
+ * Returns the median value from a specific numeric column.
2968
+ *
2969
+ * @param column - The name of the numeric column from which to retrieve the median value.
2970
+ * @param options - An optional object with configuration options:
2971
+ * @param options.decimals - The number of decimal places to round the result to. Defaults to `undefined` (no rounding).
2972
+ * @returns A promise that resolves to the median value of the specified column.
2973
+ * @category Getting Data
2974
+ *
2975
+ * @example
2976
+ * ```ts
2977
+ * // Get the median of the 'age' column
2978
+ * const medianAge = await table.getMedian("age");
2979
+ * console.log(medianAge); // e.g., 30
2980
+ * ```
2981
+ *
2982
+ * @example
2983
+ * ```ts
2984
+ * // Get the median of the 'salary' column, rounded to 2 decimal places
2985
+ * const medianSalary = await table.getMedian("salary", { decimals: 2 });
2986
+ * console.log(medianSalary); // e.g., 50000.00
2987
+ * ```
2988
+ */
2989
+ getMedian(column: string, options?: {
2990
+ decimals?: number;
2991
+ }): Promise<number>;
2992
+ /**
2993
+ * Returns the sum of values from a specific numeric column.
2994
+ *
2995
+ * @param column - The name of the numeric column from which to retrieve the sum.
2996
+ * @returns A promise that resolves to the sum of values in the specified column.
2997
+ * @category Getting Data
2998
+ *
2999
+ * @example
3000
+ * ```ts
3001
+ * // Get the sum of the 'quantity' column
3002
+ * const totalQuantity = await table.getSum("quantity");
3003
+ * console.log(totalQuantity); // e.g., 1250
3004
+ * ```
3005
+ */
3006
+ getSum(column: string): Promise<number>;
3007
+ /**
3008
+ * Returns the skewness of values from a specific numeric column.
3009
+ *
3010
+ * @param column - The name of the numeric column from which to retrieve the skewness.
3011
+ * @param options - An optional object with configuration options:
3012
+ * @param options.decimals - The number of decimal places to round the result to. Defaults to `undefined` (no rounding).
3013
+ * @returns A promise that resolves to the skewness value of the specified column.
3014
+ * @category Getting Data
3015
+ *
3016
+ * @example
3017
+ * ```ts
3018
+ * // Get the skewness of the 'data' column
3019
+ * const dataSkew = await table.getSkew("data");
3020
+ * console.log(dataSkew); // e.g., 0.5
3021
+ * ```
3022
+ *
3023
+ * @example
3024
+ * ```ts
3025
+ * // Get the skewness of the 'values' column, rounded to 2 decimal places
3026
+ * const valuesSkew = await table.getSkew("values", { decimals: 2 });
3027
+ * console.log(valuesSkew); // e.g., -0.25
3028
+ * ```
3029
+ */
3030
+ getSkew(column: string, options?: {
3031
+ decimals?: number;
3032
+ }): Promise<number>;
3033
+ /**
3034
+ * Returns the standard deviation of values from a specific numeric column.
3035
+ *
3036
+ * @param column - The name of the numeric column from which to retrieve the standard deviation.
3037
+ * @param options - An optional object with configuration options:
3038
+ * @param options.decimals - The number of decimal places to round the result to. Defaults to `undefined` (no rounding).
3039
+ * @returns A promise that resolves to the standard deviation value of the specified column.
3040
+ * @category Getting Data
3041
+ *
3042
+ * @example
3043
+ * ```ts
3044
+ * // Get the standard deviation of the 'height' column
3045
+ * const heightStdDev = await table.getStdDev("height");
3046
+ * console.log(heightStdDev); // e.g., 5.2
3047
+ * ```
3048
+ *
3049
+ * @example
3050
+ * ```ts
3051
+ * // Get the standard deviation of the 'score' column, rounded to 3 decimal places
3052
+ * const scoreStdDev = await table.getStdDev("score", { decimals: 3 });
3053
+ * console.log(scoreStdDev); // e.g., 12.345
3054
+ * ```
3055
+ */
3056
+ getStdDev(column: string, options?: {
3057
+ decimals?: number;
3058
+ }): Promise<number>;
3059
+ /**
3060
+ * Returns the variance of values from a specific numeric column.
3061
+ *
3062
+ * @param column - The name of the numeric column from which to retrieve the variance.
3063
+ * @param options - An optional object with configuration options:
3064
+ * @param options.decimals - The number of decimal places to round the result to. Defaults to `undefined` (no rounding).
3065
+ * @returns A promise that resolves to the variance value of the specified column.
3066
+ * @category Getting Data
3067
+ *
3068
+ * @example
3069
+ * ```ts
3070
+ * // Get the variance of the 'data' column
3071
+ * const dataVariance = await table.getVar("data");
3072
+ * console.log(dataVariance); // e.g., 25.5
3073
+ * ```
3074
+ *
3075
+ * @example
3076
+ * ```ts
3077
+ * // Get the variance of the 'values' column, rounded to 2 decimal places
3078
+ * const valuesVariance = await table.getVar("values", { decimals: 2 });
3079
+ * console.log(valuesVariance); // e.g., 10.23
3080
+ * ```
3081
+ */
3082
+ getVar(column: string, options?: {
3083
+ decimals?: number;
3084
+ }): Promise<number>;
3085
+ /**
3086
+ * Returns the value of a specific quantile from the values in a given numeric column.
3087
+ *
3088
+ * @param column - The name of the numeric column from which to calculate the quantile.
3089
+ * @param quantile - The quantile to calculate, expressed as a number between 0 and 1 (e.g., `0.25` for the first quartile, `0.5` for the median, `0.75` for the third quartile).
3090
+ * @param options - An optional object with configuration options:
3091
+ * @param options.decimals - The number of decimal places to round the result to. Defaults to `undefined` (no rounding).
3092
+ * @returns A promise that resolves to the quantile value of the specified column.
3093
+ * @category Getting Data
3094
+ *
3095
+ * @example
3096
+ * ```ts
3097
+ * // Get the first quartile (25th percentile) of 'column1'
3098
+ * const firstQuartile = await table.getQuantile("column1", 0.25);
3099
+ * console.log(firstQuartile); // e.g., 15.7
3100
+ * ```
3101
+ *
3102
+ * @example
3103
+ * ```ts
3104
+ * // Get the 90th percentile of 'score' values, rounded to 2 decimal places
3105
+ * const ninetiethPercentile = await table.getQuantile("score", 0.9, { decimals: 2 });
3106
+ * console.log(ninetiethPercentile); // e.g., 88.55
3107
+ * ```
3108
+ */
3109
+ getQuantile(column: string, quantile: number, options?: {
3110
+ decimals?: number;
3111
+ }): Promise<number>;
3112
+ /**
3113
+ * Returns unique values from a specific column. The values are returned in ascending order.
3114
+ *
3115
+ * @param column - The name of the column from which to retrieve unique values.
3116
+ * @returns A promise that resolves to an array containing the unique values from the specified column, sorted in ascending order.
3117
+ * @category Getting Data
3118
+ *
3119
+ * @example
3120
+ * ```ts
3121
+ * // Get unique values from the 'category' column
3122
+ * const uniqueCategories = await table.getUniques("category");
3123
+ * console.log(uniqueCategories); // e.g., ["Books", "Clothing", "Electronics"]
3124
+ * ```
3125
+ */
3126
+ getUniques(column: string): Promise<(string | number | boolean | Date | null)[]>;
3127
+ /**
3128
+ * Returns the first row of the table, optionally filtered by SQL conditions.
3129
+ * You can also use JavaScript syntax for conditions (e.g., `&&`, `||`, `===`, `!==`).
3130
+ *
3131
+ * @param options - An optional object with configuration options:
3132
+ * @param options.conditions - The filtering conditions specified as a SQL `WHERE` clause (e.g., `"category = 'Book'"`).
3133
+ * @returns A promise that resolves to an object representing the first row, or `null` if no rows match the conditions.
3134
+ * @category Getting Data
3135
+ *
3136
+ * @example
3137
+ * ```ts
3138
+ * // Get the very first row of the table
3139
+ * const firstRow = await table.getFirstRow();
3140
+ * console.log(firstRow);
3141
+ * ```
3142
+ *
3143
+ * @example
3144
+ * ```ts
3145
+ * // Get the first row where the 'category' is 'Book'
3146
+ * const firstRowBooks = await table.getFirstRow({ conditions: `category === 'Book'` }); // Using JS syntax
3147
+ * console.log(firstRowBooks);
3148
+ * ```
3149
+ */
3150
+ getFirstRow(options?: {
3151
+ conditions?: string;
3152
+ }): Promise<{
3153
+ [key: string]: string | number | boolean | Date | null;
3154
+ }>;
3155
+ /**
3156
+ * Returns the last row of the table, optionally filtered by SQL conditions.
3157
+ * You can also use JavaScript syntax for conditions (e.g., `&&`, `||`, `===`, `!==`).
3158
+ *
3159
+ * @param options - An optional object with configuration options:
3160
+ * @param options.conditions - The filtering conditions specified as a SQL `WHERE` clause (e.g., `"category = 'Book'"`).
3161
+ * @returns A promise that resolves to an object representing the last row, or `null` if no rows match the conditions.
3162
+ * @category Getting Data
3163
+ *
3164
+ * @example
3165
+ * ```ts
3166
+ * // Get the very last row of the table
3167
+ * const lastRow = await table.getLastRow();
3168
+ * console.log(lastRow);
3169
+ * ```
3170
+ *
3171
+ * @example
3172
+ * ```ts
3173
+ * // Get the last row where the 'category' is 'Book'
3174
+ * const lastRowBooks = await table.getLastRow({ conditions: `category === 'Book'` }); // Using JS syntax
3175
+ * console.log(lastRowBooks);
3176
+ * ```
3177
+ */
3178
+ getLastRow(options?: {
3179
+ conditions?: string;
3180
+ }): Promise<{
3181
+ [key: string]: string | number | boolean | Date | null;
3182
+ }>;
3183
+ /**
3184
+ * Returns the top `n` rows of the table, optionally filtered by SQL conditions.
3185
+ * You can also use JavaScript syntax for conditions (e.g., `&&`, `||`, `===`, `!==`).
3186
+ *
3187
+ * @param count - The number of rows to return from the top of the table.
3188
+ * @param options - An optional object with configuration options:
3189
+ * @param options.conditions - The filtering conditions specified as a SQL `WHERE` clause (e.g., `"category = 'Books'"`).
3190
+ * @returns A promise that resolves to an array of objects representing the top `n` rows.
3191
+ * @category Getting Data
3192
+ *
3193
+ * @example
3194
+ * ```ts
3195
+ * // Get the first 10 rows of the table
3196
+ * const top10 = await table.getTop(10);
3197
+ * console.log(top10);
3198
+ * ```
3199
+ *
3200
+ * @example
3201
+ * ```ts
3202
+ * // Get the first 5 rows where the 'category' is 'Books'
3203
+ * const top5Books = await table.getTop(5, { conditions: `category === 'Books'` }); // Using JS syntax
3204
+ * console.log(top5Books);
3205
+ * ```
3206
+ */
3207
+ getTop(count: number, options?: {
3208
+ conditions?: string;
3209
+ }): Promise<{
3210
+ [key: string]: string | number | boolean | Date | null;
3211
+ }[]>;
3212
+ /**
3213
+ * Returns the bottom `n` rows of the table, optionally filtered by SQL conditions.
3214
+ * By default, the last row will be returned first. To preserve the original order, use the `originalOrder` option.
3215
+ * You can also use JavaScript syntax for conditions (e.g., `&&`, `||`, `===`, `!==`).
3216
+ *
3217
+ * @param count - The number of rows to return from the bottom of the table.
3218
+ * @param options - An optional object with configuration options:
3219
+ * @param options.originalOrder - A boolean indicating whether the rows should be returned in their original order (`true`) or in reverse order (last row first, `false`). Defaults to `false`.
3220
+ * @param options.conditions - The filtering conditions specified as a SQL `WHERE` clause (e.g., `"category = 'Books'"`).
3221
+ * @returns A promise that resolves to an array of objects representing the bottom `n` rows.
3222
+ * @category Getting Data
3223
+ *
3224
+ * @example
3225
+ * ```ts
3226
+ * // Get the last 10 rows (last row first)
3227
+ * const bottom10 = await table.getBottom(10);
3228
+ * console.log(bottom10);
3229
+ * ```
3230
+ *
3231
+ * @example
3232
+ * ```ts
3233
+ * // Get the last 10 rows in their original order
3234
+ * const bottom10OriginalOrder = await table.getBottom(10, { originalOrder: true });
3235
+ * console.log(bottom10OriginalOrder);
3236
+ * ```
3237
+ *
3238
+ * @example
3239
+ * ```ts
3240
+ * // Get the last 5 rows where the 'category' is 'Books' (using JS syntax)
3241
+ * const bottom5Books = await table.getBottom(5, { conditions: `category === 'Books'` });
3242
+ * console.log(bottom5Books);
3243
+ * ```
3244
+ */
3245
+ getBottom(count: number, options?: {
3246
+ originalOrder?: boolean;
3247
+ conditions?: string;
3248
+ }): Promise<{
3249
+ [key: string]: string | number | boolean | Date | null;
3250
+ }[]>;
3251
+ /**
3252
+ * Returns a single row that matches the specified conditions. If no row matches or if more than one row matches, an error is thrown by default.
3253
+ * You can also use JavaScript syntax for conditions (e.g., `AND`, `||`, `===`, `!==`).
3254
+ *
3255
+ * @param conditions - The conditions to match, specified as a SQL `WHERE` clause.
3256
+ * @param options - Optional settings:
3257
+ * @param options.noCheck - If `true`, no error will be thrown when no row or more than one row match the condition. Defaults to `false`.
3258
+ * @returns A promise that resolves to an object representing the matched row.
3259
+ * @throws {Error} If `noCheck` is `false` and no row or more than one row matches the conditions.
3260
+ * @category Getting Data
3261
+ *
3262
+ * @example
3263
+ * ```ts
3264
+ * // Get a row where 'name' is 'John'
3265
+ * const johnsRow = await table.getRow(`name = 'John'`);
3266
+ * console.log(johnsRow);
3267
+ * ```
3268
+ *
3269
+ * @example
3270
+ * ```ts
3271
+ * // Get a row where 'id' is 123 (using JS syntax)
3272
+ * const rowById = await table.getRow(`id === 123`);
3273
+ * console.log(rowById);
3274
+ * ```
3275
+ *
3276
+ * @example
3277
+ * ```ts
3278
+ * // Get a row without throwing an error if multiple matches or no match
3279
+ * const flexibleRow = await table.getRow(`status = 'pending'`, { noCheck: true });
3280
+ * console.log(flexibleRow);
3281
+ * ```
3282
+ */
3283
+ getRow(conditions: string, options?: {
3284
+ noCheck?: boolean;
3285
+ }): Promise<{
3286
+ [key: string]: string | number | boolean | Date | null;
3287
+ } | undefined>;
3288
+ /**
3289
+ * Returns the data from the table as an array of objects, optionally filtered by SQL conditions.
3290
+ * You can also use JavaScript syntax for conditions (e.g., `&&`, `||`, `===`, `!==`).
3291
+ *
3292
+ * @param options - An optional object with configuration options:
3293
+ * @param options.columns - An array of column names to include in the result. If omitted, all columns will be included.
3294
+ * @param options.conditions - The filtering conditions specified as a SQL `WHERE` clause (e.g., `"category = 'Book'"`).
3295
+ * @returns A promise that resolves to an array of objects, where each object represents a row in the table.
3296
+ * @category Getting Data
3297
+ *
3298
+ * @example
3299
+ * ```ts
3300
+ * // Get all data from the table
3301
+ * const allData = await table.getData();
3302
+ * console.log(allData);
3303
+ * ```
3304
+ *
3305
+ * @example
3306
+ * ```ts
3307
+ * // Get data filtered by a condition (using JS or SQL syntax)
3308
+ * const booksData = await table.getData({ conditions: `category === 'Book'` });
3309
+ * console.log(booksData);
3310
+ * ```
3311
+ *
3312
+ * @example
3313
+ * ```ts
3314
+ * // Get data filtered by a condition and specific columns
3315
+ * const booksData = await table.getData({ columns: ["title", "author"], conditions: `category === 'Book'` });
3316
+ * console.log(booksData);
3317
+ * ```
3318
+ */
3319
+ getData(options?: {
3320
+ columns?: string | string[];
3321
+ conditions?: string;
3322
+ }): Promise<{
3323
+ [key: string]: string | number | boolean | Date | null;
3324
+ }[]>;
3325
+ /**
3326
+ * Returns the data from the table as a CSV string, optionally filtered by SQL conditions.
3327
+ * You can also use JavaScript syntax for conditions (e.g., `&&`, `||`, `===`, `!==`).
3328
+ *
3329
+ * @param options - An optional object with configuration options:
3330
+ * @param options.columns - An array of column names to include in the CSV. If omitted, all columns will be included.
3331
+ * @param options.conditions - The filtering conditions specified as a SQL `WHERE` clause (e.g., `"category = 'Book'"`).
3332
+ * @returns A promise that resolves to a CSV-formatted string representation of the table data.
3333
+ * @category Getting Data
3334
+ *
3335
+ * @example
3336
+ * ```ts
3337
+ * // Get all data from the table as CSV
3338
+ * const allDataCSV = await table.getDataAsCSV();
3339
+ * console.log(allDataCSV);
3340
+ * ```
3341
+ *
3342
+ * @example
3343
+ * ```ts
3344
+ * // Get data filtered by a condition (using JS syntax or SQL syntax) as CSV
3345
+ * const booksDataCSV = await table.getDataAsCSV({ conditions: `category === 'Book'` });
3346
+ * console.log(booksDataCSV);
3347
+ * ```
3348
+ *
3349
+ * @example
3350
+ * ```ts
3351
+ * // Get data filtered by a condition and specific columns as CSV
3352
+ * const booksDataCSV = await table.getDataAsCSV({ columns: ["title", "author"], conditions: `category === 'Book'` });
3353
+ * console.log(booksDataCSV);
3354
+ * ```
3355
+ */
3356
+ getDataAsCSV(options?: {
3357
+ columns?: string | string[];
3358
+ conditions?: string;
3359
+ }): Promise<string>;
3360
+ /**
3361
+ * Creates point geometries from longitude and latitude columns. The geometries will have `[latitude, longitude]` axis order.
3362
+ *
3363
+ * @param columnLat - The name of the column storing the latitude values.
3364
+ * @param columnLon - The name of the column storing the longitude values.
3365
+ * @param newColumn - The name of the new column where the point geometries will be stored.
3366
+ * @returns A promise that resolves when the point geometries have been created.
3367
+ * @category Geospatial
3368
+ *
3369
+ * @example
3370
+ * ```ts
3371
+ * // Create point geometries in a new 'geom' column using 'lat' and 'lon' columns
3372
+ * await table.points("lat", "lon", "geom");
3373
+ * ```
3374
+ */
3375
+ points(columnLat: string, columnLon: string, newColumn: string): Promise<void>;
3376
+ /**
3377
+ * Adds a column with boolean values indicating the validity of geometries.
3378
+ *
3379
+ * @param newColumn - The name of the new column where the boolean results (`TRUE` for valid, `FALSE` for invalid) will be stored.
3380
+ * @param options - An optional object with configuration options:
3381
+ * @param options.column - The name of the column storing the geometries to be checked. If omitted, the method will automatically attempt to find a geometry column.
3382
+ * @returns A promise that resolves when the validity check is complete.
3383
+ * @category Geospatial
3384
+ *
3385
+ * @example
3386
+ * ```ts
3387
+ * // Check if geometries are valid and store results in a new 'isValid' column
3388
+ * // The method will automatically detect the geometry column.
3389
+ * await table.isValidGeo("isValid");
3390
+ * ```
3391
+ *
3392
+ * @example
3393
+ * ```ts
3394
+ * // Check validity of geometries in a specific column named 'myGeom'
3395
+ * await table.isValidGeo("isValidMyGeom", { column: "myGeom" });
3396
+ * ```
3397
+ */
3398
+ isValidGeo(newColumn: string, options?: {
3399
+ column?: string;
3400
+ }): Promise<void>;
3401
+ /**
3402
+ * Adds a column with the number of vertices (points) in each geometry.
3403
+ *
3404
+ * @param newColumn - The name of the new column where the vertex counts will be stored.
3405
+ * @param options - An optional object with configuration options:
3406
+ * @param options.column - The name of the column storing the geometries. If omitted, the method will automatically attempt to find a geometry column.
3407
+ * @returns A promise that resolves when the vertex counts have been added.
3408
+ * @category Geospatial
3409
+ *
3410
+ * @example
3411
+ * ```ts
3412
+ * // Add a new column 'vertexCount' with the number of vertices for each geometry
3413
+ * // The method will automatically detect the geometry column.
3414
+ * await table.nbVertices("vertexCount");
3415
+ * ```
3416
+ *
3417
+ * @example
3418
+ * ```ts
3419
+ * // Add vertex counts for geometries in a specific column named 'myGeom'
3420
+ * await table.nbVertices("myGeomVertices", { column: "myGeom" });
3421
+ * ```
3422
+ */
3423
+ nbVertices(newColumn: string, options?: {
3424
+ column?: string;
3425
+ }): Promise<void>;
3426
+ /**
3427
+ * Attempts to make invalid geometries valid without removing any vertices.
3428
+ *
3429
+ * @param column - The name of the column storing the geometries to be fixed. If omitted, the method will automatically attempt to find a geometry column.
3430
+ * @returns A promise that resolves when the geometries have been processed.
3431
+ * @category Geospatial
3432
+ *
3433
+ * @example
3434
+ * ```ts
3435
+ * // Fix invalid geometries in the default geometry column
3436
+ * await table.fixGeo();
3437
+ * ```
3438
+ *
3439
+ * @example
3440
+ * ```ts
3441
+ * // Fix invalid geometries in a specific column named 'myGeom'
3442
+ * await table.fixGeo("myGeom");
3443
+ * ```
3444
+ */
3445
+ fixGeo(column?: string): Promise<void>;
3446
+ /**
3447
+ * Adds a column with boolean values indicating whether geometries are closed (e.g., polygons) or open (e.g., linestrings).
3448
+ *
3449
+ * @param newColumn - The name of the new column where the boolean results (`TRUE` for closed, `FALSE` for open) will be stored.
3450
+ * @param options - An optional object with configuration options:
3451
+ * @param options.column - The name of the column storing the geometries. If omitted, the method will automatically attempt to find a geometry column.
3452
+ * @returns A promise that resolves when the closed geometry check is complete.
3453
+ * @category Geospatial
3454
+ *
3455
+ * @example
3456
+ * ```ts
3457
+ * // Check if geometries are closed and store results in a new 'isClosed' column
3458
+ * await table.isClosedGeo("isClosed");
3459
+ * ```
3460
+ *
3461
+ * @example
3462
+ * ```ts
3463
+ * // Check closed status of geometries in a specific column named 'boundaryGeom'
3464
+ * await table.isClosedGeo("boundaryClosed", { column: "boundaryGeom" });
3465
+ * ```
3466
+ */
3467
+ isClosedGeo(newColumn: string, options?: {
3468
+ column?: string;
3469
+ }): Promise<void>;
3470
+ /**
3471
+ * Adds a column with the geometry type (e.g., `"POINT"`, `"LINESTRING"`, `"POLYGON"`) for each geometry.
3472
+ *
3473
+ * @param newColumn - The name of the new column where the geometry types will be stored.
3474
+ * @param options - An optional object with configuration options:
3475
+ * @param options.column - The name of the column storing the geometries. If omitted, the method will automatically attempt to find a geometry column.
3476
+ * @returns A promise that resolves when the geometry types have been added.
3477
+ * @category Geospatial
3478
+ *
3479
+ * @example
3480
+ * ```ts
3481
+ * // Add a new column 'geometryType' with the type of each geometry
3482
+ * await table.typeGeo("geometryType");
3483
+ * ```
3484
+ *
3485
+ * @example
3486
+ * ```ts
3487
+ * // Get the geometry type for geometries in a specific column named 'featureGeom'
3488
+ * await table.typeGeo("featureType", { column: "featureGeom" });
3489
+ * ```
3490
+ */
3491
+ typeGeo(newColumn: string, options?: {
3492
+ column?: string;
3493
+ }): Promise<void>;
3494
+ /**
3495
+ * Flips the coordinate order of geometries in a specified column (e.g., from `[lon, lat]` to `[lat, lon]` or vice-versa).
3496
+ * **Warning:** This method should be used with caution as it directly manipulates coordinate order and can affect the accuracy of geospatial operations if not used correctly. It also messes up with the projections stored in `table.projections`.
3497
+ *
3498
+ * @param column - The name of the column storing the geometries. If omitted, the method will automatically attempt to find a geometry column.
3499
+ * @returns A promise that resolves when the coordinates have been flipped.
3500
+ * @category Geospatial
3501
+ *
3502
+ * @example
3503
+ * ```ts
3504
+ * // Flip coordinates in the default geometry column
3505
+ * await table.flipCoordinates();
3506
+ * ```
3507
+ *
3508
+ * @example
3509
+ * ```ts
3510
+ * // Flip coordinates in a specific column named 'myGeom'
3511
+ * await table.flipCoordinates("myGeom");
3512
+ * ```
3513
+ */
3514
+ flipCoordinates(column?: string): Promise<void>;
3515
+ /**
3516
+ * Reduces the precision of geometries in a specified column to a given number of decimal places.
3517
+ *
3518
+ * @param decimals - The number of decimal places to keep in the coordinates of the geometries.
3519
+ * @param options - An optional object with configuration options:
3520
+ * @param options.column - The name of the column storing the geometries. If omitted, the method will automatically attempt to find a geometry column.
3521
+ * @returns A promise that resolves when the precision of the geometries has been reduced.
3522
+ * @category Geospatial
3523
+ *
3524
+ * @example
3525
+ * ```ts
3526
+ * // Reduce the precision of geometries in the default column to 3 decimal places
3527
+ * await table.reducePrecision(3);
3528
+ * ```
3529
+ *
3530
+ * @example
3531
+ * ```ts
3532
+ * // Reduce the precision of geometries in a specific column named 'myGeom' to 2 decimal places
3533
+ * await table.reducePrecision(2, { column: "myGeom" });
3534
+ * ```
3535
+ */
3536
+ reducePrecision(decimals: number, options?: {
3537
+ column?: string;
3538
+ }): Promise<void>;
3539
+ /**
3540
+ * Reprojects the geometries in a specified column to another Spatial Reference System (SRS).
3541
+ * If reprojecting to WGS84 (`"WGS84"` or `"EPSG:4326"`), the resulting geometries will have `[latitude, longitude]` axis order.
3542
+ *
3543
+ * @param to - The target SRS (e.g., `"EPSG:3347"`, `"WGS84"`).
3544
+ * @param options - An optional object with configuration options:
3545
+ * @param options.from - The original projection of the geometries. If omitted, the method attempts to automatically detect it. Provide this option if auto-detection fails.
3546
+ * @param options.column - The name of the column storing the geometries. If omitted, the method will automatically attempt to find a geometry column.
3547
+ * @returns A promise that resolves when the geometries have been reprojected.
3548
+ * @category Geospatial
3549
+ *
3550
+ * @example
3551
+ * ```ts
3552
+ * // Reproject geometries in the default column to EPSG:3347 (NAD83/Statistics Canada Lambert)
3553
+ * await table.reproject("EPSG:3347");
3554
+ * ```
3555
+ *
3556
+ * @example
3557
+ * ```ts
3558
+ * // Reproject geometries from EPSG:4326 to EPSG:3347, specifying the original projection
3559
+ * await table.reproject("EPSG:3347", { from: "EPSG:4326" });
3560
+ * ```
3561
+ *
3562
+ * @example
3563
+ * ```ts
3564
+ * // Reproject geometries in a specific column named 'myGeom' to EPSG:3347
3565
+ * await table.reproject("EPSG:3347", { column: "myGeom", from: "EPSG:4326" });
3566
+ * ```
3567
+ */
3568
+ reproject(to: string, options?: {
3569
+ from?: string;
3570
+ column?: string;
3571
+ }): Promise<void>;
3572
+ /**
3573
+ * Computes the area of geometries in square meters (`"m2"`) or optionally square kilometers (`"km2"`).
3574
+ * The input geometry is assumed to be in the EPSG:4326 coordinate system (WGS84), with `[latitude, longitude]` axis order.
3575
+ *
3576
+ * @param newColumn - The name of the new column where the computed areas will be stored.
3577
+ * @param options - An optional object with configuration options:
3578
+ * @param options.unit - The unit for the computed area: `"m2"` (square meters) or `"km2"` (square kilometers). Defaults to `"m2"`.
3579
+ * @param options.column - The name of the column storing the geometries. If omitted, the method will automatically attempt to find a geometry column.
3580
+ * @returns A promise that resolves when the areas have been computed.
3581
+ * @category Geospatial
3582
+ *
3583
+ * @example
3584
+ * ```ts
3585
+ * // Compute the area of geometries in square meters and store in 'area_m2'
3586
+ * await table.area("area_m2");
3587
+ * ```
3588
+ *
3589
+ * @example
3590
+ * ```ts
3591
+ * // Compute the area of geometries in square kilometers and store in 'area_km2'
3592
+ * await table.area("area_km2", { unit: "km2" });
3593
+ * ```
3594
+ *
3595
+ * @example
3596
+ * ```ts
3597
+ * // Compute the area of geometries in a specific column named 'myGeom'
3598
+ * await table.area("myGeomArea", { column: "myGeom" });
3599
+ * ```
3600
+ */
3601
+ area(newColumn: string, options?: {
3602
+ unit?: "m2" | "km2";
3603
+ column?: string;
3604
+ }): Promise<void>;
3605
+ /**
3606
+ * Computes the length of line geometries in meters (`"m"`) or optionally kilometers (`"km"`).
3607
+ * The input geometry is assumed to be in the EPSG:4326 coordinate system (WGS84), with `[latitude, longitude]` axis order.
3608
+ *
3609
+ * @param newColumn - The name of the new column where the computed lengths will be stored.
3610
+ * @param options - An optional object with configuration options:
3611
+ * @param options.unit - The unit for the computed length: `"m"` (meters) or `"km"` (kilometers). Defaults to `"m"`.
3612
+ * @param options.column - The name of the column storing the geometries. If omitted, the method will automatically attempt to find a geometry column.
3613
+ * @returns A promise that resolves when the lengths have been computed.
3614
+ * @category Geospatial
3615
+ *
3616
+ * @example
3617
+ * ```ts
3618
+ * // Compute the length of line geometries in meters and store in 'length_m'
3619
+ * await table.length("length_m");
3620
+ * ```
3621
+ *
3622
+ * @example
3623
+ * ```ts
3624
+ * // Compute the length of line geometries in kilometers and store in 'length_km'
3625
+ * await table.length("length_km", { unit: "km" });
3626
+ * ```
3627
+ *
3628
+ * @example
3629
+ * ```ts
3630
+ * // Compute the length of geometries in a specific column named 'routeGeom'
3631
+ * await table.length("routeLength", { column: "routeGeom" });
3632
+ * ```
3633
+ */
3634
+ length(newColumn: string, options?: {
3635
+ unit?: "m" | "km";
3636
+ column?: string;
3637
+ }): Promise<void>;
3638
+ /**
3639
+ * Computes the perimeter of polygon geometries in meters (`"m"`) or optionally kilometers (`"km"`).
3640
+ * The input geometry is assumed to be in the EPSG:4326 coordinate system (WGS84), with `[latitude, longitude]` axis order.
3641
+ *
3642
+ * @param newColumn - The name of the new column where the computed perimeters will be stored.
3643
+ * @param options - An optional object with configuration options:
3644
+ * @param options.unit - The unit for the computed perimeter: `"m"` (meters) or `"km"` (kilometers). Defaults to `"m"`.
3645
+ * @param options.column - The name of the column storing the geometries. If omitted, the method will automatically attempt to find a geometry column.
3646
+ * @returns A promise that resolves when the perimeters have been computed.
3647
+ * @category Geospatial
3648
+ *
3649
+ * @example
3650
+ * ```ts
3651
+ * // Compute the perimeter of polygon geometries in meters and store in 'perimeter_m'
3652
+ * await table.perimeter("perimeter_m");
3653
+ * ```
3654
+ *
3655
+ * @example
3656
+ * ```ts
3657
+ * // Compute the perimeter of polygon geometries in kilometers and store in 'perimeter_km'
3658
+ * await table.perimeter("perimeter_km", { unit: "km" });
3659
+ * ```
3660
+ *
3661
+ * @example
3662
+ * ```ts
3663
+ * // Compute the perimeter of geometries in a specific column named 'landParcelGeom'
3664
+ * await table.perimeter("landParcelPerimeter", { column: "landParcelGeom" });
3665
+ * ```
3666
+ */
3667
+ perimeter(newColumn: string, options?: {
3668
+ unit?: "m" | "km";
3669
+ column?: string;
3670
+ }): Promise<void>;
3671
+ /**
3672
+ * Computes a buffer (a polygon representing a specified distance around a geometry) for geometries in a specified column.
3673
+ * The distance is in the Spatial Reference System (SRS) unit of the input geometries.
3674
+ *
3675
+ * @param newColumn - The name of the new column where the buffered geometries will be stored.
3676
+ * @param distance - The distance for the buffer. This value is in the units of the geometry's SRS.
3677
+ * @param options - An optional object with configuration options:
3678
+ * @param options.column - The name of the column storing the geometries. If omitted, the method will automatically attempt to find a geometry column.
3679
+ * @returns A promise that resolves when the buffers have been computed.
3680
+ * @category Geospatial
3681
+ *
3682
+ * @example
3683
+ * ```ts
3684
+ * // Create a buffer of 1 unit around geometries in the default column, storing results in 'bufferedGeom'
3685
+ * await table.buffer("bufferedGeom", 1);
3686
+ * ```
3687
+ *
3688
+ * @example
3689
+ * ```ts
3690
+ * // Create a buffer of 10 units around geometries in a specific column named 'pointsGeom'
3691
+ * await table.buffer("pointsBuffer", 10, { column: "pointsGeom" });
3692
+ * ```
3693
+ */
3694
+ buffer(newColumn: string, distance: number, options?: {
3695
+ column?: string;
3696
+ }): Promise<void>;
3697
+ /**
3698
+ * Merges the data of this table (considered the left table) with another table (the right table) based on a spatial relationship.
3699
+ * Note that the order of rows in the returned data is not guaranteed to be the same as in the original tables.
3700
+ * This operation might create temporary files in a `.tmp` folder; consider adding `.tmp` to your `.gitignore`.
3701
+ *
3702
+ * @param rightTable - The SimpleTable instance to be joined with this table.
3703
+ * @param method - The spatial join method to use: `"intersect"` (geometries overlap), `"inside"` (geometries of the left table are entirely within geometries of the right table), or `"within"` (geometries of the left table are within a specified distance of geometries in the right table).
3704
+ * @param options - An optional object with configuration options:
3705
+ * @param options.leftTableColumn - The name of the column storing geometries in the left table (this table). If omitted, the method attempts to find one.
3706
+ * @param options.rightTableColumn - The name of the column storing geometries in the right table. If omitted, the method attempts to find one.
3707
+ * @param options.type - The type of join operation to perform: `"inner"`, `"left"` (default), `"right"`, or `"full"`. For some types (like `"inside"`), the table order is important.
3708
+ * @param options.distance - Required if `method` is `"within"`. The target distance for the spatial join. The unit depends on `distanceMethod`.
3709
+ * @param options.distanceMethod - The method for distance calculations: `"srs"` (default, uses the SRS unit), `"haversine"` (uses meters, requires EPSG:4326 input), or `"spheroid"` (uses meters, requires EPSG:4326 input, most accurate but slowest).
3710
+ * @param options.outputTable - If `true`, the results will be stored in a new table with a generated name. If a string, it will be used as the name for the new table. If `false` or omitted, the current table will be overwritten. Defaults to `false`.
3711
+ * @returns A promise that resolves to a table instance containing the spatially joined data (either the modified current table or a new table).
3712
+ * @category Geospatial
3713
+ *
3714
+ * @example
3715
+ * ```ts
3716
+ * // Merge data based on intersecting geometries, overwriting tableA
3717
+ * await tableA.joinGeo(tableB, "intersect");
3718
+ * ```
3719
+ *
3720
+ * @example
3721
+ * ```ts
3722
+ * // Merge data where geometries in tableA are inside geometries in tableB
3723
+ * await tableA.joinGeo(tableB, "inside");
3724
+ * ```
3725
+ *
3726
+ * @example
3727
+ * ```ts
3728
+ * // Merge data where geometries in tableA are within 10 units (SRS) of geometries in tableB
3729
+ * await tableA.joinGeo(tableB, "within", { distance: 10 });
3730
+ * ```
3731
+ *
3732
+ * @example
3733
+ * ```ts
3734
+ * // Merge data where geometries in tableA are within 10 kilometers (Haversine) of geometries in tableB
3735
+ * // Input geometries must be in EPSG:4326.
3736
+ * await tableA.joinGeo(tableB, "within", { distance: 10, distanceMethod: "haversine", unit: "km" });
3737
+ * ```
3738
+ *
3739
+ * @example
3740
+ * ```ts
3741
+ * // Merge data with specific geometry columns and an inner join type, storing results in a new table
3742
+ * const tableC = await tableA.joinGeo(tableB, "intersect", {
3743
+ * leftTableColumn: "geometriesA",
3744
+ * rightTableColumn: "geometriesB",
3745
+ * type: "inner",
3746
+ * outputTable: true,
3747
+ * });
3748
+ * ```
3749
+ */
3750
+ joinGeo(rightTable: SimpleTable, method: "intersect" | "inside" | "within", options?: {
3751
+ leftTableColumn?: string;
3752
+ rightTableColumn?: string;
3753
+ type?: "inner" | "left" | "right" | "full";
3754
+ distance?: number;
3755
+ distanceMethod?: "srs" | "haversine" | "spheroid";
3756
+ outputTable?: string | boolean;
3757
+ }): Promise<this>;
3758
+ /**
3759
+ * Computes the intersection of two sets of geometries, creating new geometries where they overlap.
3760
+ *
3761
+ * @param column1 - The name of the first column storing geometries.
3762
+ * @param column2 - The name of the second column storing geometries. Both columns must have the same projection.
3763
+ * @param newColumn - The name of the new column where the computed intersection geometries will be stored.
3764
+ * @returns A promise that resolves when the intersection geometries have been computed.
3765
+ * @category Geospatial
3766
+ *
3767
+ * @example
3768
+ * ```ts
3769
+ * // Compute the intersection of geometries in 'geomA' and 'geomB' columns, storing results in 'intersectGeom'
3770
+ * await table.intersection("geomA", "geomB", "intersectGeom");
3771
+ * ```
3772
+ */
3773
+ intersection(column1: string, column2: string, newColumn: string): Promise<void>;
3774
+ /**
3775
+ * Removes the intersection of two geometries from the first geometry, effectively computing the geometric difference.
3776
+ *
3777
+ * @param column1 - The name of the column storing the reference geometries. These geometries will have the intersection removed.
3778
+ * @param column2 - The name of the column storing the geometries used to compute the intersection. Both columns must have the same projection.
3779
+ * @param newColumn - The name of the new column where the resulting geometries (without the intersection) will be stored.
3780
+ * @returns A promise that resolves when the geometries have been processed.
3781
+ * @category Geospatial
3782
+ *
3783
+ * @example
3784
+ * ```ts
3785
+ * // Remove the intersection of 'geomB' from 'geomA', storing the result in 'geomA_minus_geomB'
3786
+ * await table.removeIntersection("geomA", "geomB", "geomA_minus_geomB");
3787
+ * ```
3788
+ */
3789
+ removeIntersection(column1: string, column2: string, newColumn: string): Promise<void>;
3790
+ /**
3791
+ * Fills holes in polygon geometries.
3792
+ *
3793
+ * @param column - The name of the column storing the geometries. If omitted, the method will automatically attempt to find a geometry column.
3794
+ * @returns A promise that resolves when the holes have been filled.
3795
+ * @category Geospatial
3796
+ *
3797
+ * @example
3798
+ * ```ts
3799
+ * // Fill holes in geometries in the default geometry column
3800
+ * await table.fillHoles();
3801
+ * ```
3802
+ *
3803
+ * @example
3804
+ * ```ts
3805
+ * // Fill holes in geometries in a specific column named 'polygonGeom'
3806
+ * await table.fillHoles("polygonGeom");
3807
+ * ```
3808
+ */
3809
+ fillHoles(column?: string): Promise<void>;
3810
+ /**
3811
+ * Returns `TRUE` if two geometries intersect (overlap in any way), and `FALSE` otherwise.
3812
+ *
3813
+ * @param column1 - The name of the first column storing geometries.
3814
+ * @param column2 - The name of the second column storing geometries. Both columns must have the same projection.
3815
+ * @param newColumn - The name of the new column where the boolean results (`TRUE` for intersection, `FALSE` otherwise) will be stored.
3816
+ * @returns A promise that resolves when the intersection check is complete.
3817
+ * @category Geospatial
3818
+ *
3819
+ * @example
3820
+ * ```ts
3821
+ * // Check if geometries in 'geomA' and 'geomB' intersect, storing results in 'doIntersect'
3822
+ * await table.intersect("geomA", "geomB", "doIntersect");
3823
+ * ```
3824
+ */
3825
+ intersect(column1: string, column2: string, newColumn: string): Promise<void>;
3826
+ /**
3827
+ * Returns `TRUE` if all points of a geometry in `column1` lie inside a geometry in `column2`, and `FALSE` otherwise.
3828
+ *
3829
+ * @param column1 - The name of the column storing the geometries to be tested for containment.
3830
+ * @param column2 - The name of the column storing the geometries to be tested as containers. Both columns must have the same projection.
3831
+ * @param newColumn - The name of the new column where the boolean results (`TRUE` for inside, `FALSE` otherwise) will be stored.
3832
+ * @returns A promise that resolves when the containment check is complete.
3833
+ * @category Geospatial
3834
+ *
3835
+ * @example
3836
+ * ```ts
3837
+ * // Check if geometries in 'pointGeom' are inside 'polygonGeom', storing results in 'isInsidePolygon'
3838
+ * await table.inside("pointGeom", "polygonGeom", "isInsidePolygon");
3839
+ * ```
3840
+ */
3841
+ inside(column1: string, column2: string, newColumn: string): Promise<void>;
3842
+ /**
3843
+ * Computes the union of two geometries, creating a new geometry that represents the merged area of both.
3844
+ *
3845
+ * @param column1 - The name of the first column storing geometries.
3846
+ * @param column2 - The name of the second column storing geometries. Both columns must have the same projection.
3847
+ * @param newColumn - The name of the new column where the computed union geometries will be stored.
3848
+ * @returns A promise that resolves when the union geometries have been computed.
3849
+ * @category Geospatial
3850
+ *
3851
+ * @example
3852
+ * ```ts
3853
+ * // Compute the union of geometries in 'geomA' and 'geomB', storing results in 'unionGeom'
3854
+ * await table.union("geomA", "geomB", "unionGeom");
3855
+ * ```
3856
+ */
3857
+ union(column1: string, column2: string, newColumn: string): Promise<void>;
3858
+ /**
3859
+ * Extracts the latitude and longitude coordinates from point geometries.
3860
+ * The input geometry is assumed to be in the EPSG:4326 coordinate system (WGS84), with `[latitude, longitude]` axis order.
3861
+ *
3862
+ * @param column - The name of the column storing the point geometries.
3863
+ * @param columnLat - The name of the new column where the extracted latitude values will be stored.
3864
+ * @param columnLon - The name of the new column where the extracted longitude values will be stored.
3865
+ * @returns A promise that resolves when the latitude and longitude have been extracted.
3866
+ * @category Geospatial
3867
+ *
3868
+ * @example
3869
+ * ```ts
3870
+ * // Extract latitude and longitude from 'geom' column into new 'lat' and 'lon' columns
3871
+ * await table.latLon("geom", "lat", "lon");
3872
+ * ```
3873
+ */
3874
+ latLon(column: string, columnLat: string, columnLon: string): Promise<void>;
3875
+ /**
3876
+ * Simplifies geometries while preserving their overall coverage. A higher tolerance results in more significant simplification.
3877
+ *
3878
+ * @param tolerance - A numeric value representing the simplification tolerance. A higher value leads to greater simplification.
3879
+ * @param options - An optional object with configuration options:
3880
+ * @param options.column - The name of the column storing the geometries. If omitted, the method will automatically attempt to find a geometry column.
3881
+ * @param options.simplifyBoundary - If `true` (default), the boundary of the geometries will also be simplified. If `false`, only the interior of the geometries will be simplified, preserving the original boundary.
3882
+ * @returns A promise that resolves when the geometries have been simplified.
3883
+ * @category Geospatial
3884
+ *
3885
+ * @example
3886
+ * ```ts
3887
+ * // Simplify geometries in the default column with a tolerance of 0.1
3888
+ * await table.simplify(0.1);
3889
+ * ```
3890
+ *
3891
+ * @example
3892
+ * ```ts
3893
+ * // Simplify geometries in 'myGeom' column, preserving the boundary
3894
+ * await table.simplify(0.05, { column: "myGeom", simplifyBoundary: false });
3895
+ * ```
3896
+ */
3897
+ simplify(tolerance: number, options?: {
3898
+ column?: string;
3899
+ simplifyBoundary?: boolean;
3900
+ }): Promise<void>;
3901
+ /**
3902
+ * Computes the centroid of geometries.
3903
+ * The values are returned in the SRS unit of the input geometries.
3904
+ *
3905
+ * @param newColumn - The name of the new column where the computed centroid geometries will be stored.
3906
+ * @param options - An optional object with configuration options:
3907
+ * @param options.column - The name of the column storing the geometries. If omitted, the method will automatically attempt to find a geometry column.
3908
+ * @returns A promise that resolves when the centroids have been computed.
3909
+ * @category Geospatial
3910
+ *
3911
+ * @example
3912
+ * ```ts
3913
+ * // Compute the centroid of geometries in the default column, storing results in 'centerPoint'
3914
+ * await table.centroid("centerPoint");
3915
+ * ```
3916
+ *
3917
+ * @example
3918
+ * ```ts
3919
+ * // Compute the centroid of geometries in a specific column named 'areaGeom'
3920
+ * await table.centroid("areaCentroid", { column: "areaGeom" });
3921
+ * ```
3922
+ */
3923
+ centroid(newColumn: string, options?: {
3924
+ column?: string;
3925
+ }): Promise<void>;
3926
+ /**
3927
+ * Computes the distance between geometries in two specified columns.
3928
+ * By default, the distance is calculated in the Spatial Reference System (SRS) unit of the input geometries.
3929
+ * You can optionally specify `"spheroid"` or `"haversine"` methods to get results in meters or kilometers.
3930
+ * If using `"spheroid"` or `"haversine"`, the input geometries must be in the EPSG:4326 coordinate system (WGS84), with `[latitude, longitude]` axis order.
3931
+ *
3932
+ * @param column1 - The name of the first column storing geometries.
3933
+ * @param column2 - The name of the second column storing geometries.
3934
+ * @param newColumn - The name of the new column where the computed distances will be stored.
3935
+ * @param options - An optional object with configuration options:
3936
+ * @param options.method - The method to use for distance calculations: `"srs"` (default, uses SRS unit), `"haversine"` (meters, requires EPSG:4326), or `"spheroid"` (meters, requires EPSG:4326, most accurate but slowest).
3937
+ * @param options.unit - If `method` is `"spheroid"` or `"haversine"`, you can choose between `"m"` (meters, default) or `"km"` (kilometers).
3938
+ * @param options.decimals - The number of decimal places to round the distance values. Defaults to `undefined` (no rounding).
3939
+ * @returns A promise that resolves when the distances have been computed.
3940
+ * @category Geospatial
3941
+ *
3942
+ * @example
3943
+ * ```ts
3944
+ * // Compute distance between 'geomA' and 'geomB' in SRS units, store in 'distance_srs'
3945
+ * await table.distance("geomA", "geomB", "distance_srs");
3946
+ * ```
3947
+ *
3948
+ * @example
3949
+ * ```ts
3950
+ * // Compute Haversine distance in meters between 'point1' and 'point2', store in 'distance_m'
3951
+ * // Input geometries must be in EPSG:4326.
3952
+ * await table.distance("point1", "point2", "distance_m", { method: "haversine" });
3953
+ * ```
3954
+ *
3955
+ * @example
3956
+ * ```ts
3957
+ * // Compute Haversine distance in kilometers, rounded to 2 decimal places
3958
+ * // Input geometries must be in EPSG:4326.
3959
+ * await table.distance("point1", "point2", "distance_km", { method: "haversine", unit: "km", decimals: 2 });
3960
+ * ```
3961
+ *
3962
+ * @example
3963
+ * ```ts
3964
+ * // Compute Spheroid distance in kilometers
3965
+ * // Input geometries must be in EPSG:4326.
3966
+ * await table.distance("area1", "area2", "distance_spheroid_km", { method: "spheroid", unit: "km" });
3967
+ * ```
3968
+ */
3969
+ distance(column1: string, column2: string, newColumn: string, options?: {
3970
+ unit?: "m" | "km";
3971
+ method?: "srs" | "haversine" | "spheroid";
3972
+ decimals?: number;
3973
+ }): Promise<void>;
3974
+ /**
3975
+ * Unnests geometries recursively, transforming multi-part geometries (e.g., MultiPolygon) into individual single-part geometries (e.g., Polygon).
3976
+ *
3977
+ * @param column - The name of the column storing the geometries to be unnested. If omitted, the method will automatically attempt to find a geometry column.
3978
+ * @returns A promise that resolves when the geometries have been unnested.
3979
+ * @category Geospatial
3980
+ *
3981
+ * @example
3982
+ * ```ts
3983
+ * // Unnest geometries in the default column
3984
+ * await table.unnestGeo();
3985
+ * ```
3986
+ *
3987
+ * @example
3988
+ * ```ts
3989
+ * // Unnest geometries in a specific column named 'multiGeom'
3990
+ * await table.unnestGeo("multiGeom");
3991
+ * ```
3992
+ */
3993
+ unnestGeo(column?: string): Promise<void>;
3994
+ /**
3995
+ * Aggregates geometries in a specified column based on a chosen aggregation method.
3996
+ *
3997
+ * @param method - The aggregation method to apply: `"union"` (combines all geometries into a single multi-geometry) or `"intersection"` (computes the intersection of all geometries).
3998
+ * @param options - An optional object with configuration options:
3999
+ * @param options.column - The name of the column storing the geometries to be aggregated. If omitted, the method will automatically attempt to find a geometry column.
4000
+ * @param options.categories - The column name or an array of column names that define categories for the aggregation. Aggregation will be performed independently within each category.
4001
+ * @param options.outputTable - If `true`, the results will be stored in a new table with a generated name. If a string, it will be used as the name for the new table. If `false` or omitted, the current table will be overwritten. Defaults to `false`.
4002
+ * @returns A promise that resolves to a table instance containing the aggregated geometries (either the modified current table or a new table).
4003
+ * @category Geospatial
4004
+ *
4005
+ * @example
4006
+ * ```ts
4007
+ * // Aggregate all geometries in the default column into a single union geometry
4008
+ * await table.aggregateGeo("union");
4009
+ * ```
4010
+ *
4011
+ * @example
4012
+ * ```ts
4013
+ * // Aggregate geometries by 'country' and compute their union
4014
+ * await table.aggregateGeo("union", { categories: "country" });
4015
+ * ```
4016
+ *
4017
+ * @example
4018
+ * ```ts
4019
+ * // Aggregate geometries in 'regions' column into their intersection, storing results in a new table
4020
+ * const intersectionTable = await table.aggregateGeo("intersection", { column: "regions", outputTable: true });
4021
+ * ```
4022
+ */
4023
+ aggregateGeo(method: "union" | "intersection", options?: {
4024
+ column?: string;
4025
+ categories?: string | string[];
4026
+ outputTable?: string | boolean;
4027
+ }): Promise<this>;
4028
+ /**
4029
+ * Transforms closed linestring geometries into polygon geometries.
4030
+ *
4031
+ * @param column - The name of the column storing the linestring geometries. If omitted, the method will automatically attempt to find a geometry column.
4032
+ * @returns A promise that resolves when the transformation is complete.
4033
+ * @category Geospatial
4034
+ *
4035
+ * @example
4036
+ * ```ts
4037
+ * // Transform closed linestrings in the default geometry column into polygons
4038
+ * await table.linesToPolygons();
4039
+ * ```
4040
+ *
4041
+ * @example
4042
+ * ```ts
4043
+ * // Transform closed linestrings in a specific column named 'routeLines' into polygons
4044
+ * await table.linesToPolygons("routeLines");
4045
+ * ```
4046
+ */
4047
+ linesToPolygons(column?: string): Promise<void>;
4048
+ /**
4049
+ * Returns the bounding box of geometries in `[minLat, minLon, maxLat, maxLon]` order.
4050
+ * By default, the method will try to find the column with the geometries. The input geometry is assumed to be in the EPSG:4326 coordinate system (WGS84), with `[latitude, longitude]` axis order.
4051
+ *
4052
+ * @param column - The name of the column storing geometries. If omitted, the method will automatically attempt to find a geometry column.
4053
+ * @returns A promise that resolves to an array `[minLat, minLon, maxLat, maxLon]` representing the bounding box.
4054
+ * @category Geospatial
4055
+ *
4056
+ * @example
4057
+ * ```ts
4058
+ * // Get the bounding box of geometries in the default column
4059
+ * const bbox = await table.getBoundingBox();
4060
+ * console.log(bbox); // e.g., [45.0, -75.0, 46.0, -73.0]
4061
+ * ```
4062
+ *
4063
+ * @example
4064
+ * ```ts
4065
+ * // Get the bounding box of geometries in a specific column named 'areaGeom'
4066
+ * const areaBbox = await table.getBoundingBox("areaGeom");
4067
+ * console.log(areaBbox);
4068
+ * ```
4069
+ */
4070
+ getBoundingBox(column?: string): Promise<[number, number, number, number]>;
4071
+ /**
4072
+ * Returns the table's geospatial data as a GeoJSON object.
4073
+ * If the table has multiple geometry columns, you must specify which one to use.
4074
+ * If the geometry column's projection is WGS84 or EPSG:4326 (`[latitude, longitude]` axis order), the coordinates will be flipped to follow the RFC7946 standard (`[longitude, latitude]` axis order) in the output GeoJSON.
4075
+ *
4076
+ * @param column - The name of the column storing the geometries. If omitted, the method will automatically attempt to find a geometry column.
4077
+ * @param options - An optional object with configuration options:
4078
+ * @param options.rewind - If `true`, rewinds the coordinates of polygons to follow the spherical winding order (important for D3.js). Defaults to `false`.
4079
+ * @returns A promise that resolves to a GeoJSON object representing the table's geospatial data.
4080
+ * @category Getting Data
4081
+ *
4082
+ * @example
4083
+ * ```ts
4084
+ * // Get GeoJSON data from the default geometry column
4085
+ * const geojson = await table.getGeoData();
4086
+ * console.log(geojson);
4087
+ * ```
4088
+ *
4089
+ * @example
4090
+ * ```ts
4091
+ * // Get GeoJSON data from a specific geometry column named 'myGeometries'
4092
+ * const myGeomJson = await table.getGeoData("myGeometries");
4093
+ * console.log(myGeomJson);
4094
+ * ```
4095
+ *
4096
+ * @example
4097
+ * ```ts
4098
+ * // Get GeoJSON data and rewind polygon coordinates for D3.js compatibility
4099
+ * const rewoundGeojson = await table.getGeoData(undefined, { rewind: true });
4100
+ * console.log(rewoundGeojson);
4101
+ * ```
4102
+ */
4103
+ getGeoData(column?: string, options?: {
4104
+ rewind?: boolean;
4105
+ }): Promise<{
4106
+ type: string;
4107
+ features: unknown[];
4108
+ }>;
4109
+ /**
4110
+ * Writes the table's data to a file in various formats (CSV, JSON, Parquet, DuckDB, SQLite).
4111
+ * If the specified path does not exist, it will be created.
4112
+ *
4113
+ * @param file - The absolute path to the output file (e.g., `"./output.csv"`, `"./output.json"`).
4114
+ * @param options - An optional object with configuration options:
4115
+ * @param options.compression - A boolean indicating whether to compress the output file. If `true`, CSV and JSON files will be compressed with GZIP, while Parquet files will use ZSTD. Defaults to `false`.
4116
+ * @param options.dataAsArrays - For JSON files only. If `true`, JSON files are written as a single object with arrays for each column (e.g., `{ "col1": [v1, v2], "col2": [v3, v4] }`) instead of an array of objects. This can reduce file size for web projects. You can use the `arraysToData` function from the [journalism library](https://jsr.io/@nshiab/journalism/doc/~/arraysToData) to convert it back.
4117
+ * @param options.formatDates - For CSV and JSON files only. If `true`, date and timestamp columns will be formatted as ISO 8601 strings (e.g., `"2025-01-01T01:00:00.000Z"`). Defaults to `false`.
4118
+ * @returns A promise that resolves when the data has been written to the file.
4119
+ * @category File Operations
4120
+ *
4121
+ * @example
4122
+ * ```ts
4123
+ * // Write data to a CSV file
4124
+ * await table.writeData("./output.csv");
4125
+ * ```
4126
+ *
4127
+ * @example
4128
+ * ```ts
4129
+ * // Write data to a JSON file with GZIP compression.
4130
+ * // The output file will be named output.json.gz.
4131
+ * await table.writeData("./output.json", { compression: true });
4132
+ * ```
4133
+ *
4134
+ * @example
4135
+ * ```ts
4136
+ * // Write data to a Parquet file
4137
+ * await table.writeData("./output.parquet");
4138
+ * ```
4139
+ *
4140
+ * @example
4141
+ * ```ts
4142
+ * // Write data to a DuckDB database file
4143
+ * await table.writeData("./my_database.db");
4144
+ * ```
4145
+ *
4146
+ * @example
4147
+ * ```ts
4148
+ * // Write data to a SQLite database file
4149
+ * await table.writeData("./my_database.sqlite");
4150
+ * ```
4151
+ *
4152
+ * @example
4153
+ * ```ts
4154
+ * // Write JSON data with dates formatted as ISO strings
4155
+ * await table.writeData("./output_dates.json", { formatDates: true });
4156
+ * ```
4157
+ */
4158
+ writeData(file: string, options?: {
4159
+ compression?: boolean;
4160
+ dataAsArrays?: boolean;
4161
+ formatDates?: boolean;
4162
+ }): Promise<void>;
4163
+ /**
4164
+ * Writes the table's geospatial data to a file in GeoJSON, GeoParquet, or Shapefile format.
4165
+ * If the specified path does not exist, it will be created.
4166
+ *
4167
+ * For GeoJSON files (`.geojson` or `.json`), if the projection is WGS84 or EPSG:4326 (`[latitude, longitude]` axis order), the coordinates will be flipped to follow the RFC7946 standard (`[longitude, latitude]` axis order) in the output.
4168
+ *
4169
+ * @param file - The absolute path to the output file (e.g., `"./output.geojson"`, `"./output.geoparquet"`, `"./shapefile-folder/output.shp"`).
4170
+ * @param options - An optional object with configuration options:
4171
+ * @param options.precision - For GeoJSON, the maximum number of figures after the decimal separator to write in coordinates. Defaults to `undefined` (full precision).
4172
+ * @param options.compression - For GeoParquet, if `true`, the output will be ZSTD compressed. Defaults to `false`.
4173
+ * @param options.rewind - For GeoJSON, if `true`, rewinds the coordinates of polygons to follow the right-hand rule (RFC 7946). Defaults to `false`.
4174
+ * @param options.metadata - For GeoJSON, an object to be added as top-level metadata to the GeoJSON output.
4175
+ * @param options.formatDates - For GeoJSON, if `true`, formats date and timestamp columns to ISO 8601 strings. Defaults to `false`.
4176
+ * @returns A promise that resolves when the geospatial data has been written to the file.
4177
+ * @category File Operations
4178
+ *
4179
+ * @example
4180
+ * ```ts
4181
+ * // Write geospatial data to a GeoJSON file
4182
+ * await table.writeGeoData("./output.geojson");
4183
+ * ```
4184
+ *
4185
+ * @example
4186
+ * ```ts
4187
+ * // Write geospatial data to a compressed GeoParquet file
4188
+ * await table.writeGeoData("./output.geoparquet", { compression: true });
4189
+ * ```
4190
+ *
4191
+ * @example
4192
+ * ```ts
4193
+ * // Write geospatial data to a Shapefile with all relevant files in the same folder
4194
+ * await table.writeGeoData("./shapefile-folder/output.shp");
4195
+ * ```
4196
+ *
4197
+ * @example
4198
+ * ```ts
4199
+ * // Write GeoJSON with specific precision and metadata
4200
+ * await table.writeGeoData("./output_high_precision.geojson", {
4201
+ * precision: 6,
4202
+ * metadata: { source: "SimpleDataAnalysis" },
4203
+ * });
4204
+ * ```
4205
+ */
4206
+ writeGeoData(file: string, options?: {
4207
+ precision?: number;
4208
+ compression?: boolean;
4209
+ rewind?: boolean;
4210
+ metadata?: unknown;
4211
+ formatDates?: boolean;
4212
+ }): Promise<void>;
4213
+ /**
4214
+ * Caches the results of computations in `./.sda-cache`.
4215
+ * You should add `./.sda-cache` to your `.gitignore` file.
4216
+ *
4217
+ * @param run - A function wrapping the computations to be cached. This function will be executed on the first run or if the cached data is invalid/expired.
4218
+ * @param options - An optional object with configuration options:
4219
+ * @param options.ttl - Time to live (in seconds). If the data in the cache is older than this duration, the `run` function will be executed again to refresh the cache. By default, there is no TTL, meaning the cache is only invalidated if the `run` function's content changes.
4220
+ * @returns A promise that resolves when the computations are complete or the data is loaded from cache.
4221
+ * @category Caching
4222
+ *
4223
+ * @example
4224
+ * ```ts
4225
+ * // Basic usage: computations are cached and re-run only if the function content changes
4226
+ * const sdb = new SimpleDB();
4227
+ * const table = sdb.newTable();
4228
+ *
4229
+ * await table.cache(async () => {
4230
+ * await table.loadData("items.csv");
4231
+ * await table.summarize({
4232
+ * values: "price",
4233
+ * categories: "department",
4234
+ * summaries: ["min", "max", "mean"],
4235
+ * });
4236
+ * });
4237
+ *
4238
+ * // It's important to call done() on the SimpleDB instance to clean up the cache.
4239
+ * // This prevents the cache from growing indefinitely.
4240
+ * await sdb.done();
4241
+ * ```
4242
+ *
4243
+ * @example
4244
+ * ```ts
4245
+ * // Cache with a Time-To-Live (TTL) of 60 seconds
4246
+ * // The computations will be re-run if the cached data is older than 1 minute or if the function content changes.
4247
+ * const sdb = new SimpleDB();
4248
+ * const table = sdb.newTable();
4249
+ *
4250
+ * await table.cache(async () => {
4251
+ * await table.loadData("items.csv");
4252
+ * await table.summarize({
4253
+ * values: "price",
4254
+ * categories: "department",
4255
+ * summaries: ["min", "max", "mean"],
4256
+ * });
4257
+ * }, { ttl: 60 });
4258
+ *
4259
+ * await sdb.done();
4260
+ * ```
4261
+ *
4262
+ * @example
4263
+ * ```ts
4264
+ * // Enable verbose logging for cache operations via SimpleDB instance
4265
+ * const sdb = new SimpleDB({ cacheVerbose: true });
4266
+ * const table = sdb.newTable();
4267
+ *
4268
+ * await table.cache(async () => {
4269
+ * await table.loadData("items.csv");
4270
+ * await table.summarize({
4271
+ * values: "price",
4272
+ * categories: "department",
4273
+ * summaries: ["min", "max", "mean"],
4274
+ * });
4275
+ * });
4276
+ *
4277
+ * await sdb.done();
4278
+ * ```
4279
+ */
4280
+ cache(run: () => Promise<void>, options?: {
4281
+ ttl?: number;
4282
+ }): Promise<void>;
4283
+ /**
4284
+ * Logs a specified number of rows from the table to the console. By default, the first 10 rows are logged.
4285
+ * You can optionally log the column types and filter the data based on conditions.
4286
+ * You can also use JavaScript syntax for conditions (e.g., `&&`, `||`, `===`, `!==`).
4287
+ *
4288
+ * @param options - Either the number of rows to log (a specific number or `"all"`) or an object with configuration options:
4289
+ * @param options.nbRowsToLog - The number of rows to log. Defaults to 10 or the value set in the SimpleDB instance. Use `"all"` to log all rows.
4290
+ * @param options.types - If `true`, logs the column types along with the data. Defaults to `false`.
4291
+ * @param options.conditions - A SQL `WHERE` clause condition to filter the data before logging. Defaults to no condition.
4292
+ * @returns A promise that resolves when the table data has been logged.
4293
+ * @category Logging
4294
+ *
4295
+ * @example
4296
+ * ```ts
4297
+ * // Log the first 10 rows (default behavior)
4298
+ * await table.logTable();
4299
+ * ```
4300
+ *
4301
+ * @example
4302
+ * ```ts
4303
+ * // Log the first 50 rows
4304
+ * await table.logTable(50);
4305
+ * ```
4306
+ *
4307
+ * @example
4308
+ * ```ts
4309
+ * // Log all rows
4310
+ * await table.logTable("all");
4311
+ * ```
4312
+ *
4313
+ * @example
4314
+ * ```ts
4315
+ * // Log the first 20 rows and include column types
4316
+ * await table.logTable({ nbRowsToLog: 20, types: true });
4317
+ * ```
4318
+ *
4319
+ * @example
4320
+ * ```ts
4321
+ * // Log rows where 'status' is 'active' (using JS syntax for conditions)
4322
+ * await table.logTable({ conditions: `status === 'active'` });
4323
+ * ```
4324
+ */
4325
+ logTable(options?: "all" | number | {
4326
+ nbRowsToLog?: number | "all";
4327
+ types?: boolean;
4328
+ conditions?: string;
4329
+ }): Promise<void>;
4330
+ /**
4331
+ * Generates and logs a histogram of a numeric column to the console.
4332
+ *
4333
+ * @param values - The name of the numeric column for which to generate the histogram.
4334
+ * @param options - An optional object with configuration options:
4335
+ * @param options.bins - The number of bins (intervals) to use for the histogram. Defaults to 10.
4336
+ * @param options.formatLabels - A function to format the labels for the histogram bins. It receives the lower and upper bounds of each bin as arguments.
4337
+ * @param options.compact - If `true`, the histogram will be displayed in a more compact format. Defaults to `false`.
4338
+ * @param options.width - The maximum width of the histogram bars in characters.
4339
+ * @returns A promise that resolves when the histogram has been logged to the console.
4340
+ * @category Dataviz
4341
+ *
4342
+ * @example
4343
+ * // Basic histogram of the 'temperature' column
4344
+ * ```typescript
4345
+ * await table.logHistogram("temperature")
4346
+ * ```
4347
+ *
4348
+ * @example
4349
+ * // Histogram with 20 bins and custom label formatting
4350
+ * ```typescript
4351
+ * await table.logHistogram("age", {
4352
+ * bins: 20,
4353
+ * formatLabels: (min, max) => `${min}-${max} years`,
4354
+ * });
4355
+ * ```
4356
+ */
4357
+ /**
4358
+ * Logs descriptive information about the columns in the table to the console. This includes details such as data types, number of null values, and number of distinct values for each column.
4359
+ * It internally calls the `getDescription` method to retrieve the descriptive statistics.
4360
+ *
4361
+ * @returns A promise that resolves when the column description has been logged to the console.
4362
+ * @category Logging
4363
+ *
4364
+ * @example
4365
+ * ```ts
4366
+ * // Log descriptive information for all columns in the table
4367
+ * await table.logDescription();
4368
+ * ```
4369
+ */
4370
+ logDescription(): Promise<void>;
4371
+ /**
4372
+ * Logs the projections of the geospatial data (if any) to the console.
4373
+ *
4374
+ * @returns A promise that resolves to the SimpleTable instance after logging the projections.
4375
+ * @category Logging
4376
+ *
4377
+ * @example
4378
+ * ```ts
4379
+ * // Log the geospatial projections of the table
4380
+ * await table.logProjections();
4381
+ * ```
4382
+ */
4383
+ logProjections(): Promise<this>;
4384
+ /**
4385
+ * Logs the types of all columns in the table to the console.
4386
+ *
4387
+ * @returns A promise that resolves to the SimpleTable instance after logging the column types.
4388
+ * @category Logging
4389
+ *
4390
+ * @example
4391
+ * ```ts
4392
+ * // Log the data types of all columns in the table
4393
+ * await table.logTypes();
4394
+ * ```
4395
+ */
4396
+ logTypes(): Promise<this>;
4397
+ /**
4398
+ * Logs unique values for a specified column to the console. By default, a maximum of 100 values are logged (depending on your runtime).
4399
+ * You can optionally stringify the values to see them all.
4400
+ *
4401
+ * @param column - The name of the column from which to retrieve and log unique values.
4402
+ * @param options - An optional object with configuration options:
4403
+ * @param options.stringify - If `true`, converts the unique values to a JSON string before logging. Defaults to `false`.
4404
+ * @returns A promise that resolves to the SimpleTable instance after logging the unique values.
4405
+ * @category Logging
4406
+ *
4407
+ * @example
4408
+ * ```ts
4409
+ * // Logs unique values for the column "name"
4410
+ * await table.logUniques("name");
4411
+ * ```
4412
+ *
4413
+ * @example
4414
+ * ```ts
4415
+ * // Logs unique values for the column "name" and stringifies them
4416
+ * await table.logUniques("name", { stringify: true });
4417
+ * ```
4418
+ */
4419
+ logUniques(column: string, options?: {
4420
+ stringify?: boolean;
4421
+ }): Promise<this>;
4422
+ /**
4423
+ * Logs the columns in the table to the console. You can optionally include their data types.
4424
+ *
4425
+ * @param options - An optional object with configuration options:
4426
+ * @param options.types - If `true`, logs the column names along with their data types. Defaults to `false`.
4427
+ * @returns A promise that resolves to the SimpleTable instance after logging the columns.
4428
+ * @category Logging
4429
+ *
4430
+ * @example
4431
+ * ```ts
4432
+ * // Log only the column names
4433
+ * await table.logColumns();
4434
+ * ```
4435
+ *
4436
+ * @example
4437
+ * ```ts
4438
+ * // Log column names along with their types
4439
+ * await table.logColumns({ types: true });
4440
+ * ```
4441
+ */
4442
+ logColumns(options?: {
4443
+ types?: boolean;
4444
+ }): Promise<this>;
4445
+ /**
4446
+ * Logs the total number of rows in the table to the console.
4447
+ *
4448
+ * @returns A promise that resolves to the SimpleTable instance after logging the row count.
4449
+ * @category Logging
4450
+ *
4451
+ * @example
4452
+ * ```ts
4453
+ * // Log the total number of rows in the table
4454
+ * await table.logNbRows();
4455
+ * ```
4456
+ */
4457
+ logNbRows(): Promise<this>;
4458
+ /**
4459
+ * Logs the bottom `n` rows of the table to the console. By default, the last row will be returned first. To preserve the original order, use the `originalOrder` option.
4460
+ *
4461
+ * @param count - The number of rows to log from the bottom of the table. Defaults to the table's `nbRowsToLog` option if not specified.
4462
+ * @param options - An optional object with logging preferences.
4463
+ * @param options.originalOrder - If true, the rows are displayed in their original order (top to bottom). Defaults to false.
4464
+ * @returns A promise that resolves when the rows have been logged to the console.
4465
+ * @category Logging
4466
+ *
4467
+ * @example
4468
+ * ```ts
4469
+ * // Log bottom rows with default count (uses table's nbRowsToLog option)
4470
+ * await table.logBottom();
4471
+ * ```
4472
+ *
4473
+ * @example
4474
+ * ```ts
4475
+ * // Log the last 10 rows (displayed with last row first)
4476
+ * await table.logBottom(10);
4477
+ * ```
4478
+ *
4479
+ * @example
4480
+ * ```ts
4481
+ * // Log the last 5 rows in original order (top to bottom)
4482
+ * await table.logBottom(5, { originalOrder: true });
4483
+ * ```
4484
+ */
4485
+ logBottom(count?: number, options?: {
4486
+ originalOrder?: boolean;
4487
+ }): Promise<void>;
4488
+ /**
4489
+ * Logs the extent (minimum and maximum values) of a numeric column to the console.
4490
+ *
4491
+ * @param column - The name of the numeric column for which to log the extent.
4492
+ * @returns A promise that resolves when the column extent has been logged to the console.
4493
+ * @category Logging
4494
+ *
4495
+ * @example
4496
+ * ```ts
4497
+ * // Log the extent of the 'price' column
4498
+ * await table.logExtent("price");
4499
+ * ```
4500
+ */
4501
+ logExtent(column: string): Promise<void>;
4502
+ }
4503
+ //# sourceMappingURL=SimpleTable.d.ts.map