![]() ![]() ![]() But if we consider the minimal and the maximal dates, we have our range of dates. Well, sometimes it can be a bit tricky, since we have 3 dates, 1941, 1945 and (in the legend) 1944. To extract the information, we look for regular expressions in the first column, with number, on 4 digits. there is a beginning (here 1775) and an end (1783). From the row above, we can claim that the US were at war in 1811. The information we want to confirm can be “ there were 21 full years – from Jan 1st till Dec 31st – where the US were not at war, once, during those years“. For instance,Įven if the war did last 1 day, we will say that the US were at war in 1811. If we look at the US page, there are tables, so it should be easy to extract it. I wanted to check, get a better understanding and look at other countries in the world.Īs always, we can try to extract information from wikipedia, since there are pages dedicated to that informationĭownload.file(url,destfile = "warUS.html")ĭownload.file(url,destfile = "warFR.html")ĭownload.file(url,destfile = "guerre.html")ĭownload.file(url,destfile = "warCAN.html") has only been at peace for less than 20 years total since its birth. This morning, I discovered an interesting statistic, “ America Has Been At War 93% of the Time – 222 Out of 239 Years – Since 1776“, i.e. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |