I am trying to use the JPL Horizons Ephemeris database to determine planetary positions and velocities in heliocentric coordinates. My code is:
ResourceFunction[
"HorizonsEphemerisData"]["State", {Entity["Planet", "Earth"], <|
"Dates" -> {DateObject[{2024, 4, 19}],
DateObject[{2024, 7, 19 + 20}],
Quantity[10, "Days"]}|>}, All, "Dataset", {"Position",
"Velocity"}]
But this does not return data in heliocentric coordinates. Can anyone please suggest how I can get the position and velocity in heliocentric coordinates?