AnotherCodeArtist / medien-transparenz.at

Apache License 2.0
3 stars 2 forks source link

Geographic context for organizations (populate) #48

Closed relative-progressio closed 8 years ago

relative-progressio commented 8 years ago

The pull request connects to #18 and connects to #47

After the upload of organisation data and the identification of the federal state, it is now possible to select by federal state (top and flow). Therefore, the MongoDB approach of populate was used. One query allows to aggregate all needed values; another query is used for the “lookup” of the organisation. Within that query, all additionally operations (reducing, limit, counting…) are done.