{"id":43760305,"url":"https://github.com/renci/nih-exposures-api","last_synced_at":"2026-02-05T15:04:14.542Z","repository":{"id":25808007,"uuid":"104261455","full_name":"RENCI/nih-exposures-api","owner":"RENCI","description":"NIH Data Translator - Exposures API ","archived":false,"fork":false,"pushed_at":"2022-06-21T21:16:04.000Z","size":1299,"stargazers_count":0,"open_issues_count":10,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-06-11T18:26:42.939Z","etag":null,"topics":["docker","environmental-exposures","open-api","postgresql","python3","rest-api","swagger"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RENCI.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-20T19:54:59.000Z","updated_at":"2019-04-16T19:56:37.000Z","dependencies_parsed_at":"2022-08-26T01:42:53.434Z","dependency_job_id":null,"html_url":"https://github.com/RENCI/nih-exposures-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RENCI/nih-exposures-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RENCI%2Fnih-exposures-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RENCI%2Fnih-exposures-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RENCI%2Fnih-exposures-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RENCI%2Fnih-exposures-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RENCI","download_url":"https://codeload.github.com/RENCI/nih-exposures-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RENCI%2Fnih-exposures-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29124793,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T14:05:12.718Z","status":"ssl_error","status_checked_at":"2026-02-05T14:03:53.078Z","response_time":65,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","environmental-exposures","open-api","postgresql","python3","rest-api","swagger"],"created_at":"2026-02-05T15:03:07.140Z","updated_at":"2026-02-05T15:04:14.532Z","avatar_url":"https://github.com/RENCI.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NIH Exposures API\n\nReSTful data service implemented in [Swagger](https://swagger.io) using [OpenAPI 2.0](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md) standards that provides environmental exposures data based on GeoCodes (latitude,longitude) and dates.\n\nSee [README.md](exposure-docs/README.md) in `exposure-docs/` for detailed information on supported exposures and return types\n\nPublic version running at: [https://exposures.renci.org/v1/ui/#/default](https://exposures.renci.org/v1/ui/#/default)\n\n## Development Environment\n\n### Assumptions\n\n- Python 3 on the host\n- Docker on the host\n\n### Swagger Editor\n\nSee [README.md](swagger-editor/README.md) in `swagger-editor/`\n\n### Server\n\nSee [README.md](server/README.md) in `server/`\n\n### Database\n\nSee [README.md](database/README.md) in `database/`\n\n### Scripts\n\nA script named [run-database-all.sh](scripts/run-database-all.sh) can be used to:\n\n- Create the database container\n- Create the exposures database and the datatrans user\n- Populate the exposures database with sample data\n- Create functions and indices on the exposures database\n\nExample:\n\n```\n$ ./run-database-all.sh\nNo stopped containers\nError: No such image: database_databaseError: No such image: centos:7Building database\nStep 1/11 : FROM centos:7\n7: Pulling from library/centos\nd9aaf4d82f24: Pull complete\nDigest: sha256:eba772bac22c86d7d6e72421b4700c3f894ab6e35475a34014ff8de74c10872e\nStatus: Downloaded newer image for centos:7\n ---\u003e 196e0ce0c9fb\n...\nStep 11/11 : CMD run\n ---\u003e Running in 95ff009d8fab\n ---\u003e 914e80e8c823\nRemoving intermediate container 95ff009d8fab\nSuccessfully built 914e80e8c823\nSuccessfully tagged database_database:latest\nCreating database ...\nCreating database ... done\nDatabase is running - use your local IP address for connection\n/Users/stealey/Github/nihdt/nih-exposures-api/scripts\nDatabase container already exists\nCREATE ROLE\nCREATE DATABASE\nGRANT\nCREATE EXTENSION\nCREATE EXTENSION\nCREATE EXTENSION\n                                  List of databases\n   Name    |  Owner   | Encoding |   Collate   |    Ctype    |   Access privileges\n-----------+----------+----------+-------------+-------------+------------------------\n exposures | postgres | UTF8     | en_US.UTF-8 | en_US.UTF-8 | =Tc/postgres          +\n           |          |          |             |             | postgres=CTc/postgres +\n           |          |          |             |             | datatrans=CTc/postgres\n postgres  | postgres | UTF8     | en_US.UTF-8 | en_US.UTF-8 |\n template0 | postgres | UTF8     | en_US.UTF-8 | en_US.UTF-8 | =c/postgres           +\n           |          |          |             |             | postgres=CTc/postgres\n template1 | postgres | UTF8     | en_US.UTF-8 | en_US.UTF-8 | =c/postgres           +\n           |          |          |             |             | postgres=CTc/postgres\n(4 rows)\n\n                                         List of installed extensions\n       Name       | Version |   Schema   |                             Description\n------------------+---------+------------+---------------------------------------------------------------------\n ogr_fdw          | 1.0     | public     | foreign-data wrapper for GIS data access\n plpgsql          | 1.0     | pg_catalog | PL/pgSQL procedural language\n postgis          | 2.3.3   | public     | PostGIS geometry, geography, and raster spatial types and functions\n postgis_topology | 2.3.3   | topology   | PostGIS topology spatial types and functions\n(4 rows)\n\n/PATH_TO/nih-exposures-api/scripts\nDROP TABLE\npsql:cmaq-list.sql:4: NOTICE:  table \"cmaq_exposures_list\" does not exist, skipping\nCREATE TABLE\nCOPY 2\nCREATE TABLE\nINSERT 0 2\nDROP TABLE\nALTER TABLE\n id | exposure_type | exposure_unit | start_date |  end_date  |     resolution      | aggregation\n----+---------------+---------------+------------+------------+---------------------+-------------\n  2 | o3            | ppm           | 2011-01-01 | 2011-12-31 | hour;day;7day;14day | max;avg\n  1 | pm25          | ugm3          | 2011-01-01 | 2011-12-31 | hour;day;7day;14day | max;avg\n(2 rows)\n\n/PATH_TO/nih-exposures-api/scripts\nDROP TABLE\npsql:cmaq-sample.sql:6: NOTICE:  table \"cmaq_exposures_data\" does not exist, skipping\nCREATE TABLE\nCOPY 46064\nALTER TABLE\n    id     | col | row |    utc_date_time    |        o3        | o3_avg_24 | o3_max_24 | o3_avg_7day | o3_max_7day | o3_avg_14day | o3_max_14day |       pmij       | pmij_avg_24 | pmij_max_24 | pmij_avg_7day | pmij_max_7day | pmij_avg_14day | pmij_max_14day\n-----------+-----+-----+---------------------+------------------+-----------+-----------+-------------+-------------+--------------+--------------+------------------+-------------+-------------+---------------+---------------+----------------+----------------\n 145428961 |   2 |   2 | 2011-01-01 01:00:00 | 33.6253852844238 |           |           |             |             |              |              | 2.08039736747742 |             |             |               |               |                |\n 145430449 |   2 |   4 | 2011-01-01 01:00:00 | 33.5208473205566 |           |           |             |             |              |              | 2.03274345397949 |             |             |               |               |                |\n 145207249 |   1 |   3 | 2011-01-01 01:00:00 | 33.5331764221191 |           |           |             |             |              |              | 2.08565402030945 |             |             |               |               |                |\n 145428217 |   2 |   1 | 2011-01-01 01:00:00 | 33.7440719604492 |           |           |             |             |              |              | 2.02048206329346 |             |             |               |               |                |\n 145429705 |   2 |   3 | 2011-01-01 01:00:00 | 33.5246391296387 |           |           |             |             |              |              | 2.07938885688782 |             |             |               |               |                |\n 145207993 |   1 |   4 | 2011-01-01 01:00:00 | 33.5291023254395 |           |           |             |             |              |              | 2.03650760650635 |             |             |               |               |                |\n 145205761 |   1 |   1 | 2011-01-01 01:00:00 | 33.7424583435059 |           |           |             |             |              |              | 2.02411556243896 |             |             |               |               |                |\n 145206505 |   1 |   2 | 2011-01-01 01:00:00 | 33.6172256469727 |           |           |             |             |              |              | 2.08304381370544 |             |             |               |               |                |\n 145651417 |   3 |   2 | 2011-01-01 01:00:00 | 33.6336097717285 |           |           |             |             |              |              |  2.0758228302002 |             |             |               |               |                |\n 145650673 |   3 |   1 | 2011-01-01 01:00:00 | 33.7342147827148 |           |           |             |             |              |              | 2.01978802680969 |             |             |               |               |                |\n(10 rows)\n\n/PATH_TO/nih-exposures-api/scripts\npsql:cmaq-functions.sql:2: ERROR:  index \"cmaq_col_row_date\" does not exist\nCREATE INDEX\npsql:cmaq-functions.sql:7: ERROR:  index \"cmaq_datetime\" does not exist\nCREATE INDEX\n                                          List of relations\n  Schema  |                      Name                       | Type  |   Owner   |        Table\n----------+-------------------------------------------------+-------+-----------+---------------------\n public   | cmaq_col_row_date                               | index | datatrans | cmaq_exposures_data\n public   | cmaq_datetime                                   | index | datatrans | cmaq_exposures_data\n public   | cmaq_exposures_data_pkey                        | index | datatrans | cmaq_exposures_data\n public   | cmaq_exposures_list_pkey                        | index | datatrans | cmaq_exposures_list\n public   | spatial_ref_sys_pkey                            | index | postgres  | spatial_ref_sys\n topology | layer_pkey                                      | index | postgres  | layer\n topology | layer_schema_name_table_name_feature_column_key | index | postgres  | layer\n topology | topology_name_key                               | index | postgres  | topology\n topology | topology_pkey                                   | index | postgres  | topology\n(9 rows)\n\npsql:cmaq-functions.sql:14: ERROR:  function cmaq_grid_size(text) does not exist\nCREATE FUNCTION\npsql:cmaq-functions.sql:39: ERROR:  function cmaq_o3_pmij_stats_row(text, integer) does not exist\nCREATE FUNCTION\n                                                                     List of functions\n Schema |          Name          | Result data type |                                     Argument data types                                      |  Type\n--------+------------------------+------------------+----------------------------------------------------------------------------------------------+--------\n public | cmaq_grid_size         | record           | _yr text, OUT min_row integer, OUT max_row integer, OUT min_col integer, OUT max_col integer | normal\n public | cmaq_o3_pmij_stats_row | void             | _yr text, _r integer                                                                         | normal\n(2 rows)\n\n/PATH_TO/nih-exposures-api/scripts\n```\n\nA script named [reload-database-all.sh](scripts/run-database-all.sh) can also be used to:\n\n- Drop and repopulate the exposures database with sample data\n- Drop and create functions and indices on the exposures database\n\nExample:\n\n```\n$ ./reload-database-all.sh\ndatabase\ndatabase\nDROP TABLE\nCREATE TABLE\nCOPY 2\nCREATE TABLE\nINSERT 0 2\nDROP TABLE\nALTER TABLE\n id | exposure_type | exposure_unit | start_date |  end_date  |     resolution      | aggregation\n----+---------------+---------------+------------+------------+---------------------+-------------\n  2 | o3            | ppm           | 2011-01-01 | 2011-12-31 | hour;day;7day;14day | max;avg\n  1 | pm25          | ugm3          | 2011-01-01 | 2011-12-31 | hour;day;7day;14day | max;avg\n(2 rows)\n\n/PATH_TO/nih-exposures-api/scripts\nDROP TABLE\nCREATE TABLE\nCOPY 46064\nALTER TABLE\n    id     | col | row |    utc_date_time    |        o3        | o3_avg_24 | o3_max_24 | o3_avg_7day | o3_max_7day | o3_avg_14day | o3_max_14day |       pmij       | pmij_avg_24 | pmij_max_24 | pmij_avg_7day | pmij_max_7day | pmij_avg_14day | pmij_max_14day\n-----------+-----+-----+---------------------+------------------+-----------+-----------+-------------+-------------+--------------+--------------+------------------+-------------+-------------+---------------+---------------+----------------+----------------\n 145428961 |   2 |   2 | 2011-01-01 01:00:00 | 33.6253852844238 |           |           |             |             |              |              | 2.08039736747742 |             |             |               |               |                |\n 145430449 |   2 |   4 | 2011-01-01 01:00:00 | 33.5208473205566 |           |           |             |             |              |              | 2.03274345397949 |             |             |               |               |                |\n 145207249 |   1 |   3 | 2011-01-01 01:00:00 | 33.5331764221191 |           |           |             |             |              |              | 2.08565402030945 |             |             |               |               |                |\n 145428217 |   2 |   1 | 2011-01-01 01:00:00 | 33.7440719604492 |           |           |             |             |              |              | 2.02048206329346 |             |             |               |               |                |\n 145429705 |   2 |   3 | 2011-01-01 01:00:00 | 33.5246391296387 |           |           |             |             |              |              | 2.07938885688782 |             |             |               |               |                |\n 145207993 |   1 |   4 | 2011-01-01 01:00:00 | 33.5291023254395 |           |           |             |             |              |              | 2.03650760650635 |             |             |               |               |                |\n 145205761 |   1 |   1 | 2011-01-01 01:00:00 | 33.7424583435059 |           |           |             |             |              |              | 2.02411556243896 |             |             |               |               |                |\n 145206505 |   1 |   2 | 2011-01-01 01:00:00 | 33.6172256469727 |           |           |             |             |              |              | 2.08304381370544 |             |             |               |               |                |\n 145651417 |   3 |   2 | 2011-01-01 01:00:00 | 33.6336097717285 |           |           |             |             |              |              |  2.0758228302002 |             |             |               |               |                |\n 145650673 |   3 |   1 | 2011-01-01 01:00:00 | 33.7342147827148 |           |           |             |             |              |              | 2.01978802680969 |             |             |               |               |                |\n(10 rows)\n\n/PATH_TO/nih-exposures-api/scripts\npsql:cmaq-functions.sql:2: ERROR:  index \"cmaq_col_row_date\" does not exist\nCREATE INDEX\npsql:cmaq-functions.sql:7: ERROR:  index \"cmaq_datetime\" does not exist\nCREATE INDEX\n                                          List of relations\n  Schema  |                      Name                       | Type  |   Owner   |        Table\n----------+-------------------------------------------------+-------+-----------+---------------------\n public   | cmaq_col_row_date                               | index | datatrans | cmaq_exposures_data\n public   | cmaq_datetime                                   | index | datatrans | cmaq_exposures_data\n public   | cmaq_exposures_data_pkey                        | index | datatrans | cmaq_exposures_data\n public   | cmaq_exposures_list_pkey                        | index | datatrans | cmaq_exposures_list\n public   | spatial_ref_sys_pkey                            | index | postgres  | spatial_ref_sys\n topology | layer_pkey                                      | index | postgres  | layer\n topology | layer_schema_name_table_name_feature_column_key | index | postgres  | layer\n topology | topology_name_key                               | index | postgres  | topology\n topology | topology_pkey                                   | index | postgres  | topology\n(9 rows)\n\nDROP FUNCTION\nCREATE FUNCTION\nDROP FUNCTION\nCREATE FUNCTION\n                                                                     List of functions\n Schema |          Name          | Result data type |                                     Argument data types                                      |  Type\n--------+------------------------+------------------+----------------------------------------------------------------------------------------------+--------\n public | cmaq_grid_size         | record           | _yr text, OUT min_row integer, OUT max_row integer, OUT min_col integer, OUT max_col integer | normal\n public | cmaq_o3_pmij_stats_row | void             | _yr text, _r integer                                                                         | normal\n(2 rows)\n\n/PATH_TO/nih-exposures-api/scripts\n```\n\nOnce the database is stood up and populated with the base data, functions and indices, a script named [run-o3-pmij-by-row.sh](data-sample/cmaq/cmaq-functions/run-o3-pmij-by-row.sh) can be used to calculate and insert the statistical data for\n\n- o3\\_avg\\_24\n- o3\\_max\\_24\n- o3\\_avg\\_7day\n- o3\\_max\\_7day\n- o3\\_avg\\_14day\n- o3\\_max\\_14day\n- pmij\\_avg\\_24\n- pmij\\_max\\_24\n- pmij\\_avg\\_7day\n- pmij\\_max\\_7day\n- pmij\\_avg\\_14day\n- pmij\\_max\\_14day\n\nExample:\n\n```\n$ ./run-o3-pmij-by-row.sh 2011\nNOTICE:  Check grid using date: 2011-01-01 12:00:00\n min_col | max_col\n---------+---------\n       1 |       4\n(1 row)\n\nmin_col = 1, max_col = 4\nDoes this match expected?: [Y/n] y\nYes\nProcessing Row: 1\nNOTICE:  Check grid using date: 2011-01-01 12:00:00\n cmaq_o3_pmij_stats_row\n------------------------\n...\n\n(1 row)\n\nProcessing Row: 4\nNOTICE:  Check grid using date: 2011-01-01 12:00:00\n cmaq_o3_pmij_stats_row\n------------------------\n\n(1 row)\n```\n\n### Data Sample\n\nSince the database is located within a Docker container, the user would need to use Docker commands to interact with it. \n\nExample:\n\nBecome the **postgres** user on the **exposures** database:\n\n```\n$ docker exec -ti -u postgres database psql exposures\n```\n\nIssue a SQL command:\n\n```\nexposures=# SELECT * FROM cmaq_exposures_data ORDER BY utc_date_time LIMIT 20;\n    id     | col | row |    utc_date_time    |        o3        |    o3_avg_24     |    o3_max_24     |   o3_avg_7day    |   o3_max_7day    |   o3_avg_14day   |   o3_max_14day   |       pmij       |   pmij_avg_24    |   pmij_max_24    |  pmij_avg_7day   |  pmij_max_7day   |  pmij_avg_14day  |  pmij_max_14day\n-----------+-----+-----+---------------------+------------------+------------------+------------------+------------------+------------------+------------------+------------------+------------------+------------------+------------------+------------------+------------------+------------------+------------------\n 145873129 |   4 |   1 | 2011-01-01 01:00:00 | 33.7093811035156 | 33.7093811035156 | 33.7093811035156 | 33.7093811035156 | 33.7093811035156 | 33.7093811035156 | 33.7093811035156 | 2.02110481262207 | 2.02110481262207 | 2.02110481262207 | 2.02110481262207 | 2.02110481262207 | 2.02110481262207 | 2.02110481262207\n 145650673 |   3 |   1 | 2011-01-01 01:00:00 | 33.7342147827148 | 33.7342147827148 | 33.7342147827148 | 33.7342147827148 | 33.7342147827148 | 33.7342147827148 | 33.7342147827148 | 2.01978802680969 | 2.01978802680969 | 2.01978802680969 | 2.01978802680969 | 2.01978802680969 | 2.01978802680969 | 2.01978802680969\n 145428217 |   2 |   1 | 2011-01-01 01:00:00 | 33.7440719604492 | 33.7440719604492 | 33.7440719604492 | 33.7440719604492 | 33.7440719604492 | 33.7440719604492 | 33.7440719604492 | 2.02048206329346 | 2.02048206329346 | 2.02048206329346 | 2.02048206329346 | 2.02048206329346 | 2.02048206329346 | 2.02048206329346\n 145205761 |   1 |   1 | 2011-01-01 01:00:00 | 33.7424583435059 | 33.7424583435059 | 33.7424583435059 | 33.7424583435059 | 33.7424583435059 | 33.7424583435059 | 33.7424583435059 | 2.02411556243896 | 2.02411556243896 | 2.02411556243896 | 2.02411556243896 | 2.02411556243896 | 2.02411556243896 | 2.02411556243896\n 145206505 |   1 |   2 | 2011-01-01 01:00:00 | 33.6172256469727 | 33.6172256469727 | 33.6172256469727 | 33.6172256469727 | 33.6172256469727 | 33.6172256469727 | 33.6172256469727 | 2.08304381370544 | 2.08304381370544 | 2.08304381370544 | 2.08304381370544 | 2.08304381370544 | 2.08304381370544 | 2.08304381370544\n 145207249 |   1 |   3 | 2011-01-01 01:00:00 | 33.5331764221191 | 33.5331764221191 | 33.5331764221191 | 33.5331764221191 | 33.5331764221191 | 33.5331764221191 | 33.5331764221191 | 2.08565402030945 | 2.08565402030945 | 2.08565402030945 | 2.08565402030945 | 2.08565402030945 | 2.08565402030945 | 2.08565402030945\n 145207993 |   1 |   4 | 2011-01-01 01:00:00 | 33.5291023254395 | 33.5291023254395 | 33.5291023254395 | 33.5291023254395 | 33.5291023254395 | 33.5291023254395 | 33.5291023254395 | 2.03650760650635 | 2.03650760650635 | 2.03650760650635 | 2.03650760650635 | 2.03650760650635 | 2.03650760650635 | 2.03650760650635\n 145428961 |   2 |   2 | 2011-01-01 01:00:00 | 33.6253852844238 | 33.6253852844238 | 33.6253852844238 | 33.6253852844238 | 33.6253852844238 | 33.6253852844238 | 33.6253852844238 | 2.08039736747742 | 2.08039736747742 | 2.08039736747742 | 2.08039736747742 | 2.08039736747742 | 2.08039736747742 | 2.08039736747742\n 145429705 |   2 |   3 | 2011-01-01 01:00:00 | 33.5246391296387 | 33.5246391296387 | 33.5246391296387 | 33.5246391296387 | 33.5246391296387 | 33.5246391296387 | 33.5246391296387 | 2.07938885688782 | 2.07938885688782 | 2.07938885688782 | 2.07938885688782 | 2.07938885688782 | 2.07938885688782 | 2.07938885688782\n 145430449 |   2 |   4 | 2011-01-01 01:00:00 | 33.5208473205566 | 33.5208473205566 | 33.5208473205566 | 33.5208473205566 | 33.5208473205566 | 33.5208473205566 | 33.5208473205566 | 2.03274345397949 | 2.03274345397949 | 2.03274345397949 | 2.03274345397949 | 2.03274345397949 | 2.03274345397949 | 2.03274345397949\n 145651417 |   3 |   2 | 2011-01-01 01:00:00 | 33.6336097717285 | 33.6336097717285 | 33.6336097717285 | 33.6336097717285 | 33.6336097717285 | 33.6336097717285 | 33.6336097717285 |  2.0758228302002 |  2.0758228302002 |  2.0758228302002 |  2.0758228302002 |  2.0758228302002 |  2.0758228302002 |  2.0758228302002\n 145652161 |   3 |   3 | 2011-01-01 01:00:00 | 33.5546569824219 | 33.5546569824219 | 33.5546569824219 | 33.5546569824219 | 33.5546569824219 | 33.5546569824219 | 33.5546569824219 | 2.06953716278076 | 2.06953716278076 | 2.06953716278076 | 2.06953716278076 | 2.06953716278076 | 2.06953716278076 | 2.06953716278076\n 145652905 |   3 |   4 | 2011-01-01 01:00:00 | 33.5305366516113 | 33.5305366516113 | 33.5305366516113 | 33.5305366516113 | 33.5305366516113 | 33.5305366516113 | 33.5305366516113 | 2.03037524223328 | 2.03037524223328 | 2.03037524223328 | 2.03037524223328 | 2.03037524223328 | 2.03037524223328 | 2.03037524223328\n 145873873 |   4 |   2 | 2011-01-01 01:00:00 | 33.6226844787598 | 33.6226844787598 | 33.6226844787598 | 33.6226844787598 | 33.6226844787598 | 33.6226844787598 | 33.6226844787598 | 2.06580376625061 | 2.06580376625061 | 2.06580376625061 | 2.06580376625061 | 2.06580376625061 | 2.06580376625061 | 2.06580376625061\n 145874617 |   4 |   3 | 2011-01-01 01:00:00 | 33.5541572570801 | 33.5541572570801 | 33.5541572570801 | 33.5541572570801 | 33.5541572570801 | 33.5541572570801 | 33.5541572570801 | 2.05466723442078 | 2.05466723442078 | 2.05466723442078 | 2.05466723442078 | 2.05466723442078 | 2.05466723442078 | 2.05466723442078\n 145875361 |   4 |   4 | 2011-01-01 01:00:00 | 33.5231628417969 | 33.5231628417969 | 33.5231628417969 | 33.5231628417969 | 33.5231628417969 | 33.5231628417969 | 33.5231628417969 | 2.02457571029663 | 2.02457571029663 | 2.02457571029663 | 2.02457571029663 | 2.02457571029663 | 2.02457571029663 | 2.02457571029663\n 145873130 |   4 |   1 | 2011-01-01 02:00:00 |  33.520881652832 | 33.6151313781738 | 33.7093811035156 | 33.6151313781738 | 33.7093811035156 | 33.6151313781738 | 33.7093811035156 | 2.03848743438721 | 2.02979612350464 | 2.03848743438721 | 2.02979612350464 | 2.03848743438721 | 2.02979612350464 | 2.03848743438721\n 145650674 |   3 |   1 | 2011-01-01 02:00:00 | 33.5395965576172 |  33.636905670166 | 33.7342147827148 |  33.636905670166 | 33.7342147827148 |  33.636905670166 | 33.7342147827148 | 2.05229020118713 | 2.03603911399841 | 2.05229020118713 | 2.03603911399841 | 2.05229020118713 | 2.03603911399841 | 2.05229020118713\n 145428218 |   2 |   1 | 2011-01-01 02:00:00 | 33.5495109558105 | 33.6467914581298 | 33.7440719604492 | 33.6467914581298 | 33.7440719604492 | 33.6467914581298 | 33.7440719604492 | 2.06364917755127 | 2.04206562042237 | 2.06364917755127 | 2.04206562042237 | 2.06364917755127 | 2.04206562042237 | 2.06364917755127\n 145205762 |   1 |   1 | 2011-01-01 02:00:00 | 33.5511512756348 | 33.6468048095704 | 33.7424583435059 | 33.6468048095704 | 33.7424583435059 | 33.6468048095704 | 33.7424583435059 | 2.06854724884033 | 2.04633140563964 | 2.06854724884033 | 2.04633140563964 | 2.06854724884033 | 2.04633140563964 | 2.06854724884033\n (20 rows)\n\nexposures=#\n```\n\nOr, run the full command from the host:\n\n```\n$ docker exec -ti -u postgres database psql exposures -c \"SELECT * FROM cmaq_exposures_data ORDER BY utc_date_time LIMIT 20;\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frenci%2Fnih-exposures-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frenci%2Fnih-exposures-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frenci%2Fnih-exposures-api/lists"}