Table reference
Represents a data table available on the Beacon Node.
Source code in beacon_api/table.py
137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 | |
get_table_description()
get_table_schema()
Get the schema of the table
Source code in beacon_api/table.py
get_table_schema_arrow()
Get the schema of the table in Arrow format
Source code in beacon_api/table.py
get_table_type()
query()
Create a new query for the selected table. The query can then be built using the Query methods. Returns: JSONQuery: A new query object.
Source code in beacon_api/table.py
subset(longitude_column, latitude_column, time_column, depth_column, columns, bbox=None, depth_range=None, time_range=None)
Create a query to subset the table based on the provided parameters.
Args: longitude_column: Name of the column containing longitude values. latitude_column: Name of the column containing latitude values. time_column: Name of the column containing time values. depth_column: Name of the column containing depth values. columns: List of additional columns to include in the query. bbox: Optional bounding box defined as (min_longitude, min_latitude, max_longitude, max_latitude). depth_range: Optional range for depth defined as (min_depth, max_depth). time_range: Optional range for time defined as (start_time, end_time). Returns A Query object that can be executed to retrieve the subset of data.