Remove redundant line
Check that sr_id is a valid integer
Merge branch 'ged-add-api-to-list-countries-and-subnational-regions' of https://github.com/gem/oq-platform into ged-add-api-to-list-countries-and-subnational-regions
Export fractions as csv
Remove get_fractions_by_study_region_id that produced a json with list of dictionaries instead of exporting as csv
Add missing part to the generator that yields fractions from the db
Simplify filename for fractions export (do not include sr_id in the name)
merge branch 'ged-add-api-to-list-countries-and-subnational-regions' of https://github.com/gem/oq-platform into ged-add-api-to-list-countries-and-subnational-regions
Add export_exposure and get_study_region_info APIs
Merge branch 'ged-add-api-to-list-countries-and-subnational-regions' of https://github.com/gem/oq-platform into ged-add-api-to-list-countries-and-subnational-regions
Merge branch 'exposure-export-UI-changes' of https://github.com/gem/oq-platform into exposure-export-UI-changes
work in progress ~ download the building exposure data using the export_exposure api end point