"renewables_share_energy vs renewables_share_elec" aren't the same as renewables consumed vs generated.
conceptually,
"renewables_share_energy" = renewable energy sources / (total energy mix, including electricity, transport, and heating, from all sources)
"renewables_share_elec" = renewable energy sources / (energy mix limited only to electricity, from all sources)
See https://ourworldindata.org/renewable-energy#renewable-energy-generation and https://ourworldindata.org/energy-definitions