Maybe something more like

```coffeescript
view_funcs = [
  stagedbcpu: 'function(doc) { emit(doc._id, doc,stagedbloadavg) }', 
  stagepycpu: 'function(doc) { emit(doc._id, doc.stagepyloadavg) }'
# ...
  ]

_.each view_funcs, (val, key) ->
  db.insert
      language: 'javascript'
      views:
        "#{key}":
          map: val
  , "_design/#{key}", (err, body) ->
    console.log body unless err
```