MineralData

MineralData["name","property"]
gives the value of the specified property for the mineral .

MineralData[{"name1","name2",},"property"]
gives a list of property values for the specified mineral names.

MineralData["name", "property", annotation]
gives the specified annotation associated with the property.

DetailsDetails

  • The specified in MineralData can be an Entity, EntityClass, or canonical name.
  • The specified should be an EntityProperty, EntityPropertyClass, canonical name, or list thereof.
  • MineralData[] gives a list of all mineral entities.
  • MineralData["Properties"] gives a list of available properties.
  • Properties that do not apply or are not known in a particular case are indicated by Missing[].
  • Properties include:
  • "2V"2V angle
    "AlternateNames"alternate names
    "Birefringence"birefringence
    "Cleavage"cleavage
    "Color"color
    "CrystalSystem"crystal system
    "DanaID"Dana ID
    "Density"density
    "Diaphaneity"transparency
    "DiscoveryYear"discovery year
    "Dispersion"dispersion
    "DSpacing"dspacing
    "Formula"formula
    "Fracture"fracture
    "Hardness"Mohs hardness
    "ICSDNumber"ICSD number
    "IMAApprovalYear"IMA approval/preIMA valid species
    "Image"image
    "IMANumber"IMA number
    "Intensity"intensity
    "Luster"luster
    "Magnetism"magnetism
    "MolecularWeight"molecular weight
    "MSHNumber"MSH number
    "Name"name
    "RefractiveIndices"refractive indices
    "Streak"streak
    "StrunzID"Strunz ID
    "Tenacity"tenacity
    "UnitCellAngles"unit cell angles
    "UnitCellLengths"unit cell lengths
    "UnitCellVolume"unit cell volume
    "Z"molecules per unit cell
  • Some properties are available for MineralData as a whole and can be given using the form MineralData["property"]. Such properties include:
  • "Entities"all available entities
    "EntityCount"total number of available entities
    "Classes"all available entity classes
    "EntityClassCount"total number of available entity classes
    "SampleEntities"list of sample entities
    "SampleEntityClasses"list of sample entity classes
    "EntityCanonicalNames"list of all entity canonical names
    "PropertyCanonicalNames"list of all property canonical names
    "EntityClassCanonicalNames"list of all entity class canonical names
    "RandomEntities"pseudorandom sample entities
    {"RandomEntities",n}n pseudorandom entities
    "RandomEntityClasses"pseudorandom sample entity classes
    {"RandomEntityClasses",n}n pseudorandom entity classes
  • The following annotations can be used in the third argument of MineralData["name","property",annotation]:
  • "Qualifiers"the list of possible qualifiers for the property
    "QualifierValues"the list of possible values that can be given to each qualifier
    "DefaultQualifierValues"the list of default values for the property's qualifiers
    "Description"a brief textual description of the property
    "Definition"a detailed textual definition of the property
    "Source"source information for the property
    "Date"the date associated with the entity-property value (if any)
    "PhysicalQuantity"the physical quantity associated with the entity-property value
    "Unit"the unit associated with the entity-property value
    "EntityAssociation"an Association of entities and entity-property values
    "PropertyAssociation"an Association of properties and entity-property values
  • If a function is provided as an annotation, it will be used to aggregate the result data. Typical aggregation functions include:
  • Minthe minimum value
    Maxthe maximum value
    Meanthe mean value
    Commonestthe most frequently occuring value
    Medianthe median value
    Totalreturns the total
    Lengththe number of elements

ExamplesExamplesopen allclose all

Basic Examples  (4)Basic Examples  (4)

Use Ctrl+Equal for entity discovery:

In[1]:=
Click for copyable input
Out[1]=

Use Ctrl+Equal for property discovery:

In[1]:=
Click for copyable input
Out[1]=

Find properties of a mineral:

In[1]:=
Click for copyable input
Out[1]=

Compare density of sample minerals:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
Introduced in 2014
(10.0)