Article

Tests

BeginPackage["Wikicode`Lime`"]

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

Begin["`Private`"]

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

limeData["Production"] = 
 MapAt[{Round@#} &, #, 1] & /@ 
  Import["http://minerals.usgs.gov/ds/2005/140/ds140-lime.xlsx"][[1, 
   65 ;; 113, {1, 8}]]

End[]
EndPackage[]