Hello everyone,
Is there a way to extract data from Wolfram Alpha? Wolfram Alpha has some wonderful resources that Mathematica doesn't seem to have? As a more specific question, I'm trying to extract spectral lines for different atoms. Wolfram Alpha has the NIST database.
For example, to see some beryllium spectra I would type:
WolframAlpha["beryllium spectral lines", {{"Lines:AtomicSpectrumData",
1}, "Content"},
PodStates -> {"Lines:AtomicSpectrumData__More",
"Lines:AtomicSpectrumData__Show line characteristics"}]
If you go to wolfram alpha you would just type "beryllium spectral lines." The output in Mathematica contains just a portion of the data. The code above is for the visible spectra. I can add code "Lines:AtomicSpectrumData__Ultraviolet region"
to see the ultraviolet lines. For the visible spectrum I can add "Lines:AtomicSpectrumData__More"
to the code to see a bigger table of data.
My question is: Can I just get all of the spectral data in one output? I couldn't figure it out. I hope this answer can be generalized (and thus more useful) to other wolfram alpha outputs.
Thanks for any insight.