Find a planetary or asteroid name.
swe_get_planet_name(ipl)
swe_get_planet_name
returns the object's name as string
Convert object number into object name.
Section 3 in https://www.astro.com/swisseph/swephprg.htm. Remember that array indices start in R at 1, while in C they start at 0!
data(SE)
swe_get_planet_name(SE$MOON)
#> [1] "Moon"