mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Draft.
This commit is contained in:
parent
3708821689
commit
f328bc3f09
@ -3,7 +3,7 @@ toc_priority: 21
|
||||
toc_title: Cell Towers
|
||||
---
|
||||
|
||||
# Cell Towers
|
||||
# Cell Towers {#cell-towers}
|
||||
|
||||
This dataset is from [OpenCellid](https://www.opencellid.org/) - The world's largest Open Database of Cell Towers.
|
||||
|
||||
@ -12,7 +12,7 @@ As of 2021 it contains more than 40 million records about cell towers (GSM, LTE,
|
||||
OpenCelliD Project is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License, and we redistribute a snapshot of this dataset under the terms of the same license. The up to date version of the dataset is available to download after sign in.
|
||||
|
||||
|
||||
## Get the Dataset
|
||||
## Get the Dataset {#get-the-dataset}
|
||||
|
||||
Download the snapshot of the dataset from Feb 2021: [https://datasets.clickhouse.tech/cell_towers.csv.xz] (729 MB).
|
||||
|
||||
@ -56,7 +56,7 @@ clickhouse-client --query "INSERT INTO cell_towers FORMAT CSVWithNames" < cell_t
|
||||
```
|
||||
|
||||
|
||||
## Run some queries
|
||||
## Run some queries {#run-some-queries}
|
||||
|
||||
Number of cell towers by type:
|
||||
```
|
||||
@ -100,7 +100,7 @@ So, the top countries are USA, Germany and Russia.
|
||||
You may want to create an [External Dictionary](../../sql-reference/dictionaries/external-dictionaries/external-dicts/) in ClickHouse to decode these values.
|
||||
|
||||
|
||||
### Example of using `pointInPolygon` function
|
||||
### Example of using `pointInPolygon` function {#example-of-using}
|
||||
|
||||
Create a table where we will store polygons:
|
||||
|
||||
|
@ -82,4 +82,4 @@ The `TTL` is no longer there, so the second row is not deleted:
|
||||
### See Also
|
||||
|
||||
- More about the [TTL-expression](../../../sql-reference/statements/create/table.md#ttl-expression).
|
||||
- Modify column [with TTL](../../../sql-reference/statements/alter/column.md#alter_modify-column).
|
||||
- Modify column [with TTL](../../../sql-reference/statements/alter/column.md#alter_modify-column).
|
133
docs/ru/getting-started/example-datasets/cell-towers.md
Normal file
133
docs/ru/getting-started/example-datasets/cell-towers.md
Normal file
File diff suppressed because one or more lines are too long
@ -16,4 +16,5 @@ toc_title: "Введение"
|
||||
- [AMPLab Big Data Benchmark](amplab-benchmark.md)
|
||||
- [Данные о такси в Нью-Йорке](nyc-taxi.md)
|
||||
- [OnTime](ontime.md)
|
||||
- [Вышки сотовой связи](../../getting-started/example-datasets/cell-towers.md)
|
||||
|
||||
|
@ -82,4 +82,4 @@ SELECT * FROM table_with_ttl;
|
||||
### Смотрите также
|
||||
|
||||
- Подробнее о [свойстве TTL](../../../engines/table-engines/mergetree-family/mergetree.md#mergetree-column-ttl).
|
||||
|
||||
- Изменить столбец [с TTL](../../../sql-reference/statements/alter/column.md#alter_modify-column).
|
Loading…
Reference in New Issue
Block a user