WHAT IS THE LOCAL NEWS DATA HUB?

The Local News Data Hub is committed to i) shoring up local journalism across Canada by supplying newsrooms with data-based stories ii) training student data journalists and iii) providing support to individual journalists and news organizations that require assistance with data analysis for their reporting projects.

The Data Hub’s reporting team, consisting of student data journalists and student data analysts supervised by faculty at X (also known as Ryerson) University, identifies government and other data with the potential to generate local stories. Once a dataset is identified and the basic reporting is done, the Data Hub team writes a story template and the code necessary to populate the template with data for specific communities. The local stories produced using this application of automated journalism are then posted on the LNDH website and also shared with the Canadian Press wire service for distribution to CP clients across the country. Find out more about the Local News Data Hub here.

ABOUT THE DATA

The internet speed test data used for this story were provided by the Canadian Internet Registration Authority (CIRA), a national not-for-profit organization that manages .ca internet domains and, in its words, is committed to “creating a secure, accessible and resilient internet, for all Canadians.”

The CIRA internet speed test can be accessed via its website. Since CIRA launched the platform in 2015, nearly one million tests have been performed by people who want to determine their connection speed.

While CIRA gave the Local News Data Hub access to all test results for 2020, it considers the raw data proprietary so we can only share the results of our analysis rather than the full data set. 

Our goal was to compare the test data to the basic service objectives set for internet speed by the Canadian Radio-television and Telecommunications Commission (CRTC). The commission says Canadian households should have internet connections with access to broadband speeds of at least 50 megabits per second (mbps) for downloads and 10 mbps for uploads.

When asked how that minimum speed target was determined and why, this was the CRTC’s response: 

“In establishing an appropriate speed criterion (50/10), the CRTC considered what was currently available to the vast majority of the population and what was likely to be required in the future for Canadians to have new and creative ways to participate in the digital economy. Moreover, many of Canada’s trading partners, such as the United States and members of the European Commission, were implementing digital strategies to achieve download speeds of 50 Mbps or more to enhance network infrastructures and to meet the growing demand for higher Internet speeds.”

DEFINITIONS

Download speed is the speed at which the user receives data from the Internet — for example, the speed at which a large file can be downloaded from a website. Higher speeds are more desirable, as it allows users to retrieve content, such as web pages, videos, files, or music more quickly.

Upload speed is the connection speed at which the user can send data including, for example, uploading a video to a social media website. Higher speeds can allow for pictures, music, and documents to be uploaded and shared more quickly.

Census subdivision (CSD) is the basic unit of geography for this study. It is Statistics Canada’s general term for a municipality. Please see the Statistics Canada definition for more information.
Census subdivision population data were added for each CSD using StatsCan census data.

THE DATA SET

People across Canada conducted 267,837 CIRA tests in 2,771 communities in 2020, but we limited the data to a subset of 68,813 tests conducted in 53 communities for two reasons. 

Reason #1: We adjusted for supertester locations

To determine the number of unique locations in the test data, we created a unique geographic ID (GeoID) by combining each entry’s longitude and latitude. This allowed us to see how many unique locations there were in the test data. 

While the majority of GeoIDs registeredonly a few tests over the course of 2020,there were tens, hundreds or even thousands of tests from some “supertester” locations. We needed to identify these locations/testers to ensure that tests from a single location did not skew the data for an entire community. To determine how many tests would constitute a “supertester” we generated a histogram using Python.

This histogram displayed the number of tests conducted by each GeoID and the frequency of each number of tests in the data set. When the line graph approaches the horizontal axis, that gives us an idea how many tests mark the defining point for what constitutes a supertester. After conferring with Dr. Murtaza Haider, director of Ryerson’s Institute for Urban Analytics and a member of the Data Hub’s editorial board, we determined that any GeoID with 40 tests or more would be designated a “supertester.” 

Number of texts completed and frequency. Based on this histogram, any GeoID with >= 40 tests can be considered an outlier or “supertester”
Based on this histogram, any GeoID with >= 40 tests can be considered an outlier or “supertester”

Having identified supertesters in the data set, we then calculated the median upload and download speeds of all the tests conducted by each supertester, assigned the median value to the supertester and counted that as one entry. This means that while a GeoID responsible for 39 tests would have 39 separate entries, a GeoID with 40 or more will only have one entry. In this way we made sure the supertesters did not unduly influence the results. 

Reason #2: We included only communities where at least 500 tests were completed in 2020

To ensure we only reported on places where there were enough tests  to provide an accurate snapshot of the upload and download speeds experienced by testers, we only included communities where at least 500 tests were conducted during the year. Dr. Haider also helped us arrive at this decision. His examination of the data indicated that a cut-off of at least 500 tests returned a subset of communities where the extent of variability in upload and download speeds could be deemed reasonable. 

After the data were adjusted for supertesters, it included 140186 tests in 2,771 distinct communities for which one or more test results for upload and download speeds were available. 

Very few tests were conducted in many of these communities – there were fewer than 10 tests in 1,561 census subdivisions. To determine the minimum number of tests required to provide a representative snapshot of the upload and download speeds experienced by testers in a community,  we used the coefficient of variation (CV) as a proxy for the variability in the data set. CV is the ratio of standard deviation and mean of a variable. Lower values of CV suggest lower variability or variance in data.

We plotted CV against the number of tests per community in a scatter plot to determine whether CV changed with the number of tests conducted. A visual inspection of the plots suggested that CV for upload and download speeds stabilized with larger test numbers. Hence a cut-off of a minimum 500 tests was used to select communities for further analysis.

Number of tests coeddicient of variation. Based on the data, the coefficient of variation appears to be stable at 500 tests.
Based on the data, the coefficient of variation appears to be stable at 500 tests. 

This resulted in a list of 53 CSDs with more than 500 tests. Using the unique ID numbers assigned to each CSD by Statistics Canada (CSDUIDs), we filtered the raw test data to produce a dataset consisting solely of tests in the communities with 500 or more tests. 

In our analysis of the test data from the 53 CSDs, we calculated the median upload speed and median download speed of each CSD. We used median, rather than average (mean),  to ensure that outliers did not affect test results. We also calculated the number of tests that failed to meet the CRTC download speed and upload speed minimums, and used that number to determine the percentage of tests that failed in each CSD. 

TEST RESULTS FOR THE 53 COMMUNITIES

With the base analysis of the test results from the 53 CSDs finished, we were able to analyze the data in greater detail. 

Our goal was to compare the test data to the basic service objectives set for internet speed by the Canadian Radio-television and Telecommunications Commission (CRTC). The commission says Canadian households should have internet connections with access to broadband speeds of at least 50 megabits per second (mbps) for downloads and 10 mbps for uploads.

Using pivot tables in Microsoft Excel, we calculated the number of tests and the median upload and median download speeds for each CSD. The percentage of tests in each CSD that met or exceeded the CRTC minimum internet speed targets (test results with upload speeds at or above 10 mbps and download speeds at or above 50 mbps) was also calculated.

CSDUIDCSD NameProv.Location descriptionPopulation (2016 Census)# of testsMedian upload speedMedian download speed% of tests at or above CRTC upload and download speed targets
5915004SurreyBC 517,88787120.0982.6155%
2423027QuébecQC 531,90285511.3654.1750%
4811061EdmontonAB 932,546261214.90567.55547%
5915025BurnabyBC 232,75558615.44551.81545%
5917021SaanichBC 114,14850114.6252.2244%
3519028VaughanON 306,23365312.9274.244%
3521010BramptonON 593,638117612.64566.90544%
2481017GatineauQC 276,24582017.8449.66543%
3520005TorontoON 2,731,571765112.7455.4642%
5915022VancouverBC 631,486215914.8449.4341%
3539036LondonON 383,822141111.0250.441%
3519036MarkhamON 328,96697010.6950.70540%
4806016CalgaryAB 1,239,220350612.27551.43540%
4611040WinnipegMB 705,24416029.9242.22538%
3519038Richmond HillON 195,02265910.4357.2837%
3530013KitchenerON 233,22299010.19543.0837%
3521005MississaugaON 721,599197210.36546.0236%
4711066SaskatoonSK 246,3766629.03545.98535%
1209034HalifaxNS 403,131143110.3632.9634%
3506008OttawaON 934,24375369.9638.2234%
3530016WaterlooON 104,98652410.29554.38533%
3510010KingstonON 123,7988009.67524.132%
3524001OakvilleON 193,83266110.1640.9332%
3553005Greater SudburyON 161,5315628.6629.31531%
2466023MontréalQC 1,704,694369610.129.2230%
3525005HamiltonON 536,91724238.412824%
4706027ReginaSK 215,1066906.68523.55523%
3544018BracebridgeONTown immediately north of the town of Gravenhurst, north of Barrie16,0107171.5315.5623%
4811052Strathcona CountyABSpecialized municipality immediately east of Edmonton98,0446145.10515.8521%
3524002BurlingtonON 183,31410388.2224.6821%
3526053St. CatharinesON 133,1135709.15533.2619%
3521024CaledonONTown immediately north of Brampton66,50217441.2059.1218%
3537016EssexONTown south of Windsor20,4277771.8610.7716%
3524009MiltonON 110,1286775.2417.7213%
3543068TinyONTownship immediately west of the town of Midland, northwest of Barrie11,7875391.047.9912%
3544042HuntsvilleONTown immediately North of the town of Bracebridge, north of Barrie19,8167960.916.5210%
3543023Oro-MedonteONTownship northeast of Barrie21,03614540.985.92510%
3536020Chatham-KentON 101,6475021.9611.98510%
3519044Whitchurch-StouffvilleONTown immediately north of Markham45,8375790.7113.998%
3507065North GrenvilleONMunicipality immediately south of Ottawa16,4516780.977.187%
4811059Sturgeon CountyABMunicipal district immediately north of Edmonton20,49510801.559.0656%
3544053Muskoka LakesONTownship west of the towns of Huntsville and Bracebridge and north of the town of Gravenhurst6,5885500.8055.1253%
1212001Pictou, Subd. ANSArea north and west of the town of Pictou, including Pictou Island, along the Northumberland Strait6,0756160.511.781%
3546018Algonquin HighlandsONTownship in Haliburton County, east of the town of Huntsville, containing part of Algonquin Provincial Park2,3516130.764.241%
3544027Lake of BaysONTownship in northeastern Muskoka, immediately east of the town of Huntsville3,1675410.945.81%
3507021Leeds and the Thousand IslandsONTownship surrounding the town of Gananoque, immediately east of Kingston, along the St. Lawrence River9,4658010.844.781%
4805031Starland CountyABMunicipal district immediately north of the town of Drumheller, northeast of Calgary2,0665011.137.591%
3546015Minden HillsONTownship in Haliburton County, immediately east of the town of Bracebridge6,0889600.623.2750%
4804012Special Area No. 3ABArea surrounding the town of Oyen, east of Calgary, bordering Saskatchewan1,0427061.238.290%
3546024Dysart et alONMunicipality in Haliburton County, north of Peterborough6,28016810.633.260%
4804004Special Area No. 2ABArea surrounding the town of Hanna, immediately east of the town of Drumheller, east of Calgary1,9057091.27.720%
3548094Nipissing, Unorganized, North PartONArea in Nipissing District, immediately north of North Bay and Lake Nipissing1,7847880.520.720%
4807019Stettler County No. 6ABMunicipal district surrounding the town of Stettler, east of Red Deer5,3226031.287.350%

We also sorted the results by population to see if CSDs with higher populations had faster speeds than rural areas with lower populations.

CSDUIDCSD NameProv.Location descriptionPopulation (2016 Census)# of testsMedian upload speedMedian download speed% of tests at or above CRTC upload and download speed targets
3520005TorontoON 2,731,571765112.7455.4642%
2466023MontréalQC 1,704,694369610.129.2230%
4806016CalgaryAB 1,239,220350612.27551.43540%
3506008OttawaON 934,24375369.9638.2234%
4811061EdmontonAB 932,546261214.90567.55547%
3521005MississaugaON 721,599197210.36546.0236%
4611040WinnipegMB 705,24416029.9242.22538%
5915022VancouverBC 631,486215914.8449.4341%
3521010BramptonON 593,638117612.64566.90544%
3525005HamiltonON 536,91724238.412824%
2423027QuébecQC 531,90285511.3654.1750%
5915004SurreyBC 517,88787120.0982.6155%
1209034HalifaxNS 403,131143110.3632.9634%
3539036LondonON 383,822141111.0250.441%
3519036MarkhamON 328,96697010.6950.70540%
3519028VaughanON 306,23365312.9274.244%
2481017GatineauQC 276,24582017.8449.66543%
4711066SaskatoonSK 246,3766629.03545.98535%
3530013KitchenerON 233,22299010.19543.0837%
5915025BurnabyBC 232,75558615.44551.81545%
4706027ReginaSK 215,1066906.68523.55523%
3519038Richmond HillON 195,02265910.4357.2837%
3524001OakvilleON 193,83266110.1640.9332%
3524002BurlingtonON 183,31410388.2224.6821%
3553005Greater SudburyON 161,5315628.6629.31531%
3526053St. CatharinesON 133,1135709.15533.2619%
3510010KingstonON 123,7988009.67524.132%
5917021SaanichBC 114,14850114.6252.2244%
3524009MiltonON 110,1286775.2417.7213%
3530016WaterlooON 104,98652410.29554.38533%
3536020Chatham-KentON 101,6475021.9611.98510%
4811052Strathcona CountyABSpecialized municipality immediately east of Edmonton98,0446145.10515.8521%
3521024CaledonONTown immediately north of Brampton66,50217441.2059.1218%
3519044Whitchurch-StouffvilleONTown immediately north of Markham45,8375790.7113.998%
3543023Oro-MedonteONTownship northeast of Barrie21,03614540.985.92510%
4811059Sturgeon CountyABMunicipal district immediately north of Edmonton20,49510801.559.0656%
3537016EssexONTown south of Windsor20,4277771.8610.7716%
3544042HuntsvilleONTown immediately North of the town of Bracebridge, north of Barrie19,8167960.916.5210%
3507065North GrenvilleONMunicipality immediately south of Ottawa16,4516780.977.187%
3544018BracebridgeONTown immediately north of the town of Gravenhurst, north of Barrie16,0107171.5315.5623%
3543068TinyONTownship immediately west of the town of Midland, northwest of Barrie11,7875391.047.9912%
3507021Leeds and the Thousand IslandsONTownship surrounding the town of Gananoque, immediately east of Kingston, along the St. Lawrence River9,4658010.844.781%
3544053Muskoka LakesONTownship west of the towns of Huntsville and Bracebridge and north of the town of Gravenhurst6,5885500.8055.1253%
3546024Dysart et alONMunicipality in Haliburton County, north of Peterborough6,28016810.633.260%
3546015Minden HillsONTownship in Haliburton County, immediately east of the town of Bracebridge6,0889600.623.2750%
1212001Pictou, Subd. ANSArea north and west of the town of Pictou, including Pictou Island, along the Northumberland Strait6,0756160.511.781%
4807019Stettler County No. 6ABMunicipal district surrounding the town of Stettler, east of Red Deer5,3226031.287.350%
3544027Lake of BaysONTownship in northeastern Muskoka, immediately east of the town of Huntsville3,1675410.945.81%
3546018Algonquin HighlandsONTownship in Haliburton County, east of the town of Huntsville, containing part of Algonquin Provincial Park2,3516130.764.241%
4805031Starland CountyABMunicipal district immediately north of the town of Drumheller, northeast of Calgary2,0665011.137.591%
4804004Special Area No. 2ABArea surrounding the town of Hanna, immediately east of the town of Drumheller, east of Calgary1,9057091.27.720%
3548094Nipissing, Unorganized, North PartONArea in Nipissing District, immediately north of North Bay and Lake Nipissing1,7847880.520.720%
4804012Special Area No. 3ABArea surrounding the town of Oyen, east of Calgary, bordering Saskatchewan1,0427061.238.290%

INFORMATION ON INTERNET SPEED PACKAGES PURCHASED BY USERS

In our data set, some users also submitted information on their internet service provider and the package they had subscribed to including details of their contracted upload and download speeds. Contract speeds that included greater than or less than symbols were excluded from the analysis.
Contracted upload and download speeds were both included for 11,385 tests in the 53 CSDs. Comparing speed test results with contract speeds showed that the contracted upload and download speeds were delivered in only nine per cent of cases.

Did speed test results meet or exceed contracted upload and download speeds?
# of tests% of tests
Yes9939%
No10,39291%
Total tests that included both upload and download contract speeds11,385

DATA LIMITATIONS

The data is not representative of all internet service within communities. Only internet speeds for individuals who chose to use CIRA’s Internet Performance Test are represented in the data.

The data also does not account for other factors that influence internet speed, such as the type of device being used, the number of applications running, and the number of devices that are online at the same time. The upload and download speeds contracted with internet service providers can also limit internet speeds.

Additionally, contracted speeds were manually entered by users who completed speed tests and the data are reliant on users accurately identifying their contract speeds.