@@ -371,39 +371,6 @@ Epidata <- (function() {
371371 return (.request(params ))
372372 }
373373
374- # Fetch AFHSB data (point data, no min/max)
375- afhsb <- function (auth , locations , epiweeks , flu_types ) {
376- # Check parameters
377- if (missing(auth ) || missing(locations ) || missing(epiweeks ) || missing(flu_types )) {
378- stop(' `auth`, `locations`, `epiweeks` and `flu_types` are all required' )
379- }
380- # Set up request
381- params <- list (
382- endpoint = ' afhsb' ,
383- auth = auth ,
384- locations = .list(locations ),
385- epiweeks = .list(epiweeks ),
386- flu_types = .list(flu_types )
387- )
388- # Make the API call
389- return (.request(params ))
390- }
391-
392- # Fetch AFHSB metadata
393- meta_afhsb <- function (auth ) {
394- # Check parameters
395- if (missing(auth )) {
396- stop(' `auth` is required' )
397- }
398- # Set up request
399- params <- list (
400- endpoint = ' meta_afhsb' ,
401- auth = auth
402- )
403- # Make the API call
404- return (.request(params ))
405- }
406-
407374 # Fetch NIDSS flu data
408375 nidss.flu <- function (regions , epiweeks , issues , lag ) {
409376 # Check parameters
@@ -662,8 +629,6 @@ Epidata <- (function() {
662629 quidel = quidel ,
663630 norostat = norostat ,
664631 meta_norostat = meta_norostat ,
665- afhsb = afhsb ,
666- meta_afhsb = meta_afhsb ,
667632 nidss.flu = nidss.flu ,
668633 nidss.dengue = nidss.dengue ,
669634 delphi = delphi ,
0 commit comments