WEBVTT

1
00:00:01.400 --> 00:00:03.721
This episode focuses on API construction.

2
00:00:03.721 --> 00:00:11.137
Census data becomes useful when the population, measure, geography, and time period are stated before anyone searches for a number.

3
00:00:11.137 --> 00:00:17.336
A Census Data API request combines a year, dataset path, requested variables, and geography.

4
00:00:17.336 --> 00:00:23.804
Begin with the dataset discovery page and variables metadata instead of guessing variable names.

5
00:00:23.804 --> 00:00:25.756
The get clause selects fields.

6
00:00:25.756 --> 00:00:32.265
The for clause identifies the target geography, and an in clause supplies its parent where required.

7
00:00:32.265 --> 00:00:37.862
Store the complete request URL, response, retrieval time, and software transformation.

8
00:00:37.862 --> 00:00:42.651
Check returned headers and geography codes before converting text to numbers.

9
00:00:42.651 --> 00:00:47.129
Handle nulls, annotations, changed variables, and API errors explicitly.

10
00:00:47.129 --> 00:00:52.415
Respect service limits and cache results rather than sending needless repeated calls.

11
00:00:52.415 --> 00:00:54.145
Torrance application segment.

12
00:00:54.145 --> 00:00:58.380
This local application is separate from the Census Academy instruction.

13
00:00:58.380 --> 00:01:05.956
The cited City of Torrance primary source is About Torrance, published at https://www.torranceca.gov/Government/About-Torrance.

14
00:01:05.956 --> 00:01:15.799
For a local analysis, derive Torrance's official place code through Census geography metadata, then save a query whose universe and vintage match the local question.

15
00:01:15.799 --> 00:01:24.210
Do not present City policy or administrative records as Census Bureau findings, and do not present a federal estimate as adopted City policy.

16
00:01:24.210 --> 00:01:34.131
Keep a reproducibility packet containing the question, source URLs, exact vintage, table or query, geography codes, raw result, calculations, and uncertainty note.

17
00:01:34.131 --> 00:01:37.357
This narration is an original synthesis of cited U.S.

18
00:01:37.357 --> 00:01:42.104
Census Bureau government works and separately cited City of Torrance material.

19
00:01:42.104 --> 00:01:46.365
Third-party videos, software, graphics, and linked works are excluded.

20
00:01:46.365 --> 00:01:52.330
This product uses Census Bureau information but is not endorsed or certified by the Census Bureau.

21
00:01:52.330 --> 00:01:56.651
It is not an official City product and does not imply City endorsement.
