code: def parse_json(data):
      
      sample_rate = data['datarate']
      unit = data['units']
      dtype = CIS_DATA_TYPE[data['datatype']]
      model = data['source']
      url = data['displayurl']
      return Channel(data['name'], sample_rate=sample_rate, unit=unit,
                     dtype=dtype, model=model, url=url)
docs: Parse the input data dict into a `Channel`.
  
      Parameters
      ----------
      data : `dict`
          input data from CIS json query
  
      Returns
      -------
      c : `Channel`
          a `Channel` built from the data