Locations of the mobile network cells in the synthetic CDR data, used to place CDR events on a map. Back to Course datasets
File
File
data/raw/synthetic-cell-locs.csv
Size on disk
35 KB
Format
CSV with a header row; comma-delimited
Rows
1,052 (895 after removing duplicates)
Used in
Days 3–4; course project
Columns
#
Name
Type
Description
0
site_id
text
ID of the site (tower). A site carries several cells; there are 86 sites
1
cell_id
integer
ID of the cell (antenna). Join key to the CDRs
2
lat
decimal
Latitude of the site, in decimal degrees
3
lon
decimal
Longitude of the site, in decimal degrees
Notes
157 rows are exact duplicates. Remove them (drop_duplicates() in pandas, dropDuplicates() in Spark) before joining; otherwise the join repeats CDR rows. After removing them, each cell_id appears once.
How it links to the CDRs:synthetic-cdrs column last calling cellid (position 3) ↔︎ cell_id. Convert the CDR column to an integer first, because it is stored with a trailing .0.
Not every CDR cell has a location: only about one third of the non-empty CDR cell IDs checked appear in this file. Use a left join.