Article

Tests

BeginPackage["Wikicode`Iodine`"]

Production::usage="Production[date] gives the annual world iodine production from the specified date."

Begin["`Private`"]

Production[from_Integer]:=Select[iodineData["Production"],DateDifference[{from},#[[1]]] >= 0&]

iodineData["Production"] = 
 MapAt[{Round@#} &, #, 1] & /@ 
  Import["http://minerals.usgs.gov/ds/2005/140/ds140-iodin.xlsx"][[1, 
   38 ;; 89, {1, 9}]]

End[]
EndPackage[]