Article

Tests

BeginPackage["Wikicode`Gallium`"]

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

Begin["`Private`"]

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

galliumData["Production"]=MapAt[{Round@#}&,#,1]&/@Import["http://minerals.usgs.gov/ds/2005/140/ds140-galli.xlsx"][[1,36;;74,{1,9}]]

End[]
EndPackage[]