Where can I find such dataset.
For each object, I would want name, size, distance from sun (if applicable), mass. Can be separate dataset for all moons and for all planets. (and maybe asteroids).
Open Data Stack Exchange is a question and answer site for developers and researchers interested in open data. It only takes a minute to sign up.Sign up to join this community
Devstronomy project provides the datasets for planets (plus Pluto) and their satellites(moons) in accessible formats (CSV, JSON, SQL), available for download. The datasets originate from NASA Jet Propulsion Laboratory. Check the site for details.
Edit: please note that I'm the author of Devstonomy project. I had a similar issue and did not find a solution. So I've provided the datasets on the Devstronomy site.