author int64 658 755k | date stringlengths 19 19 | timezone int64 -46,800 43.2k | hash stringlengths 40 40 | message stringlengths 5 490 | mods list | language stringclasses 20
values | license stringclasses 3
values | repo stringlengths 5 68 | original_message stringlengths 12 491 |
|---|---|---|---|---|---|---|---|---|---|
123,879 | 14.09.2020 11:40:58 | 14,400 | 2fb00ad535188290555bcb3ae7e696354b01bedd | Backfill->Backwards padding | [
{
"change_type": "MODIFY",
"old_path": "docs/api/covidcast-signals/hospital-admissions.md",
"new_path": "docs/api/covidcast-signals/hospital-admissions.md",
"diff": "@@ -91,10 +91,10 @@ $$\n\\widehat{\\text{se}}(\\hat{p}_{it}) = 100 \\sqrt{\\frac{\\frac{\\hat{p}_{it}}{100}(1-\\frac{\\hat{p}_{it}}{10... | Python | MIT License | cmu-delphi/delphi-epidata | Backfill->Backwards padding |
123,853 | 14.09.2020 11:50:14 | 14,400 | 0a5d2f4ad2749cbb2fe101d11705befaf62b8747 | Title-case headings | [
{
"change_type": "MODIFY",
"old_path": "docs/api/covidcast-signals/doctor-visits.md",
"new_path": "docs/api/covidcast-signals/doctor-visits.md",
"diff": "@@ -149,7 +149,7 @@ $$\\dot{Y}_{it}^k = Y_{it}^k / \\alpha_{wd(t)}.$$\nWe then use these adjusted counts to estimate the CLI percentage as describ... | Python | MIT License | cmu-delphi/delphi-epidata | Title-case headings |
123,850 | 15.09.2020 11:03:01 | 14,400 | 8cbbdcaf11f3cecadf32bdf1f5590e0564f14f56 | Switch 'nation' geo_type to use two-character international country codes | [
{
"change_type": "MODIFY",
"old_path": "src/acquisition/covidcast/csv_importer.py",
"new_path": "src/acquisition/covidcast/csv_importer.py",
"diff": "@@ -225,7 +225,7 @@ class CsvImporter:\nelif geo_type == 'nation':\n# geo_id is lowercase\n- if not 'a' <= geo_id <= 'z':\n+ if len(geo_id) != 2 or no... | Python | MIT License | cmu-delphi/delphi-epidata | Switch 'nation' geo_type to use two-character international country codes |
123,853 | 16.09.2020 12:46:50 | 14,400 | e34dd9434f6960fd21468cd176d47bff65f52533 | Adjust survey docs to include new signals being introduced in wave 4 | [
{
"change_type": "MODIFY",
"old_path": "docs/api/covidcast-signals/fb-survey.md",
"new_path": "docs/api/covidcast-signals/fb-survey.md",
"diff": "@@ -18,30 +18,22 @@ Individual survey responses are held by CMU and are sharable with other health\nresearchers under a data use agreement. No individual ... | Python | MIT License | cmu-delphi/delphi-epidata | Adjust survey docs to include new signals being introduced in wave 4 |
123,853 | 16.09.2020 16:55:46 | 0 | dc3f5a3f618230cf7fb5e4302ac11f98309b0ccb | Copyedit survey documentation | [
{
"change_type": "MODIFY",
"old_path": "docs/api/covidcast-signals/fb-survey.md",
"new_path": "docs/api/covidcast-signals/fb-survey.md",
"diff": "@@ -12,19 +12,18 @@ grand_parent: COVIDcast API\n* **Date of last change:** [3 June 2020](../covidcast_changelog.md#fb-survey)\n* **Available for:** count... | Python | MIT License | cmu-delphi/delphi-epidata | Copyedit survey documentation |
123,867 | 28.09.2020 15:05:57 | 14,400 | c3fb2ad2b3d4076ff698eb94dc58cfeb959839e6 | grant read permissions in Dockerfiles to various internal libraries | [
{
"change_type": "MODIFY",
"old_path": "dev/docker/database/epidata/Dockerfile",
"new_path": "dev/docker/database/epidata/Dockerfile",
"diff": "@@ -10,3 +10,6 @@ ENV MYSQL_PASSWORD pass\n# provide DDL which will create empty tables at container startup\nCOPY repos/delphi/delphi-epidata/src/ddl/*.sql... | Python | MIT License | cmu-delphi/delphi-epidata | grant read permissions in Dockerfiles to various internal libraries |
123,853 | 30.09.2020 19:13:01 | 14,400 | f2dde24ec2473c5ac6b60e95813d685dd92ff13d | Link to the public repos | [
{
"change_type": "MODIFY",
"old_path": "docs/api/covidcast.md",
"new_path": "docs/api/covidcast.md",
"diff": "@@ -19,7 +19,10 @@ and other divisions.\nThis data is freely available under our [licensing](README.md#data-licensing)\nterms; we encourage academic users to [cite](README.md#citing) the dat... | Python | MIT License | cmu-delphi/delphi-epidata | Link to the public repos |
123,853 | 30.09.2020 19:13:16 | 14,400 | 8d1b9296b10ac46c5f78cc77418e53fba9663e9a | Update list of signals to match new names (mostly) | [
{
"change_type": "MODIFY",
"old_path": "docs/api/covidcast_signals.md",
"new_path": "docs/api/covidcast_signals.md",
"diff": "@@ -30,19 +30,19 @@ map](https://covidcast.cmu.edu/):\n| Kind | Name | Source | Signal |\n| ---- | ---- | ------ | ------ |\n-| Public Behavior | Away from Home 6hr+ (SafeGra... | Python | MIT License | cmu-delphi/delphi-epidata | Update list of signals to match new names (mostly) |
123,853 | 30.09.2020 19:13:36 | 14,400 | d7bdf242f1f4a5941edfaeb1fd37f1d8bd24e273 | Reorganize main COVIDcast page slightly
Offer CSV downloads quickly, show TOC, and minor tweaks. | [
{
"change_type": "MODIFY",
"old_path": "docs/api/covidcast.md",
"new_path": "docs/api/covidcast.md",
"diff": "@@ -25,8 +25,8 @@ code](https://github.com/cmu-delphi/delphi-epidata) is open-source, and\ncontributions are welcome. Further documentation on Delphi's APIs is available\nin the [API overvie... | Python | MIT License | cmu-delphi/delphi-epidata | Reorganize main COVIDcast page slightly
Offer CSV downloads quickly, show TOC, and minor tweaks. |
123,842 | 30.09.2020 21:14:57 | 14,400 | 35c97cad8ae537942a1749b87a1ba0409ce6ebd6 | csv file loading with explicit 'issue' dates
still needs some tests and documentation, but this should do the trick | [
{
"change_type": "MODIFY",
"old_path": "integrations/acquisition/covidcast/test_csv_uploading.py",
"new_path": "integrations/acquisition/covidcast/test_csv_uploading.py",
"diff": "@@ -94,7 +94,8 @@ class CsvUploadingTests(unittest.TestCase):\nf.write('file name is wrong\\n')\n# upload CSVs\n- args =... | Python | MIT License | cmu-delphi/delphi-epidata | csv file loading with explicit 'issue' dates
still needs some tests and documentation, but this should do the trick |
123,879 | 01.10.2020 11:22:46 | 14,400 | a7b869455036c5ea84768e173c99d71d7bacdd60 | smoothed_claims_covid19 -> smoothed_covid19_from_claims | [
{
"change_type": "MODIFY",
"old_path": "docs/api/covidcast-signals/hospital-admissions.md",
"new_path": "docs/api/covidcast-signals/hospital-admissions.md",
"diff": "@@ -22,8 +22,8 @@ COVID-associated diagnosis code in a given location, on a given day.\n| --- | --- |\n| `smoothed_covid19` | Estimate... | Python | MIT License | cmu-delphi/delphi-epidata | smoothed_claims_covid19 -> smoothed_covid19_from_claims |
123,849 | 01.10.2020 19:45:12 | 25,200 | 14a61e54d8fa255d8c1ffe3256cbaacddf503712 | Change "number of revisions" back to 1 | [
{
"change_type": "MODIFY",
"old_path": "docs/api/covidcast-signals/jhu-csse.md",
"new_path": "docs/api/covidcast-signals/jhu-csse.md",
"diff": "@@ -8,7 +8,7 @@ grand_parent: COVIDcast API\n{: .no_toc}\n* **Source name:** `jhu-csse`\n-* **Number of data revisions since 19 May 2020:** 2\n+* **Number o... | Python | MIT License | cmu-delphi/delphi-epidata | Change "number of revisions" back to 1 |
123,861 | 01.10.2020 20:43:59 | 25,200 | 71dcfeeb019cba6ef0b09c3631f7feb5172869c3 | no longer report fips exactly as JHU | [
{
"change_type": "MODIFY",
"old_path": "docs/api/covidcast-signals/jhu-csse.md",
"new_path": "docs/api/covidcast-signals/jhu-csse.md",
"diff": "@@ -59,13 +59,9 @@ should be interpreted purely as an artifact of data reporting and correction.\nDue to differences in state reporting standards, certain c... | Python | MIT License | cmu-delphi/delphi-epidata | no longer report fips exactly as JHU |
123,867 | 02.10.2020 13:47:58 | 14,400 | 46c5fb1c3be4d752b578ce543bdf8b3d0f04ec8d | remove granting permissions to secrets.php since that is done in the operations repo | [
{
"change_type": "MODIFY",
"old_path": "dev/docker/web/epidata/Dockerfile",
"new_path": "dev/docker/web/epidata/Dockerfile",
"diff": "@@ -8,5 +8,4 @@ COPY repos/delphi/delphi-epidata/src/server/*.php /var/www/html/epidata/\n# point to the development database (overwrites the production config)\nCOPY... | Python | MIT License | cmu-delphi/delphi-epidata | remove granting permissions to secrets.php since that is done in the operations repo |
123,867 | 02.10.2020 16:23:06 | 14,400 | eefb1f7031bdabb0cdc4eb459ad410e8aa9763ba | apply read permissions to all web files not just php | [
{
"change_type": "MODIFY",
"old_path": "dev/docker/web/epidata/Dockerfile",
"new_path": "dev/docker/web/epidata/Dockerfile",
"diff": "@@ -8,4 +8,4 @@ COPY repos/delphi/delphi-epidata/src/server/*.php /var/www/html/epidata/\n# point to the development database (overwrites the production config)\nCOPY... | Python | MIT License | cmu-delphi/delphi-epidata | apply read permissions to all web files not just php |
123,843 | 05.10.2020 10:52:12 | 14,400 | bc2f6a75b43e99f335320b45e28647bedd38fddc | Update epidata_development.md
Add stanza to create the docker network when bringing up servers so that containers can communicate. | [
{
"change_type": "MODIFY",
"old_path": "docs/epidata_development.md",
"new_path": "docs/epidata_development.md",
"diff": "@@ -94,8 +94,17 @@ docker build -t delphi_database_epidata \\\n# test\n-At this point you're ready to bring the stack online. To do that, just start\n-containers for the epidata-... | Python | MIT License | cmu-delphi/delphi-epidata | Update epidata_development.md
Add stanza to create the docker network when bringing up servers so that containers can communicate. |
123,853 | 05.10.2020 20:43:40 | 0 | d83385e46677ee15f4487183d3a7ea0df38b08d1 | Remove signals we're not publishing yet | [
{
"change_type": "MODIFY",
"old_path": "docs/api/covidcast-signals/fb-survey.md",
"new_path": "docs/api/covidcast-signals/fb-survey.md",
"diff": "@@ -282,10 +282,11 @@ data in the estimation procedures described above.\n| Signal | Description | Survey Item |\n| --- | --- | --- |\n| `smoothed_wearing... | Python | MIT License | cmu-delphi/delphi-epidata | Remove signals we're not publishing yet |
123,853 | 05.10.2020 20:45:16 | 0 | 11d777e205f0b269bd207cb5e1d54a2ed862be0c | Remove incorrect list item | [
{
"change_type": "MODIFY",
"old_path": "docs/api/covidcast-signals/fb-survey.md",
"new_path": "docs/api/covidcast-signals/fb-survey.md",
"diff": "@@ -29,8 +29,6 @@ described in the sections below:\ntraveling, and activities outside the home\n3. [Testing indicators](#testing-indicators) based on resp... | Python | MIT License | cmu-delphi/delphi-epidata | Remove incorrect list item |
123,850 | 06.10.2020 09:56:03 | 14,400 | 0a04bb686a57698261013874373c474122e0bd72 | Update map signals for 1.9.2
Use the from_claims variant for Hospital Admissions | [
{
"change_type": "MODIFY",
"old_path": "docs/api/covidcast_signals.md",
"new_path": "docs/api/covidcast_signals.md",
"diff": "@@ -38,7 +38,7 @@ map](https://covidcast.cmu.edu/):\n| Early Indicators | COVID-Related Doctor Visits | [`doctor-visits`](covidcast-signals/doctor-visits.md) | `smoothed_adj_... | Python | MIT License | cmu-delphi/delphi-epidata | Update map signals for 1.9.2
Use the from_claims variant for Hospital Admissions |
123,877 | 07.10.2020 14:11:38 | -7,200 | 3cc6488af27d60b63e247eb61047ecff3f967c51 | feat: support geo_values (single geo_type)
closes | [
{
"change_type": "MODIFY",
"old_path": "integrations/server/test_covidcast.py",
"new_path": "integrations/server/test_covidcast.py",
"diff": "@@ -311,6 +311,100 @@ class CovidcastTests(unittest.TestCase):\n'message': 'success',\n})\n+ def test_geo_value(self):\n+ \"\"\"test different variants of geo... | Python | MIT License | cmu-delphi/delphi-epidata | feat: support geo_values (single geo_type)
closes #221 |
123,843 | 07.10.2020 13:28:41 | 14,400 | c3e2d99a771ad1e6b2e44ae63fcdb36ce33cbc3e | Add 127.0.0.1: to beginning of docker run commands
Add 127.0.0.1: to beginning of docker run commands to only listen on localhost (not externally) which enhances security. | [
{
"change_type": "MODIFY",
"old_path": "docs/epidata_development.md",
"new_path": "docs/epidata_development.md",
"diff": "@@ -110,12 +110,12 @@ debugging. For example:\n```bash\n# launch the database\n-docker run --rm -p 13306:3306 \\\n+docker run --rm -p 127.0.0.1:13306:3306 \\\n--network delphi-ne... | Python | MIT License | cmu-delphi/delphi-epidata | Add 127.0.0.1: to beginning of docker run commands
Add 127.0.0.1: to beginning of docker run commands to only listen on localhost (not externally) which enhances security. |
123,850 | 07.10.2020 13:49:40 | 14,400 | 72b49d1897a306cd356bc8150290706d459f88d1 | Update changelog dates docs/api/covidcast-signals/jhu-csse.md | [
{
"change_type": "MODIFY",
"old_path": "docs/api/covidcast-signals/jhu-csse.md",
"new_path": "docs/api/covidcast-signals/jhu-csse.md",
"diff": "@@ -9,7 +9,7 @@ grand_parent: COVIDcast API\n* **Source name:** `jhu-csse`\n* **Number of data revisions since 19 May 2020:** 1\n-* **Date of last change:**... | Python | MIT License | cmu-delphi/delphi-epidata | Update changelog dates docs/api/covidcast-signals/jhu-csse.md |
123,850 | 07.10.2020 13:49:56 | 14,400 | bd11f5ae7b44cf7c9b83b88112a6318dcccf33c0 | Update changelog dates docs/api/covidcast_changelog.md | [
{
"change_type": "MODIFY",
"old_path": "docs/api/covidcast_changelog.md",
"new_path": "docs/api/covidcast_changelog.md",
"diff": "@@ -48,7 +48,7 @@ We now include figures on Puerto Rico for all `jhu-csse` signals at the state le\nNY Boroughs county FIPS (36005, 36047, 36061, 36081, 36085) are now sp... | Python | MIT License | cmu-delphi/delphi-epidata | Update changelog dates docs/api/covidcast_changelog.md |
123,877 | 09.10.2020 15:53:09 | -7,200 | 88f23dc15b41b283cca090a90f811b0b96cf806c | refactor: add test comments | [
{
"change_type": "MODIFY",
"old_path": "integrations/server/test_covidcast.py",
"new_path": "integrations/server/test_covidcast.py",
"diff": "@@ -384,23 +384,30 @@ class CovidcastTests(unittest.TestCase):\n'signal': 'sig',\n}]\n+ # test fetch all\nr = fetch('*')\nself.assertEqual(r['message'], 'succ... | Python | MIT License | cmu-delphi/delphi-epidata | refactor: add test comments |
123,859 | 09.10.2020 11:26:56 | 18,000 | 99f99d60a04f1e4437783c7a476e3ef53fe0303a | update dev docs
clarify that unit tests don't require external services
trivial formatting updates
use `--color` flag for easier-to-read test results | [
{
"change_type": "MODIFY",
"old_path": "docs/epidata_development.md",
"new_path": "docs/epidata_development.md",
"diff": "@@ -101,7 +101,6 @@ communicate:\n```\ndocker network create --driver bridge delphi-net\n-\n```\nNext, start containers for the epidata-specific web and database images. As an as... | Python | MIT License | cmu-delphi/delphi-epidata | update dev docs
- clarify that unit tests don't require external services
- trivial formatting updates
- use `--color` flag for easier-to-read test results |
123,859 | 09.10.2020 11:53:20 | 18,000 | 2dd301b2fbef80d9d8313fe2f4c8c33afe0d1dd1 | update flusurv database connection
use the value from `secrets`, which allows the host to be configured
per-environment
this allows integration testing for flusurv acquisition | [
{
"change_type": "MODIFY",
"old_path": "src/acquisition/flusurv/flusurv_update.py",
"new_path": "src/acquisition/flusurv/flusurv_update.py",
"diff": "@@ -105,7 +105,8 @@ def update(issue, location_name, test_mode=False):\n# connect to the database\nu, p = secrets.db.epi\n- cnx = mysql.connector.conn... | Python | MIT License | cmu-delphi/delphi-epidata | update flusurv database connection
- use the value from `secrets`, which allows the host to be configured
per-environment
- this allows integration testing for flusurv acquisition |
123,843 | 09.10.2020 17:15:16 | 14,400 | 78a71f273cca41be19160c34401c1170969246db | Add sanity checks for +/-inf in CSV data. | [
{
"change_type": "MODIFY",
"old_path": "src/acquisition/covidcast/csv_importer.py",
"new_path": "src/acquisition/covidcast/csv_importer.py",
"diff": "@@ -250,8 +250,8 @@ class CsvImporter:\n# required float\ntry:\nvalue = float(row.val)\n- if math.isnan(value):\n- raise ValueError('nan not valid for... | Python | MIT License | cmu-delphi/delphi-epidata | Add sanity checks for +/-inf in CSV data. |
123,877 | 12.10.2020 11:51:58 | -7,200 | 1e1d91c9c2caa2beb6db8599bd0d3ac18e07a7c8 | feat: handle geo_value(s) in clients | [
{
"change_type": "MODIFY",
"old_path": "integrations/client/test_delphi_epidata.py",
"new_path": "integrations/client/test_delphi_epidata.py",
"diff": "@@ -221,6 +221,92 @@ class DelphiEpidataPythonClientTests(unittest.TestCase):\n'message': 'success',\n})\n+ def test_geo_value(self):\n+ \"\"\"test ... | Python | MIT License | cmu-delphi/delphi-epidata | feat: handle geo_value(s) in clients |
123,877 | 12.10.2020 12:34:27 | -7,200 | d001359b6da4fa4ba9e0e67bde8ce28da3ddb73c | feat: compile coffeescript | [
{
"change_type": "MODIFY",
"old_path": "src/client/delphi_epidata.js",
"new_path": "src/client/delphi_epidata.js",
"diff": "@@ -573,10 +573,15 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d\n'signals': signals,\n'time_type': time_type,\n'geo_type': geo_type,\n- '... | Python | MIT License | cmu-delphi/delphi-epidata | feat: compile coffeescript |
123,877 | 12.10.2020 16:44:09 | -7,200 | ab20c53a3538631e8f1b85530939b65e9f73e756 | feat: use is_latest_issue in PHP | [
{
"change_type": "MODIFY",
"old_path": "src/server/api.php",
"new_path": "src/server/api.php",
"diff": "@@ -980,17 +980,17 @@ function get_covidcast($source, $signals, $time_type, $geo_type, $time_values, $\n//build the lag filter\n$condition_lag = \"(t.`lag` = {$lag})\";\n$condition_version = $cond... | Python | MIT License | cmu-delphi/delphi-epidata | feat: use is_latest_issue in PHP |
123,850 | 13.10.2020 14:00:09 | 14,400 | 586ae4e731d22a6b55daccc2f46421f75c053c4c | Document the removal of the 10 October issue from usa-facts and indicator-combination deaths signals | [
{
"change_type": "MODIFY",
"old_path": "docs/api/covidcast-signals/indicator-combination.md",
"new_path": "docs/api/covidcast-signals/indicator-combination.md",
"diff": "@@ -200,8 +200,8 @@ The resampling method for each input source is as follows:\n## Compositional Signals: Confirmed Cases and Deat... | Python | MIT License | cmu-delphi/delphi-epidata | Document the removal of the 10 October issue from usa-facts and indicator-combination deaths signals |
123,850 | 13.10.2020 14:08:41 | 14,400 | 164409e99b6a9aff42bd4eb3182fe59ae6939c44 | Clarify who can expect to be affected by the 10 Oct change. | [
{
"change_type": "MODIFY",
"old_path": "docs/api/covidcast_changelog.md",
"new_path": "docs/api/covidcast_changelog.md",
"diff": "@@ -75,10 +75,10 @@ Standard errors are now included in the `nmf_day_doc_fbc_fbs_ght` signal for all\n#### 12 October 2020\n-The 10 October 2020 issue of all `indicator-c... | Python | MIT License | cmu-delphi/delphi-epidata | Clarify who can expect to be affected by the 10 Oct change. |
123,843 | 14.10.2020 14:23:10 | 14,400 | 0947a957ae60229f80df25abf5e819cac43a2098 | Make sure that exceptions are reraised if the SQL insert fails. | [
{
"change_type": "MODIFY",
"old_path": "tests/acquisition/covidcast/test_database.py",
"new_path": "tests/acquisition/covidcast/test_database.py",
"diff": "@@ -250,3 +250,15 @@ class UnitTests(unittest.TestCase):\nself.assertIn('`covidcast_meta_cache`', sql)\nself.assertIn('timestamp', sql)\nself.as... | Python | MIT License | cmu-delphi/delphi-epidata | Make sure that exceptions are reraised if the SQL insert fails. |
123,859 | 16.10.2020 16:51:39 | 18,000 | edacdde24b0cc68a460e52cc176c332ed6683479 | document bind-mounting
describe how to use bind-mounting to eliminate the need to rebuild
containers | [
{
"change_type": "MODIFY",
"old_path": "docs/epidata_development.md",
"new_path": "docs/epidata_development.md",
"diff": "@@ -285,3 +285,78 @@ More concretely, you can run Epidata API integration tests like this:\n```\n5. Bring down the servers, for example with the `docker stop` command.\n+\n+# rap... | Python | MIT License | cmu-delphi/delphi-epidata | document bind-mounting
- describe how to use bind-mounting to eliminate the need to rebuild
containers |
123,859 | 16.10.2020 16:55:18 | 18,000 | 3348e5157eb54c3952a6dbdcd2445a6e9b98b160 | update links with `main` branch
links now point to the `main` branch | [
{
"change_type": "MODIFY",
"old_path": "docs/epidata_development.md",
"new_path": "docs/epidata_development.md",
"diff": "@@ -6,11 +6,11 @@ nav_order: 4\n# Epidata API Development Guide\n**Prerequisite:** this guide assumes that you have read the\n-[frontend development guide](https://github.com/cmu... | Python | MIT License | cmu-delphi/delphi-epidata | update links with `main` branch
- links now point to the `main` branch |
123,859 | 19.10.2020 10:00:17 | 18,000 | a9fed7dee6ff93618232016d8ea36d1055ab9d83 | split into subtests
test still fails at head, this will help with debugging | [
{
"change_type": "MODIFY",
"old_path": "integrations/client/test_delphi_epidata.py",
"new_path": "integrations/client/test_delphi_epidata.py",
"diff": "@@ -45,7 +45,6 @@ class DelphiEpidataPythonClientTests(unittest.TestCase):\ndef test_covidcast(self):\n\"\"\"Test that the covidcast endpoint return... | Python | MIT License | cmu-delphi/delphi-epidata | split into subtests
- test still fails at head, this will help with debugging |
123,859 | 19.10.2020 10:07:06 | 18,000 | dfb0076a065170042ecb0cf6b259e9ecf6a4c426 | use local database
was previously unset, which meant that the meta test failed *unless*
it ran after some other test that set the host
this addition makes the test deterministic, as it doesn't rely on
other tests to do the necessary setup | [
{
"change_type": "MODIFY",
"old_path": "integrations/client/test_delphi_epidata.py",
"new_path": "integrations/client/test_delphi_epidata.py",
"diff": "@@ -9,6 +9,7 @@ import mysql.connector\n# first party\nfrom delphi.epidata.client.delphi_epidata import Epidata\nfrom delphi.epidata.acquisition.cov... | Python | MIT License | cmu-delphi/delphi-epidata | use local database
- was previously unset, which meant that the meta test failed *unless*
it ran after some other test that set the host
- this addition makes the test deterministic, as it doesn't rely on
other tests to do the necessary setup |
123,859 | 19.10.2020 10:38:28 | 18,000 | 6418f4d20562c6a0e401570f697403509624eeea | fix failing test
fixes
see discussion at
in short, the test inserted bad data into the database. "bad" in the
sense that the latest for for "sig2" was not marked as such by the
`is_latest_issue` field
the fix is to set that field on the "sig2" row | [
{
"change_type": "MODIFY",
"old_path": "integrations/client/test_delphi_epidata.py",
"new_path": "integrations/client/test_delphi_epidata.py",
"diff": "@@ -57,7 +57,7 @@ class DelphiEpidataPythonClientTests(unittest.TestCase):\n(0, 'src', 'sig', 'day', 'county', 20200414, '01234',\n123, 1.5, 2.5, 3.... | Python | MIT License | cmu-delphi/delphi-epidata | fix failing test
- fixes #251
- see discussion at
https://github.com/cmu-delphi/delphi-epidata/issues/251
- in short, the test inserted bad data into the database. "bad" in the
sense that the latest for for "sig2" was not marked as such by the
`is_latest_issue` field
- the fix is to set that field on the "sig2" row |
123,864 | 19.10.2020 15:27:56 | 14,400 | 5588eaf829a4248471953e96a3d7007ff582fb86 | Document DV holiday effects | [
{
"change_type": "MODIFY",
"old_path": "docs/api/covidcast-signals/doctor-visits.md",
"new_path": "docs/api/covidcast-signals/doctor-visits.md",
"diff": "@@ -51,6 +51,11 @@ States.\nStandard errors are not available for this data source.\n+Due to changes in medical-seeking behavior on holidays, this... | Python | MIT License | cmu-delphi/delphi-epidata | Document DV holiday effects |
123,864 | 19.10.2020 20:08:57 | 14,400 | ea6e5fe3bd14b88165915a149a32abc9cff4257c | Phrase change | [
{
"change_type": "MODIFY",
"old_path": "docs/api/covidcast-signals/doctor-visits.md",
"new_path": "docs/api/covidcast-signals/doctor-visits.md",
"diff": "@@ -52,9 +52,10 @@ States.\nStandard errors are not available for this data source.\nDue to changes in medical-seeking behavior on holidays, this ... | Python | MIT License | cmu-delphi/delphi-epidata | Phrase change |
123,842 | 20.10.2020 16:56:14 | 14,400 | c8cf69e33623d21339da37e11ef6808467c0fb81 | updates to address JHU is_latest (issue
this should do the trick, but updating by id instead of the join coming shortly | [
{
"change_type": "MODIFY",
"old_path": "integrations/acquisition/covidcast/test_fill_is_latest_issue.py",
"new_path": "integrations/acquisition/covidcast/test_fill_is_latest_issue.py",
"diff": "@@ -47,9 +47,13 @@ class FillIsLatestIssueTests(unittest.TestCase):\nself.cur.close()\nself.cnx.close()\n-... | Python | MIT License | cmu-delphi/delphi-epidata | updates to address JHU is_latest (issue #329)
this should do the trick, but updating by id instead of the join coming shortly |
123,853 | 20.10.2020 17:02:42 | 14,400 | 1ca0ab044338255721d6065c384477769eb684c6 | First draft of SFTP instructions | [
{
"change_type": "ADD",
"old_path": "docs/symptom-survey/screenshots/cyberduck-1.png",
"new_path": "docs/symptom-survey/screenshots/cyberduck-1.png",
"diff": "Binary files /dev/null and b/docs/symptom-survey/screenshots/cyberduck-1.png differ\n"
},
{
"change_type": "ADD",
"old_path": "do... | Python | MIT License | cmu-delphi/delphi-epidata | First draft of SFTP instructions |
123,853 | 20.10.2020 17:07:23 | 14,400 | 30196c189cc239990f42f2bccc2338eed43a2a1e | Fix links and formatting slightly | [
{
"change_type": "MODIFY",
"old_path": "docs/symptom-survey/survey-files.md",
"new_path": "docs/symptom-survey/survey-files.md",
"diff": "@@ -9,9 +9,8 @@ nav_order: 1\nUsers with access to the [COVID symptom survey](./index.md) individual response\ndata should have received SFTP credentials for a pr... | Python | MIT License | cmu-delphi/delphi-epidata | Fix links and formatting slightly |
123,853 | 20.10.2020 17:09:44 | 14,400 | 83a6e6c17f79a0ab2b35103176b17c446ac4d5bd | Remove stray @ | [
{
"change_type": "MODIFY",
"old_path": "docs/symptom-survey/server-access.md",
"new_path": "docs/symptom-survey/server-access.md",
"diff": "@@ -15,7 +15,7 @@ If you're not familiar with SFTP, it is a protocol for accessing and downloading\nlarge amounts of data from remote servers. The instructions ... | Python | MIT License | cmu-delphi/delphi-epidata | Remove stray @ |
123,853 | 21.10.2020 08:19:00 | 14,400 | 5bc4131384f4d234d741997fa77700ae10568def | Fix a broken link
Jekyll only relativizes the URL if its text does not complain a line break. | [
{
"change_type": "MODIFY",
"old_path": "docs/api/covidcast.md",
"new_path": "docs/api/covidcast.md",
"diff": "@@ -118,8 +118,8 @@ The current set of signals available for each data source is returned by the\nEstimates for a specific `time_value` and `geo_value` are sometimes updated\nafter they are ... | Python | MIT License | cmu-delphi/delphi-epidata | Fix a broken link
Jekyll only relativizes the URL if its text does not complain a line break. |
123,842 | 22.10.2020 18:58:26 | 14,400 | a27106105d44c58984ea8d32866599ddf7e52753 | generates raw SQL that for JHU data, by month and by signal, finds latest issues' ids and saves them in a temp table. then by month and by signal, clears is_latest_issue flags. then sets is_latest_issue flag for all saved ids. then drops temp table. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/acquisition/covidcast/generate_jhu_islatest_fix_sql.py",
"diff": "+PARTITION_VARIABLE = 'time_value'\n+PARTITION_SPLITS = [20200101 + i*100 for i in range(10)] # first day of the month for jan - oct 2020 in YYYYMMDD form\n+### PARTITION_SPLI... | Python | MIT License | cmu-delphi/delphi-epidata | generates raw SQL that for JHU data, by month and by signal, finds latest issues' ids and saves them in a temp table. then by month and by signal, clears is_latest_issue flags. then sets is_latest_issue flag for all saved ids. then drops temp table. |
123,842 | 22.10.2020 20:44:32 | 14,400 | 63f3ebb90a56b4daf6a68a18e1ab1f312c50c635 | oops, used wrong copy of file in last commit | [
{
"change_type": "MODIFY",
"old_path": "jhu_islatest_fix.sql",
"new_path": "jhu_islatest_fix.sql",
"diff": "-DROP TEMPORARY TABLE `jhu_islatest_fix`;\n+-- DROP TEMPORARY TABLE `jhu_islatest_fix`;\nCREATE TEMPORARY TABLE `jhu_islatest_fix` (`latest_id` INT(11) NOT NULL, PRIMARY KEY (`latest_id`)) ENG... | Python | MIT License | cmu-delphi/delphi-epidata | oops, used wrong copy of file in last commit |
123,859 | 23.10.2020 08:33:03 | 18,000 | b65476f51bf60240b4747f374234906014f5a82a | typo fix and blog link | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -18,7 +18,10 @@ pandemic and powers the [COVIDcast project](https://covidcast.cmu.edu/).\nOur other, non-COVID data sources remain generally available on a best-effort\nbasis. However, non-COVID sources should b... | Python | MIT License | cmu-delphi/delphi-epidata | typo fix and blog link |
123,866 | 26.10.2020 08:07:56 | 21,600 | 88010cc6e2f3042ece971f463ca22adb4dce7f20 | Update covidcast_changelog.md | [
{
"change_type": "MODIFY",
"old_path": "docs/api/covidcast_changelog.md",
"new_path": "docs/api/covidcast_changelog.md",
"diff": "@@ -43,7 +43,11 @@ Duplicate survey weights had corrupted historical figures for the following sign\n### `google-survey`\n### `ght`\n-### `quidel`\n+\n+### `hospital-admi... | Python | MIT License | cmu-delphi/delphi-epidata | Update covidcast_changelog.md |
123,850 | 28.10.2020 10:11:11 | 14,400 | 8d6206f63ded58e2aa9512da20498a7fa2e88a41 | Changelog: fix missing nouns | [
{
"change_type": "MODIFY",
"old_path": "docs/api/covidcast_changelog.md",
"new_path": "docs/api/covidcast_changelog.md",
"diff": "@@ -46,7 +46,7 @@ Duplicate survey weights had corrupted historical figures for the following sign\n### `hospital-admissions`\n#### 20 October 2020\n-We went from a custo... | Python | MIT License | cmu-delphi/delphi-epidata | Changelog: fix missing nouns |
123,842 | 28.10.2020 14:21:11 | 14,400 | 51d85a75a36f70e4fa98cb5de03203e5c61e0626 | TEMPORARY TABLE is evil
in practice, we will probably not see issues with this unless we get some insanely large file to process, but with recent issues, i think this prudent. | [
{
"change_type": "MODIFY",
"old_path": "src/acquisition/covidcast/database.py",
"new_path": "src/acquisition/covidcast/database.py",
"diff": "@@ -108,7 +108,7 @@ class Database:\n# TODO: this heavily copypastas src/ddl/covidcast.sql -- theres got to be a better way\ncreate_tmp_table_sql = f'''\n- CR... | Python | MIT License | cmu-delphi/delphi-epidata | TEMPORARY TABLE is evil
in practice, we will probably not see issues with this unless we get some insanely large file to process, but with recent issues, i think this prudent. |
123,853 | 30.10.2020 18:16:40 | 0 | 7c83a291814d24823f7a6a95ed61cf002a1f1aa3 | Re-grandparent signal documentation | [
{
"change_type": "MODIFY",
"old_path": "docs/api/covidcast-signals/_source-template.md",
"new_path": "docs/api/covidcast-signals/_source-template.md",
"diff": "---\ntitle: SOURCE NAME\nparent: Data Sources and Signals\n-grand_parent: COVIDcast API\n+grand_parent: COVIDcast Epidata API\n---\n# SOURCE... | Python | MIT License | cmu-delphi/delphi-epidata | Re-grandparent signal documentation |
123,850 | 05.11.2020 17:02:15 | 18,000 | 0637967fd21859979aa3f0258a60789700cceac8 | List geo changes to safegraph in changelog | [
{
"change_type": "MODIFY",
"old_path": "docs/api/covidcast-signals/safegraph.md",
"new_path": "docs/api/covidcast-signals/safegraph.md",
"diff": "@@ -8,8 +8,8 @@ grand_parent: COVIDcast Epidata API\n* **Source name:** `safegraph`\n* **First issued:** 23 June 2020\n-* **Number of data revisions since... | Python | MIT License | cmu-delphi/delphi-epidata | List geo changes to safegraph in changelog |
123,855 | 05.11.2020 15:14:54 | 25,200 | 2ba1bbc6c91af729e9c7f9a259ab79d478777faa | Changes to USAfacts to include geo updates | [
{
"change_type": "MODIFY",
"old_path": "docs/api/covidcast-signals/usa-facts.md",
"new_path": "docs/api/covidcast-signals/usa-facts.md",
"diff": "@@ -8,8 +8,8 @@ grand_parent: COVIDcast API\n{: .no_toc}\n* **Source name:** `usa-facts`\n-* **Number of data revisions since 19 May 2020:** 1\n-* **Date ... | Python | MIT License | cmu-delphi/delphi-epidata | Changes to USAfacts to include geo updates |
123,850 | 05.11.2020 17:25:28 | 18,000 | 3a7c2aeb7a6c98f2dd22feae9b790dfc29d51e53 | Use safegraph-specific geo aggregation reference | [
{
"change_type": "MODIFY",
"old_path": "docs/api/covidcast_changelog.md",
"new_path": "docs/api/covidcast_changelog.md",
"diff": "@@ -89,7 +89,7 @@ We went from a custom geo mapping file (for aggregating from zip->(county, msa,\n### `safegraph`\n#### 3 November 2020\n-We went from a custom geo mappi... | Python | MIT License | cmu-delphi/delphi-epidata | Use safegraph-specific geo aggregation reference |
123,850 | 05.11.2020 17:27:14 | 18,000 | 183b98ccba71be06543e71bee344a47633b6e8da | Use usafacts-specific geo reference | [
{
"change_type": "MODIFY",
"old_path": "docs/api/covidcast_changelog.md",
"new_path": "docs/api/covidcast_changelog.md",
"diff": "@@ -89,7 +89,7 @@ We went from a custom (using a zip->(county, msa, hrr, state)) to a central geo\n### `usa-facts`\n#### 3 November 2020\n-We went from a custom geo mappi... | Python | MIT License | cmu-delphi/delphi-epidata | Use usafacts-specific geo reference |
123,853 | 06.11.2020 11:35:38 | 18,000 | 1b3cbdf79dd1d88ec4e8aa2335c6884c75366a14 | Mention smoothed signals closer to raw signal discussion
Raw signals are not listed for the other indicators, so we only need
this comment for the CLI/ILI signals. | [
{
"change_type": "MODIFY",
"old_path": "docs/api/covidcast-signals/fb-survey.md",
"new_path": "docs/api/covidcast-signals/fb-survey.md",
"diff": "@@ -30,13 +30,6 @@ described in the sections below:\n3. [Testing indicators](#testing-indicators) based on respondent reporting of\ntheir COVID test resul... | Python | MIT License | cmu-delphi/delphi-epidata | Mention smoothed signals closer to raw signal discussion
Raw signals are not listed for the other indicators, so we only need
this comment for the CLI/ILI signals. |
123,853 | 06.11.2020 12:20:14 | 18,000 | d855a3f145ef9faca89b3a10b08c7fe6984aea85 | Suggested improvements from Dmitry | [
{
"change_type": "MODIFY",
"old_path": "docs/api/covidcast-signals/fb-survey.md",
"new_path": "docs/api/covidcast-signals/fb-survey.md",
"diff": "@@ -77,14 +77,14 @@ influenza-like illness (fever, along with cough or sore throat). Using this\nsurvey data, we estimate the percentage of people who hav... | Python | MIT License | cmu-delphi/delphi-epidata | Suggested improvements from Dmitry |
123,864 | 10.11.2020 14:07:49 | 18,000 | 642678c4ece010adf6fd3e239a1147a663380d6a | Initial API docs for changehc | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "docs/api/covidcast-signals/changehc.md",
"diff": "+---\n+title: Change Healthcare\n+parent: Data Sources and Signals\n+grand_parent: COVIDcast Epidata API\n+---\n+\n+# Doctor Visits\n+{: .no_toc}\n+\n+* **Source name:** `changehc`\n+* **Number o... | Python | MIT License | cmu-delphi/delphi-epidata | Initial API docs for changehc |
123,853 | 10.11.2020 14:08:59 | 18,000 | cb4db39a5125492a1e90b41509d591bd7428decf | Update docs/api/covidcast-signals/fb-survey.md
Suggested by | [
{
"change_type": "MODIFY",
"old_path": "docs/api/covidcast-signals/fb-survey.md",
"new_path": "docs/api/covidcast-signals/fb-survey.md",
"diff": "@@ -108,7 +108,7 @@ can be asymptomatic. Instead, we expect these indicators to be useful for\ncomparison across the United States and across time, to det... | Python | MIT License | cmu-delphi/delphi-epidata | Update docs/api/covidcast-signals/fb-survey.md
Suggested by @Akvannortwick |
123,864 | 10.11.2020 16:13:13 | 18,000 | 1a95332c0ff14781c820932746a4c6997364080d | CHC description | [
{
"change_type": "MODIFY",
"old_path": "docs/api/covidcast-signals/changehc.md",
"new_path": "docs/api/covidcast-signals/changehc.md",
"diff": "@@ -12,8 +12,10 @@ grand_parent: COVIDcast Epidata API\n* **Date of last change:** Never\n* **Available for:** county, hrr, msa, state (see [geography codin... | Python | MIT License | cmu-delphi/delphi-epidata | CHC description |
123,864 | 10.11.2020 16:16:33 | 18,000 | 01ae787a7ac7eb6bb47c44228ed5f9f950b1dcec | Remove SE definition | [
{
"change_type": "MODIFY",
"old_path": "docs/api/covidcast-signals/changehc.md",
"new_path": "docs/api/covidcast-signals/changehc.md",
"diff": "@@ -80,15 +80,6 @@ $$\n\\hat p_{it} = 100 \\cdot \\frac{Y_{it}}{N_{it}}\n$$\n-The estimated standard error is:\n-\n-$$\n-\\widehat{\\text{se}}(\\hat{p}_{it}... | Python | MIT License | cmu-delphi/delphi-epidata | Remove SE definition |
123,850 | 10.11.2020 16:21:13 | 18,000 | 2c58a05ccac588bb31fc01cc37a28eed52c7aa27 | CHC docs: remove reference to SE | [
{
"change_type": "MODIFY",
"old_path": "docs/api/covidcast-signals/changehc.md",
"new_path": "docs/api/covidcast-signals/changehc.md",
"diff": "@@ -149,5 +149,4 @@ working backwards through time. The threshold is set at 100 observations.\nTo help with variability, we also employ a local linear regre... | Python | MIT License | cmu-delphi/delphi-epidata | CHC docs: remove reference to SE |
123,855 | 11.11.2020 08:32:29 | 25,200 | 8464377771b78054edc95e8dfd0a47d2b5e01661 | Update Changelog for DV | [
{
"change_type": "MODIFY",
"old_path": "docs/api/covidcast-signals/doctor-visits.md",
"new_path": "docs/api/covidcast-signals/doctor-visits.md",
"diff": "@@ -8,8 +8,8 @@ grand_parent: COVIDcast API\n{: .no_toc}\n* **Source name:** `doctor-visits`\n-* **Number of data revisions since 19 May 2020:** 0... | Python | MIT License | cmu-delphi/delphi-epidata | Update Changelog for DV |
123,864 | 11.11.2020 12:45:17 | 18,000 | 2868da7effc26a626ec165a4f690b723f829ab3a | Replace $ to 1359 | [
{
"change_type": "MODIFY",
"old_path": "docs/api/covidcast-signals/changehc.md",
"new_path": "docs/api/covidcast-signals/changehc.md",
"diff": "@@ -71,8 +71,8 @@ We receive data on the following two categories of counts:\n### COVID-Like Illness\n-For a fixed location $i$ and time $t$, let $Y_{it}$\n... | Python | MIT License | cmu-delphi/delphi-epidata | Replace $ to 1359 |
123,864 | 11.11.2020 13:33:04 | 18,000 | 10abf74335b5338fb83c8f74acab1664526f25c7 | Change signal name again | [
{
"change_type": "MODIFY",
"old_path": "docs/api/covidcast-signals/changehc.md",
"new_path": "docs/api/covidcast-signals/changehc.md",
"diff": "@@ -21,8 +21,8 @@ percentage of COVID-related doctor's visits in a given location, on a given day.\n| Signal | Description |\n| --- | --- |\n-| `smoothed_co... | Python | MIT License | cmu-delphi/delphi-epidata | Change signal name again |
123,853 | 11.11.2020 18:37:30 | 18,000 | 75f3e4748c4b3db5579cf612ec975f9d199d8a97 | Compress CSV responses from the API
added format=csv, but these responses are not currently compressed like JSON responses are.
I'd like to switch to CSV format in the R client, so compression is important to add here. | [
{
"change_type": "MODIFY",
"old_path": "src/server/.htaccess",
"new_path": "src/server/.htaccess",
"diff": "@@ -3,10 +3,10 @@ Header set Access-Control-Allow-Origin \"*\"\n# Compress API responses\n<IfModule mod_deflate.c>\n- AddOutputFilterByType DEFLATE application/json\n+ AddOutputFilterByType DE... | Python | MIT License | cmu-delphi/delphi-epidata | Compress CSV responses from the API
#210 added format=csv, but these responses are not currently compressed like JSON responses are.
I'd like to switch to CSV format in the R client, so compression is important to add here. |
123,866 | 13.11.2020 08:15:46 | 25,200 | 08454a30beaec2f22345e709287131ae8c31ecba | Updated suggestion docs/api/covidcast_changelog.md | [
{
"change_type": "MODIFY",
"old_path": "docs/api/covidcast_changelog.md",
"new_path": "docs/api/covidcast_changelog.md",
"diff": "@@ -26,7 +26,7 @@ changes, data corrections, and other information relevant to API users.\n## Sources and Signals\n### `doctor-visits`\n#### 9 November 2020\n-We went fro... | Python | MIT License | cmu-delphi/delphi-epidata | Updated suggestion docs/api/covidcast_changelog.md
Co-authored-by: Katie Mazaitis <krivard@cs.cmu.edu> |
123,850 | 13.11.2020 13:09:53 | 18,000 | 688b27b15e280730e89bb626b58a8d9080ae5ae3 | Remove ChangeHC source | [
{
"change_type": "DELETE",
"old_path": "docs/api/covidcast-signals/changehc.md",
"new_path": null,
"diff": "----\n-title: Change Healthcare\n-parent: Data Sources and Signals\n-grand_parent: COVIDcast Epidata API\n----\n-\n-# Change Healthcare\n-{: .no_toc}\n-\n-* **Source name:** `changehc`\n-* **F... | Python | MIT License | cmu-delphi/delphi-epidata | Remove ChangeHC source |
123,853 | 17.11.2020 17:53:43 | 18,000 | 3b1032422f4878afb1f2ba7f74b0aed9e0006102 | Expand survey documentation site
Include information on how to get data access, how to sign up for our
monthly meetings, and how to load data correctly in R. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "docs/symptom-survey/data-access.md",
"diff": "+---\n+title: Getting Data Access\n+parent: COVID Symptom Survey\n+nav_order: 0\n+---\n+\n+# Getting Data Access\n+\n+The Delphi Research Group at Carnegie Mellon University (CMU), in partnership\n+w... | Python | MIT License | cmu-delphi/delphi-epidata | Expand survey documentation site
Include information on how to get data access, how to sign up for our
monthly meetings, and how to load data correctly in R. |
123,850 | 18.11.2020 11:18:02 | 18,000 | df7fdc91d5979c17ad2c7051c705ed6a256efd62 | Updates to data licensing / terms language | [
{
"change_type": "MODIFY",
"old_path": "docs/api/README.md",
"new_path": "docs/api/README.md",
"diff": "@@ -37,17 +37,15 @@ like to cite it, we would gratefully recommend the following copy:\n## Data licensing\n-The majority of the data surfaced through this API is more or less just a\n-carefully cu... | Python | MIT License | cmu-delphi/delphi-epidata | Updates to data licensing / terms language |
123,850 | 18.11.2020 13:54:29 | 18,000 | a80a54c66ca716f1467e1e28e3ba964545c46e19 | Add separate licensing page for COVIDcast data | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "docs/api/covidcast_licensing.md",
"diff": "+---\n+title: COVIDcast Data Licensing\n+parent: COVIDcast Epidata API\n+nav_order: 2\n+---\n+\n+# Licensing for Delphi's COVID-19 Data Streams\n+\n+## Novel Data\n+\n+These data streams include data pr... | Python | MIT License | cmu-delphi/delphi-epidata | Add separate licensing page for COVIDcast data |
123,855 | 18.11.2020 12:50:43 | 25,200 | 32d23fba0b565050ba485e4d7f2a247d695f2dd2 | Restructure-Licensing-on-covidcast-md
Based on my discussion with Katie | [
{
"change_type": "MODIFY",
"old_path": "docs/api/covidcast.md",
"new_path": "docs/api/covidcast.md",
"diff": "@@ -17,13 +17,6 @@ partners. The API allows users to select specific signals and download data for\nselected geographical areas---counties, states, metropolitan statistical areas,\nand other... | Python | MIT License | cmu-delphi/delphi-epidata | Restructure-Licensing-on-covidcast-md
Based on my discussion with Katie |
123,859 | 18.11.2020 14:17:17 | 21,600 | b5a79dbc00d7829bef88ef5b2dce4411fa421b76 | [covid_hosp] network abstraction
extract out all the parts that make network calls
this class will be swapped out with a mock in unit and integration
tests to prevent hitting real external services during testing
tests included | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/acquisition/covid_hosp/network.py",
"diff": "+# third party\n+import pandas\n+import requests\n+\n+\n+class Network:\n+\n+ METADATA_URL = (\n+ 'https://healthdata.gov/api/3/action/package_show'\n+ '?id=83b4a668-9321-4d8c-bc4f-2bef66c49050&pa... | Python | MIT License | cmu-delphi/delphi-epidata | [covid_hosp] network abstraction
- extract out all the parts that make network calls
- this class will be swapped out with a mock in unit and integration
tests to prevent hitting real external services during testing
- tests included |
123,859 | 18.11.2020 14:22:38 | 21,600 | e90b7f1c9036bc2ecbbdbcb197d6966ff85b5ca5 | [covid_hosp] main update program
checks for new data
bails if nothing new, otherwise fetches and stores in database
tested using mocks for database and network operations, using sample
data for more realistic testing
this should be scheduled in automation, suggest 1-2 times per day
`python3 -m delphi.epidata.acquisitio... | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/acquisition/covid_hosp/update.py",
"diff": "+\"\"\"\n+Acquires the \"COVID-19 Reported Patient Impact and Hospital Capacity by State\n+Timeseries\" dataset provided by the US Department of Health & Human Services\n+via healthdata.gov.\n+\"\"... | Python | MIT License | cmu-delphi/delphi-epidata | [covid_hosp] main update program
- checks for new data
- bails if nothing new, otherwise fetches and stores in database
- tested using mocks for database and network operations, using sample
data for more realistic testing
- this should be scheduled in automation, suggest 1-2 times per day
`python3 -m delphi.epidata... |
123,859 | 18.11.2020 14:25:37 | 21,600 | beb76e3bcb710a9e05e0d8c13d5c6422eb5e28a7 | [covid_hosp] deploy acquisition sources
after this commit, acquisition can be scheduled in automation | [
{
"change_type": "MODIFY",
"old_path": "deploy.json",
"new_path": "deploy.json",
"diff": "\"dst\": \"/common/covidcast/README.md\"\n},\n+ \"// acquisition - covid_hosp\",\n+ {\n+ \"type\": \"move\",\n+ \"src\": \"src/acquisition/covid_hosp/\",\n+ \"dst\": \"[[package]]/acquisition/covid_hosp/\",\n+ ... | Python | MIT License | cmu-delphi/delphi-epidata | [covid_hosp] deploy acquisition sources
- after this commit, acquisition can be scheduled in automation |
123,859 | 18.11.2020 14:25:42 | 21,600 | d8312ca079492fd69f54e2cc77502f16997bdec8 | [covid_hosp] server api implementation
just another data source, following all the same conventions as before
wow there are so many columns in this dataset...
tests to follow shortly, after the api clients are updated | [
{
"change_type": "MODIFY",
"old_path": "src/server/api.php",
"new_path": "src/server/api.php",
"diff": "@@ -1072,6 +1072,153 @@ function get_covidcast_meta() {\nreturn $has_values ? $epidata : null;\n}\n+// queries the `covid_hosp` table\n+// $states (required): array of state abbreviations\n+// $da... | Python | MIT License | cmu-delphi/delphi-epidata | [covid_hosp] server api implementation
- just another data source, following all the same conventions as before
- wow there are so many columns in this dataset...
- tests to follow shortly, after the api clients are updated |
123,859 | 18.11.2020 14:30:54 | 21,600 | 28015fe541953c5d1dfb5f9bd262606402cf484d | [covid_hosp] integration tests
tests server-side api behavior, like handling of versioning (issues)
tests acquisition "pipeline", which uses test data to download and
store a dataset | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "integrations/acquisition/covid_hosp/test_scenarios.py",
"diff": "+\"\"\"Integration tests for acquisition of COVID hospitalization.\"\"\"\n+\n+# standard library\n+from pathlib import Path\n+import unittest\n+from unittest.mock import MagicMock\... | Python | MIT License | cmu-delphi/delphi-epidata | [covid_hosp] integration tests
- tests server-side api behavior, like handling of versioning (issues)
- tests acquisition "pipeline", which uses test data to download and
store a dataset |
123,859 | 18.11.2020 14:31:49 | 21,600 | 3ace7d79a0424efa54cf13f0b470023abd7b54c9 | [covid_hosp] api documentation
adds new page for the `covid_hosp` endpoint
adds entry in the parent readme for this new covid-19 data source | [
{
"change_type": "MODIFY",
"old_path": "docs/api/README.md",
"new_path": "docs/api/README.md",
"diff": "@@ -98,6 +98,7 @@ The parameters available for each source are documented in each linked source-sp\n| --- | --- | --- | --- |\n| [`covidcast`](covidcast.md) | COVIDCast | Delphi's COVID-19 surveil... | Python | MIT License | cmu-delphi/delphi-epidata | [covid_hosp] api documentation
- adds new page for the `covid_hosp` endpoint
- adds entry in the parent readme for this new covid-19 data source |
123,859 | 18.11.2020 15:37:19 | 21,600 | ebfa6162883a16cdc4acb7a15610859f03fe9a9e | Update integrations/acquisition/covid_hosp/test_scenarios.py
committing suggestion from | [
{
"change_type": "MODIFY",
"old_path": "integrations/acquisition/covid_hosp/test_scenarios.py",
"new_path": "integrations/acquisition/covid_hosp/test_scenarios.py",
"diff": "@@ -69,7 +69,7 @@ class AcquisitionTests(unittest.TestCase):\nself.assertEqual(row['hospital_onset_covid'], 53)\nactual = row[... | Python | MIT License | cmu-delphi/delphi-epidata | Update integrations/acquisition/covid_hosp/test_scenarios.py
committing suggestion from @krivard
Co-authored-by: Katie Mazaitis <krivard@cs.cmu.edu> |
123,859 | 18.11.2020 15:41:42 | 21,600 | 1818a7cfdf4c1e144c8f09993e4013398e95e187 | use assertAlmostEqual
use built-in fuzzy comparison instead of taking abs and less than | [
{
"change_type": "MODIFY",
"old_path": "integrations/acquisition/covid_hosp/test_scenarios.py",
"new_path": "integrations/acquisition/covid_hosp/test_scenarios.py",
"diff": "@@ -69,7 +69,7 @@ class AcquisitionTests(unittest.TestCase):\nself.assertEqual(row['hospital_onset_covid'], 53)\nactual = row[... | Python | MIT License | cmu-delphi/delphi-epidata | use assertAlmostEqual
- use built-in fuzzy comparison instead of taking abs and less than |
123,859 | 18.11.2020 15:47:15 | 21,600 | 3e9e63063979ca4dfc7499dce834ab28450413ef | remove comment about changed names
these names aren't actually changed | [
{
"change_type": "MODIFY",
"old_path": "src/ddl/covid_hosp.sql",
"new_path": "src/ddl/covid_hosp.sql",
"diff": "@@ -132,10 +132,6 @@ staffed_icu_adult_patients_confirmed_and_suspected_covid ->\nstaffed_icu_adult_patients_confirmed_suspected_covid\nstaffed_icu_adult_patients_confirmed_and_suspected_c... | Python | MIT License | cmu-delphi/delphi-epidata | remove comment about changed names
- these names aren't actually changed |
123,850 | 18.11.2020 16:52:53 | 18,000 | 02f7231c1bc0068432d4e4881082db480cce234c | List license for each COVIDcast source | [
{
"change_type": "MODIFY",
"old_path": "docs/api/covidcast-signals/_source-template.md",
"new_path": "docs/api/covidcast-signals/_source-template.md",
"diff": "@@ -12,6 +12,7 @@ grand_parent: COVIDcast Epidata API\n* **Number of data revisions since 19 May 2020:** 0\n* **Date of last change:** Never... | Python | MIT License | cmu-delphi/delphi-epidata | List license for each COVIDcast source |
123,850 | 18.11.2020 17:06:34 | 18,000 | 124c89aab892de3a146eaeaced1f4831522828cb | Reduce verbiage in covidcast licensing exception | [
{
"change_type": "MODIFY",
"old_path": "docs/api/covidcast.md",
"new_path": "docs/api/covidcast.md",
"diff": "@@ -35,8 +35,7 @@ href=\"https://lists.andrew.cmu.edu/mailman/listinfo/delphi-covidcast-api\">subscr\n{:toc}\n## Licensing\n-Our CovidCast data is freely available under our [licensing](READ... | Python | MIT License | cmu-delphi/delphi-epidata | Reduce verbiage in covidcast licensing exception
Co-authored-by: Akvannortwick <46731209+Akvannortwick@users.noreply.github.com> |
123,850 | 18.11.2020 17:18:20 | 18,000 | 99da54f0c11ab50e3c9f16ac0c553a625413f79a | Correct spelling for CC license abbreviations | [
{
"change_type": "MODIFY",
"old_path": "docs/api/covidcast-signals/doctor-visits.md",
"new_path": "docs/api/covidcast-signals/doctor-visits.md",
"diff": "@@ -11,7 +11,7 @@ grand_parent: COVIDcast Epidata API\n* **Number of data revisions since 19 May 2020:** 1\n* **Date of last change:** 9 November ... | Python | MIT License | cmu-delphi/delphi-epidata | Correct spelling for CC license abbreviations |
123,850 | 18.11.2020 17:20:49 | 18,000 | 251c236b2a1f365f42737e97d9776687d0a800e4 | One more CC license fix | [
{
"change_type": "MODIFY",
"old_path": "docs/api/README.md",
"new_path": "docs/api/README.md",
"diff": "@@ -43,7 +43,7 @@ licensing, where applicable.\nAny data which is produced novelly by Delphi and is intentionally and openly\nsurfaced by Delphi through this API is hereby licensed\n-[CC-BY](https... | Python | MIT License | cmu-delphi/delphi-epidata | One more CC license fix |
123,850 | 16.11.2020 09:51:37 | 18,000 | 67e0e2df5783ab1369c584d3fd3e6c06d1bb8cfd | Renamed Change Healthcare source and left a placeholder for more detailed licensing information. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "docs/api/covidcast-signals/chng.md",
"diff": "+---\n+title: Change Healthcare\n+parent: Data Sources and Signals\n+grand_parent: COVIDcast Epidata API\n+---\n+\n+# Change Healthcare\n+{: .no_toc}\n+\n+* **Source name:** `chng`\n+* **First issued... | Python | MIT License | cmu-delphi/delphi-epidata | Renamed Change Healthcare source and left a placeholder for more detailed licensing information. |
123,850 | 18.11.2020 17:16:48 | 18,000 | f8826f879dfb817bb09d09b85bd0ed82a30f76aa | Use license field in header that will eventually be merged in | [
{
"change_type": "MODIFY",
"old_path": "docs/api/covidcast-signals/chng.md",
"new_path": "docs/api/covidcast-signals/chng.md",
"diff": "@@ -12,13 +12,15 @@ grand_parent: COVIDcast Epidata API\n* **Number of data revisions since 19 May 2020:** 0\n* **Date of last change:** Never\n* **Available for:**... | Python | MIT License | cmu-delphi/delphi-epidata | Use license field in header that will eventually be merged in #290 |
123,859 | 19.11.2020 10:49:50 | 21,600 | 1566e2cc150173290fdbfa79da44216631780f4a | Update src/acquisition/covid_hosp/database.py
dont hardcode column count | [
{
"change_type": "MODIFY",
"old_path": "src/acquisition/covid_hosp/database.py",
"new_path": "src/acquisition/covid_hosp/database.py",
"diff": "@@ -193,7 +193,7 @@ class Database:\n# the database requires `nan` to be converted to `None` for `NULL` values\ndataframe = dataframe.replace({math.nan: Non... | Python | MIT License | cmu-delphi/delphi-epidata | Update src/acquisition/covid_hosp/database.py
dont hardcode column count
Co-authored-by: Katie Mazaitis <krivard@cs.cmu.edu> |
123,853 | 19.11.2020 14:12:05 | 18,000 | 3572ad6db96d3b53c45760c26ad89705aaa00ffe | Reorder survey nav | [
{
"change_type": "MODIFY",
"old_path": "docs/symptom-survey/coding.md",
"new_path": "docs/symptom-survey/coding.md",
"diff": "---\ntitle: Questions and Coding\nparent: COVID Symptom Survey\n-nav_order: 3\n+nav_order: 5\n---\n# Questions and Coding\n"
},
{
"change_type": "MODIFY",
"old_pa... | Python | MIT License | cmu-delphi/delphi-epidata | Reorder survey nav |
123,853 | 19.11.2020 14:21:08 | 18,000 | 4d294128c0f41db8c982fa4672ccde549dd1fb7b | Add Wave 5 draft changelog | [
{
"change_type": "ADD",
"old_path": "docs/symptom-survey/waves/Survey_of_COVID-Like_Illness_-_Wave_5.pdf",
"new_path": "docs/symptom-survey/waves/Survey_of_COVID-Like_Illness_-_Wave_5.pdf",
"diff": "Binary files /dev/null and b/docs/symptom-survey/waves/Survey_of_COVID-Like_Illness_-_Wave_5.pdf diff... | Python | MIT License | cmu-delphi/delphi-epidata | Add Wave 5 draft changelog |
123,859 | 19.11.2020 13:34:10 | 21,600 | de04025870e0ce6d882d85019c51ebf15c7816c8 | fix linter warning
line was too long, split up | [
{
"change_type": "MODIFY",
"old_path": "src/acquisition/covid_hosp/database.py",
"new_path": "src/acquisition/covid_hosp/database.py",
"diff": "@@ -193,7 +193,8 @@ class Database:\n# the database requires `nan` to be converted to `None` for `NULL` values\ndataframe = dataframe.replace({math.nan: Non... | Python | MIT License | cmu-delphi/delphi-epidata | fix linter warning
- line was too long, split up |
123,850 | 19.11.2020 15:24:18 | 18,000 | ba0fe18fcf0cf2d4345cd1ec77b6ea7ec34a8dfb | Direct CHNG license link to covidcast_licensing instead of directly to (the wrong version of) CC | [
{
"change_type": "MODIFY",
"old_path": "docs/api/covidcast-signals/chng.md",
"new_path": "docs/api/covidcast-signals/chng.md",
"diff": "@@ -12,7 +12,7 @@ grand_parent: COVIDcast Epidata API\n* **Number of data revisions since 19 May 2020:** 0\n* **Date of last change:** Never\n* **Available for:** c... | Python | MIT License | cmu-delphi/delphi-epidata | Direct CHNG license link to covidcast_licensing instead of directly to (the wrong version of) CC |
123,850 | 20.11.2020 17:04:39 | 18,000 | 18af557b96d2b1fb166a9dda46c76969a46b5736 | delphi_epidata PyPI version bump | [
{
"change_type": "MODIFY",
"old_path": "src/client/packaging/pypi/delphi_epidata/__init__.py",
"new_path": "src/client/packaging/pypi/delphi_epidata/__init__.py",
"diff": "from .delphi_epidata import Epidata\nname = 'delphi_epidata'\n-__version__ = '0.0.7'\n+__version__ = '0.0.8'\n"
},
{
"ch... | Python | MIT License | cmu-delphi/delphi-epidata | delphi_epidata PyPI version bump |
123,853 | 23.11.2020 11:49:59 | 18,000 | 81520fc465237687c96e8598b29190544d5a1f49 | Clarify licensing page
Say specifically how we'd like to be cited.
Use data source names clearly.
Reformat. | [
{
"change_type": "MODIFY",
"old_path": "docs/api/covidcast_licensing.md",
"new_path": "docs/api/covidcast_licensing.md",
"diff": "@@ -6,51 +6,63 @@ nav_order: 2\n# Licensing for Delphi's COVID-19 Data Streams\n+When you use data from Delphi's COVIDcast Epidata API, we ask that you attribute\n+the so... | Python | MIT License | cmu-delphi/delphi-epidata | Clarify licensing page
- Say specifically how we'd like to be cited.
- Use data source names clearly.
- Reformat. |
123,853 | 23.11.2020 11:50:21 | 18,000 | 1f38a2fc6ebd3455c7b97ea967a064a49e80b598 | Give JHU's preferred attribution explicitly | [
{
"change_type": "MODIFY",
"old_path": "docs/api/covidcast-signals/jhu-csse.md",
"new_path": "docs/api/covidcast-signals/jhu-csse.md",
"diff": "@@ -125,4 +125,9 @@ properly.\nThis data set is republished from the COVID-19 Data Repository by the Center for\nSystems Science and Engineering (CSSE) at J... | Python | MIT License | cmu-delphi/delphi-epidata | Give JHU's preferred attribution explicitly |
123,853 | 23.11.2020 11:50:33 | 18,000 | ef53cbe739861b94e7e22ee95cf2137809661f96 | Link to USAFacts in citation | [
{
"change_type": "MODIFY",
"old_path": "docs/api/covidcast-signals/usa-facts.md",
"new_path": "docs/api/covidcast-signals/usa-facts.md",
"diff": "@@ -147,6 +147,7 @@ SECONDARY_FIPS = [ # generated by notebooks/create-mappings.ipynb\n## Source and Licensing\n-This data set is republished from the USA... | Python | MIT License | cmu-delphi/delphi-epidata | Link to USAFacts in citation |
123,853 | 23.11.2020 11:52:14 | 18,000 | 0bd7d0edc350ff83f566398d80643f28e08d3741 | Make it clear in template where to link the license | [
{
"change_type": "MODIFY",
"old_path": "docs/api/covidcast-signals/_source-template.md",
"new_path": "docs/api/covidcast-signals/_source-template.md",
"diff": "@@ -12,7 +12,7 @@ grand_parent: COVIDcast Epidata API\n* **Number of data revisions since 19 May 2020:** 0\n* **Date of last change:** Never... | Python | MIT License | cmu-delphi/delphi-epidata | Make it clear in template where to link the license |
123,853 | 30.11.2020 10:43:38 | 18,000 | 74190abc5d906e686ff323e3bd75fe0e8201775c | Update coding page for Wave 5 deployment | [
{
"change_type": "MODIFY",
"old_path": "docs/symptom-survey/coding.md",
"new_path": "docs/symptom-survey/coding.md",
"diff": "@@ -271,8 +271,11 @@ your protocol.\n## Wave 5\n-Wave 5 will be deployed in late November, 2020. It is available in English, as\n-well as\n+Wave 5 was deployed on November 24... | Python | MIT License | cmu-delphi/delphi-epidata | Update coding page for Wave 5 deployment |
123,867 | 10.11.2020 09:38:18 | 18,000 | 9b67091c3acc6472268a51cfc9f559cfe6f02faf | documentation update for smoothed safegraph signals | [
{
"change_type": "MODIFY",
"old_path": "docs/api/covidcast-signals/safegraph.md",
"new_path": "docs/api/covidcast-signals/safegraph.md",
"diff": "@@ -34,6 +34,10 @@ documentation](https://docs.safegraph.com/docs/social-distancing-metrics).\n| `full_time_work_prop` | The fraction of mobile devices th... | Python | MIT License | cmu-delphi/delphi-epidata | documentation update for smoothed safegraph signals |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.