code: def beginningPage(R):
      
      p = R['PG']
      if p.startswith('suppl '):
          p = p[6:]
      return p.split(' ')[0].split('-')[0].replace(';', '')
docs: As pages may not be given as numbers this is the most accurate this function can be