From 3cb5cad73b0b3c7fdb14812375a41fd7574eb02c Mon Sep 17 00:00:00 2001 From: Richard Elkins Date: Tue, 2 Jul 2024 09:26:27 -0500 Subject: [PATCH 1/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9625e77..096c118 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ This project analyzes the 2024 USA Presididential Election polling data, availab The ```ppolls2024``` executable will create directories and files as needed on-the-fly. Make sure that the standard Go $HOME/go/bin directory is in the $PATH. Similar advice for Windows users (you would know better than me). -Free advice regarding poll data: Do not bother looking at **national** poll data. It would make more sense if the national popular vote determined the leader; see https://www.brennancenter.org/our-work/research-reports/national-popular-vote-explained. But, that is not the way Presidential elections currently work in the USA. I shall say no more on this subject! +Free advice regarding poll data: Do not bother looking at **national** poll data. It would make more sense if the national popular vote determined the leader; see https://www.brennancenter.org/our-work/research-reports/national-popular-vote-explained. But, that is not the way the US Presidential elections currently work. I shall say no more on this subject! #### Installation From 8c5dd8f286cb4c8ac00026eb52a248921bf92446 Mon Sep 17 00:00:00 2001 From: Richard Elkins Date: Tue, 2 Jul 2024 09:32:24 -0500 Subject: [PATCH 2/2] Update README.md --- README.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 096c118..1c3121b 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,7 @@ ppolls2024 -l # Load the database with the downloaded data. ppolls2024 -r tx # Get detailed report for Texas. The string "TX" is also acceptable. ppolls2024 -r ec # Get summary report for all states. The string "EC" is also acceptable. # Note that upshifting of the -r parameter value is performed automatically. +ppolls2024 -r ec -b # Ditto but for only the battleground states per the configuration file. ppolls2024 -p # Get plots for all states. ``` @@ -38,12 +39,12 @@ ppolls2024 -p # Get plots for all states. When ppolls2024 begins execution, its current configuration parameters are displayed. For example the following is a sample display of console messages for ```ppolls2024 -l```: ``` -2024/06/14 09:04:40 GetConfig: PollHistoryLimit: 3 -2024/06/14 09:04:40 GetConfig: TossupThreshold: 3.010000 -2024/06/14 09:04:40 GetConfig: ECVAlgorithm: 2 -2024/06/14 09:04:40 GetConfig: PlotWidth: 10.000000 -2024/06/14 09:04:40 GetConfig: PlotHeight: 10.000000 -2024/06/14 09:04:41 Loaded 275 records into the database +2024/07/02 09:30:34 GetConfig: ECVAlgorithm: 2 +2024/07/02 09:30:34 GetConfig: Battleground states: AZ,GA,MI,NH,NV,PA,VA,WI +2024/07/02 09:30:34 GetConfig: PlotWidth: 10.000000 +2024/07/02 09:30:34 GetConfig: PlotHeight: 10.000000 +2024/07/02 09:30:34 GetConfig: PollHistoryLimit: 3 +2024/07/02 09:30:34 GetConfig: TossupThreshold: 3.010000 ``` The configuration file ```config.yaml``` holds the current parameter values and comments as to the meaning of each parameter.