Set the details for your gas/electricity meter. These will be stored as environment variables. You should add:
OCTOPUSR_MPAN = <electric MPAN>
OCTOPUSR_MPRN = <gas MPRN>
OCTOPUSR_ELEC_SERIAL_NUM = <electric serial number>
OCTOPUSR_GAS_SERIAL_NUM = <gas serial number>
to your .Renviron otherwise you will have to call this function every
session. You can find your meter details (MPAN/MPRN and serial number(s)) on
the developer dashboard.
set_meter_details(
meter_type = c("electricity", "gas"),
mpan_mprn = NULL,
serial_number = NULL
)No return value, called for side effects.
Type of meter-point, electricity or gas
The electricity meter-point's MPAN or gas meter-point’s MPRN.
The meter's serial number.