Group Abstract Group Abstract

Message Boards Message Boards

0
|
6.7K Views
|
3 Replies
|
1 Total Like
View groups...
Share
Share this post:

Usable Property for ElementData absent from ElementData["Properties"]

Posted 7 years ago

According to the documentation, ElementData["Properties"] gives a list of all properties available for chemical elements. However, ElementData["Properties"] does not include MolarRadioactivity despite documentation for ElementData showing that MolarRadioactibity is a usable property (Visible under the "Nuclear properties include" section). I'm asking to find out why this is the case, as it seems a bit counterintuitive.

Below, I create JSON files of the available properties when using ElementData and EntityValue.

a = ElementData["Properties"];
Export["elementData.json", a, "JSON"];

In the elementData.json file, it completely skips over MolarRadioactivity

...
"MohsHardness",
"MolarMagneticSusceptibility",
"MolarVolume",
"Name",
...

However, I can still use the property with ElementData

ElementData["Uranium", "MolarRadioactivity"]

Is this intended? If so, why? Thanks, Edwin.

Attachments:
POSTED BY: Edwin K
3 Replies
Anonymous User
Anonymous User
Posted 7 years ago
POSTED BY: Anonymous User
Posted 7 years ago

Might be a bug. I would expect ElementData["Properties"] to return the same values as EntityValue["Element", "PropertyCanonicalNames"], but the latter has more and includes MolarRadioactivity.

Complement[EntityValue["Element", "PropertyCanonicalNames"],  ElementData["Properties"]]

{"CommonCompounds", "CrustMolarAbundance", "CrystalStructureImage", "DebyeCharacteristicTemperature", "ElectronCount", "FullElectronConfiguration", "HumanMolarAbundance", "Image", "IsotopeHalfLives", "IsotopeLifetimes", "KnownOxidationStates", "LewisDotStructureDiagram", "MeteoriteMolarAbundance", "MolarHeatCapacity", "MolarMass", "MolarRadioactivity", "MostCommonOxidationStates", "NeutronCount", "NuclearDiameter", "NuclearRadius", "OceanMolarAbundance", "Price", "ProtonCount", "SolarMolarAbundance", "SolidificationHeat", "SpaceGroup", "SpecificFusionHeat", "SpecificIonizationEnergies", "SpecificRadioactivity", "SpecificSolidificationHeat", "SpecificVaporizationHeat", "TensileYieldStrength", "UltimateTensileStrength", "UniverseMolarAbundance", "ValenceElectronCount", "WorkFunction"}

POSTED BY: Rohit Namjoshi
Posted 7 years ago

Huh. Yeah, EntityValue["Element", "PropertyCanonicalNames"] does return more values. I believe there are around 33 values that EntityValue["Element", "PropertyCanonicalNames"] returns that ElementData["Properties"] does not. And I believe there are 4 values that ElementData["Properties"] returns but EntityValue["Element", "PropertyCanonicalNames"] does not return. Normally, I wouldn't take this behavior too seriously; I only did so because MolarRadioactivity was in the documentation for ElementData["..."]. Most of the 33 previously mentioned canonical names do go through ElementData["..."], but it does through via a network request, which means it somehow uses EntityValue["Element", "..."] in the background (since other ElementData["..."] calls are near instantaneous), I believe. This slows down my script tremendously, which makes such calls impractical. Although I would appreciate if this were more explicit, there is probably some location in the documentation that I'm missing here.

POSTED BY: Edwin K
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard