PlanetData

PlanetData["name","property"]
gives the value of the specified property for the planet .

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

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

DetailsDetails

  • The specified in PlanetData can be an Entity, EntityClass, or canonical name.
  • The specified should be an EntityProperty, EntityPropertyClass, canonical name, or list thereof.
  • PlanetData[] gives a list of all planet entities.
  • PlanetData["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:
  • "AbsoluteMagnitudeH"absolute magnitude H
    "Age"age
    "Albedo"albedo
    "AlphanumericName"alphanumeric name
    "AltitudeMaximum"next maximum altitude
    "AngularDiameterFromEarth"angular diameter
    "AngularRadiusFromEarth"angular radius
    "Aphelion"largest distance from the Sun
    "Apoapsis"largest distance from orbit center
    "ApoapsisTime"next apoapsis time
    "ApoapsisTimeLast"last apoapsis time
    "ApparentAltitude"apparent altitude
    "ApparentMagnitude"apparent magnitude
    "AscendingNodeLongitude"longitude of ascending node
    "AtmosphericComposition"atmospheric composition
    "AtmosphericPressure"atmospheric pressure
    "AtmosphericScaleHeight"atmospheric scale height
    "AverageDistanceFromEarth"average distance from Earth
    "AverageOrbitDistance"average orbit distance
    "AverageOrbitVelocity"average orbit velocity
    "AverageTemperature"average temperature
    "AverageVelocityAroundSun"average heliocentric velocity
    "BooleanRise"above the horizon
    "Classes"classes
    "Color"color
    "Constellation"constellation
    "CylindricalEquidistantTexture"cylindrical equidistant texture
    "Declination"declination
    "Density"mean density
    "Diameter"average diameter
    "Discoverers"discoverers
    "DiscoveryYear"discovery year
    "DistanceFromEarth"distance from Earth
    "DistanceFromSun"distance from Sun
    "EccentricAnomaly"eccentric anomaly
    "Eccentricity"orbital eccentricity
    "EffectiveTemperature"effective temperature
    "EquatorialAngularVelocity"equatorial angular velocity
    "EquatorialCircumference"equatorial circumference
    "EquatorialDiameter"equatorial diameter
    "EquatorialFrequency"equatorial frequency
    "EquatorialRadius"equatorial radius
    "EquatorialVelocity"equatorial velocity
    "EscapeVelocity"escape velocity
    "GalacticLatitude"galactic latitude
    "GalacticLongitude"galactic longitude
    "Glyph"astrological symbol
    "GravitationalConstantMassProduct"gravitational constant mass product
    "Gravity"gravity
    "HeliocentricLatitude"heliocentric latitude
    "HeliocentricLongitude"heliocentric longitude
    "HelioCoordinates"heliocentric XYZ coordinates
    "HillRadius"Hill radius
    "Inclination"orbital inclination
    "MajorAxis"major axis
    "Mass"mass
    "MaximalAltitudeTime"next maximum altitude time
    "MaximumTemperature"maximum temperature
    "MeanAnomaly"mean anomaly
    "MeanMotion"mean motion
    "MinimumTemperature"minimum temperature
    "MinorAxis"minor axis
    "MomentOfInertia"rotational moment of inertia
    "MoonCount"number of moons
    "Name"name
    "NorthPoleDeclination"north pole declination
    "NorthPoleRightAscension"north pole right ascension
    "Oblateness"oblateness
    "ObliquityComputed"obliquity
    "OrbitalAngularMomentum"orbital angular momentum
    "OrbitalKineticEnergy"orbital kinetic energy
    "OrbitalMomentOfInertia"orbital moment of inertia
    "OrbitCenter"orbit center
    "OrbitCircumference"orbit circumference
    "OrbitPath"orbit path
    "OrbitPeriod"orbital period
    "OrbitRules"orbit rules
    "Periapsis"nearest distance from orbit center
    "PeriapsisArgument"argument of periapsis
    "PeriapsisLongitude"longitude of periapsis
    "PeriapsisTime"next periapsis time
    "PeriapsisTimeLast"last periapsis time
    "Perihelion"nearest distance from the Sun
    "PolarCircumference"polar circumference
    "PolarDiameter"polar diameter
    "PolarRadius"polar radius
    "PrimeMeridian"prime meridian
    "Radius"average radius
    "RetrogradeApparentMotionQuery"apparent direction
    "RightAscension"right ascension
    "RiseTime"next rise
    "RocheLimit"Roche limit
    "RotationPeriod"rotation period
    "Satellites"known satellites
    "SemimajorAxis"semimajor axis
    "SemiminorAxis"semiminor axis
    "SetTime"next set
    "Shape"shape
    "SolarDay"solar day
    "SolidAngleFromEarth"solid angle
    "SphereOfInfluenceRadius"sphere of influence radius
    "StationaryOrbitRadius"stationary orbit radius
    "StationaryOrbitSpeed"stationary orbit speed
    "SurfaceArea"surface area
    "TexturedSurface"3D graphic
    "TrueAnomaly"true anomaly
    "VelocityAroundSun"instantaneous heliocentric velocity
    "Volume"volume
  • Some properties are available for PlanetData as a whole and can be given using the form PlanetData["property"]. Such properties include:
  • "Entities"all available entities
    "EntityCount"total number of available entities
    "Classes"all entities 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 PlanetData["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 occurring value
    Medianthe median value
    Totalreturn the total
    Lengththe number of elements

ExamplesExamplesopen allclose all

Basic Examples  (8)Basic Examples  (8)

Use Ctrl+Equal for discovery:

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

Find the mass of a planet:

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

Get a list of the planets:

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

Find the radius of each planet:

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

Find the next rise time for a planet from your location and time:

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

Get a list of classes of planets:

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

Find the planets in a given class:

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

Make a graphic of solar system orbit paths:

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