Article

Tests

BeginPackage["Wikicode`Kyanite`"]

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

Begin["`Private`"]

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

kyaniteData["Production"]=MapAt[{Round@#}&,#,1]&/@Import["http://minerals.usgs.gov/ds/2005/140/ds140-kyani.xlsx"][[1,6;;89,{1,8}]]

End[]
EndPackage[]