Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 4.1.34
current_version = 4.1.35
commit = False
tag = False

Expand Down
2 changes: 1 addition & 1 deletion dev/docker/python/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.8-buster
FROM python:3.8-bookworm

RUN apt-get update && apt-get install -y r-base && Rscript -e "install.packages(c('httr','xml2'))"

Expand Down
2 changes: 1 addition & 1 deletion dev/local/setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = Delphi Development
version = 4.1.34
version = 4.1.35

[options]
packages =
Expand Down
4 changes: 2 additions & 2 deletions docs/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -207,14 +207,14 @@ GEM
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.3.6)
mini_portile2 (2.8.8)
mini_portile2 (2.8.9)
minima (2.5.1)
jekyll (>= 3.5, < 5.0)
jekyll-feed (~> 0.9)
jekyll-seo-tag (~> 2.1)
minitest (5.17.0)
multipart-post (2.1.1)
nokogiri (1.18.8)
nokogiri (1.18.9)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
octokit (4.20.0)
Expand Down
18 changes: 18 additions & 0 deletions integrations/server/test_covidcast_endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@

from delphi.epidata.maintenance.covidcast_meta_cache_updater import main as update_cache
from delphi.epidata.acquisition.covidcast.test_utils import CovidcastBase, CovidcastTestRow
from delphi.epidata.maintenance.coverage_crossref_updater import main as update_crossref


# use the local instance of the Epidata API
BASE_URL = "http://delphi_web_epidata/epidata/covidcast"
Expand Down Expand Up @@ -385,3 +387,19 @@ def test_coverage(self):
with self.subTest("invalid geo_type"):
out = self._fetch("/coverage", signal=first.signal_pair(), geo_type="doesnt_exist", format="json")
self.assertEqual(len(out), 0)

def test_geo_indicator_coverage(self):
"""Request a geo_type:geo_value from the /geo_indicator_coverage endpoint."""

self._insert_rows([
CovidcastTestRow.make_default_row(geo_type="state", geo_value="pa"),
CovidcastTestRow.make_default_row(geo_type="state", geo_value="ny"),
CovidcastTestRow.make_default_row(geo_type="state", geo_value="ny", signal="sig2"),
])

update_crossref()

out = self._fetch("/geo_indicator_coverage", data_source="src", signals="sig")
self.assertEqual(len(out["epidata"]), 2)
self.assertEqual(out["epidata"], ['state:ny', 'state:pa'])

2 changes: 1 addition & 1 deletion src/client/delphi_epidata.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Epidata <- (function() {
# API base url
BASE_URL <- getOption('epidata.url', default = 'https://api.delphi.cmu.edu/epidata/')

client_version <- '4.1.34'
client_version <- '4.1.35'

auth <- getOption("epidata.auth", default = NA)

Expand Down
2 changes: 1 addition & 1 deletion src/client/delphi_epidata.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
}
})(this, function (exports, fetchImpl, jQuery) {
const BASE_URL = "https://api.delphi.cmu.edu/epidata/";
const client_version = "4.1.34";
const client_version = "4.1.35";

// Helper function to cast values and/or ranges to strings
function _listitem(value) {
Expand Down
Loading