This commit is contained in:
ana-uvarova 2021-04-06 17:37:36 +03:00
parent 3708821689
commit f328bc3f09
5 changed files with 140 additions and 6 deletions

View File

@ -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:

File diff suppressed because one or more lines are too long

View File

@ -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)

View File

@ -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).