The nuclear industry has term, SCRAM, used to describe a quick shutdown of the reactor. There's a fun myth that it stands for "Safety Control Rod Ax Man," the role which served to shut down the Chicago Pile if it got too hot by literally cutting a rope with an ax (although this was debunked).
The US Nuclear Regulatory Commission (NRC) publishes a daily list of events at every licensed facility in the country. This includes power reactors, as well as research reactors, uranium mines, fuel fabrication facilities, and certain hospitals; we only care about power reactors. There are many possible reports, most fairly boring, but each report is given a SCRAM Code, which is what you will be searching for. One example is shown below:
The SCRAM Code is "A/R" to indicate it was an automatic reactor SCRAM, but other codes are possible. An "N" code indicates the event is not a SCRAM and can be ignored. Your task is to find all of the SCRAMS which occurred at US Nuclear power reactors in 2017.
- Your answer may take no input
- Search through all daily event reports found here
- Find all reports which have a SCRAM Code other than "N"
- Reports must be at facility type "Power Reactor"
- Output (STDOUT, nearest equivalent, function return, or sensible alternative) each SCRAM (in chronological order), identified by Facility Name, Event Number, Event Date, and SCRAM Code. Each field must be delimited in some fashion, and each SCRAM must be delimited by a separate delimiter. Other than this, output format is flexible.
- Only a sample of a minimum of 5 SCRAMS needs to be included in your answer, or you can post the full list if you'd like.
- Some SCRAMs will have reports on multiple days due to follow-up reporting, your answer should weed out duplicate SCRAMs.
- Some sites have multiple reactors (units) which can SCRAM separately. You should determine SCRAMs at both units, but do not need to report which unit it came from. Required behavior for multiple unit simultaneous SCRAMs is not defined.
- Note that not all 365 days of the year have reports, your answer must handle this.
- This challenge is Code Golf, so shortest answer wins. Standard caveats and loopholes apply
- In case the NRC changes the format of the webpage, your answer obviously doesn't need to handle this.
Field1 Field2 Field3 Field4|Field1 Field2 Field3 Field4|.... ------- Field1 Field2 Field3 Field4\n Field1 Field2 Field3 Field4\n ... ------ [["Field1","Field2","Field3","Field4"],["Field1","Field2","Field3","Field4"],...]