Article

Tests

BeginPackage["Wikicode`Boron`"]

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

Begin["`Private`"]

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

boronData["Production"] = 
 MapAt[{Round@#} &, #, 1] & /@ 
  Import["http://minerals.usgs.gov/ds/2005/140/ds140-boron.xlsx"][[1, 
    70 ;; 117, {1, 8}]]

End[]
EndPackage[]