I wanted to create a dataset of all UFO sightings in April of 2018. The
AssociationThread
doesn't want to work, because some of the entries are missing value, what is the best way to fix it?
dataA1 = Import[
"http://www.nuforc.org/webreports/ndxe201804.html", {"HTML",
"Data"}];
dataA2 = Flatten[Rest@dataA1, 1];
dataA3 =
Map[AssociationThread[First[dataA1], #] &, dataA2]
Dataset[dataA3]
Missing[]
, but ratherImport[XXXX,{"HTML", "Data"}]
giving "tables" that have rows with inconsistent lengths. $\endgroup$