Parsing Election Data by Reading Files in Go

Veröffentlicht am: 30 Dezember 2023
auf dem Kanal: Philomath
641
9

We prepare to forecast a US Presidential election from polling data by learning how to parse data from file. In particular, we read in polling data for each state, as well as read in the Electoral College votes for each state.

Like what you see? Please like, subscribe, and check out our free online course accompanying this video at https://programmingforlovers.com.

Check your work on this code along and get access to dozens of autograded exercises at Cogniterra: https://cogniterra.org/course/63/promo.

Join our P4❤️ community Discord:   / discord  

Help us grow our project by making a donation: https://www.paypal.com/donate?campaig....

00:00 Introduction
00:37 Setup and explanation of starter code and data
04:16 Reading in Electoral College votes
15:23 We can compile all files in a folder with "go build"
16:26 Reading in polling data
24:22 Trying out our functions
28:01 Phillip's dark secret
29:13 Pointer to the next code along, and happy coding! ❤️


Auf dieser Seite können Sie das Online-Video Parsing Election Data by Reading Files in Go mit der Dauer online in guter Qualität ansehen, das der Benutzer Philomath 30 Dezember 2023 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 641 Mal angesehen und es wurde von 9 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!