Data, code, and software sharing for astronomical research