R-API code to get full MONDO and DOID ID with human disease/traits

Dear All,

Could anyone share R-API code to retrieve the full MONDO and DOID IDs along with associated human diseases/traits from the Open Targets annotation database?

Do we have the following full table?

The final tables I want to received are:

Table for MONDO ID and Disease
Table for DOID ID and Disease
Table for UBERON ID and Tissue
Table for Cell Ontology ID and Cell Type

Thanks,

Shicheng