Releases: cmu-delphi/epidatr
Releases · cmu-delphi/epidatr
epidatr 1.2.1
epidatr 1.2.0
Changes
- Improve handling of the
EPIDATR_USE_CACHEenvironment variable, allowing it
to be any value convertable byas.logical()and handle the case when it
can't be converted. - Support more date formats in function to convert dates to epiweeks. Use
parse_api_datesince it already supports both common formats. #276 EPIDATR_USE_CACHEonly supported exactly "TRUE" before. Now it supports all logical values and includes a warning when any value that can't be converted to logical is provided. #273missingdoesn't count default values as non-missing. If a user doesn't passgeo_valuesortime_values(both of which default to"*"inpub_covidcast), ordates(inpub_covid_hosp_state_timeseries), the missing check fails. To avoid this, just don't check missingness of those two arguments.
epidatr 1.1.1
Changes
Features
Patches
- Fixed failure when passing
as_ofvalues inDateformat to
pub_covidcastwhile caching is enabled (#259)
epidatr 1.1.0
Changes
pub_covid_hosp_state_timeseriesnow supports use of theas_ofparameter (#209).release_dateandlatest_updatefields are now parsed asDate, rather
than as text. This change impacts several endpoints.get_auth_keyrenamed toget_api_key(#181).get_api_keyno longer reads from R options and only uses environment variables (#217).pvt_twitterandpub_wikinow usetime_typeandtime_valuesargs instead of mutually exclusivedatesandepiweeks(#236). This matches the interface of thepub_covidcastendpoint.- Updated the default
timeout_secondsto 15 minutes to allow large queries by default.
Features
- Function reference now displays commonly-used functions first (#205).
- Support
Dateobjects passed to version argumentsas_ofandissuesin
endpoints (#192, #194). clear_cachenow handles positional arguments just likeset_cache(#197).set_api_keynow available to help persist API key environment variables (#181, #217).- All endpoints now support the use of "*" as a wildcard to fetch all dates or epiweeks (#234).
Patches
- Endpoints now fail when passed misspelled arguments (#187, #201).
pub_fluview_metafixed tofetchthe response automatically.pub_covid_hosp_state_timeseriesnow correctly parses theissuefield,
instead of returning a missing value (#202).- In
pub_fluview_meta,latest_issuefield is now parsed as epiweek, rather
than being parsed asDateand returning a missing value. set_cachecache size no longer runs into integer overflow (#189).- Improve line-wrapping of warning messages (#191).
- Fix documentation related to CRAN submission.
- Fix some errors from passing "" as a key.
- Fixed bug with NAs when parsing ints (#243).
v1.0.0
- #173 A few more fixes for release
- #172 Cran checklist
- #171 Cleanup cleanup
- #170 Cleanup
- #168 docs+feat+lint: final polish
- #153 add caching
- #167 refactor: use tibbles for metadata printing
- #166 docs: make friendly
- #165 pkg: update CONTRIBUTORS
- #156 refactor: `fetch` by default
- #150 Fix minor typo in documentation
- #149 Docs review
- #146 fix: covidcast_epidata
- #142 docs: return badge links to README
- #141 Quidel endpoint only serves flu data
- #140 docs: move developer info from main page to article
- #138 bug: fix authors field, update license holders
- #137 docs: clean main vignette, update authors
- #136 bug: missing tibble import
- #135 feat: clean README, move changelog to NEWS
- #134 CI: stop building pkgdown on forks
- #133 Version bump
- #132 Extreme requests
- #131 Api keys
- #126 docs: actual example for `pvt_norostat`
- #125 Internals docs
- #123 ci: set DELPHI_EPIDATA_KEY, from a GitHub Secret
- #122 docs: add links to API key registration
- #118 Extending tests
- #121 ci(ci)+fix(api limit): refactor to use latest actions and workaround api key warning
- #120 patch: include actual API key location
- #115 refactor(epidatacall): remove `fetch_csv` and use `testthat` mocking
- #113 first pass endpoints vignette (for closing #96) (take 2)
- #116 gh: update codeowners
- #111 docs: note `fetch_*` -> `fetch` breaking change in README.md, bump version
- #99 Consolidate `fetch` interfaces
- #107 excise afhsb and afhsb_meta, they're not upstream
- #105 update base url to `api.delphi.cmu.edu`
- #103 update base url to reference `api.covidcast.cmu.edu/epidata`
- #101 Allow "*" as a timeset, update roxygen, tests
- #26 Make endpoint arg order consistent: geo, time
- #89 Update check functions for clarity and add tests
- #81 docs+dep: another pass and remove fetch_df
- #79 feat: add auth functions and add arg to covidcast
- #80 Re-`document()` + check & host docs from `dev` branch
- #75 Update documentation, remove endpoint not yet served
- #78 ci: add docs building and hosting
- #77 Another documentation pass
- #74 Address a few bugs
- #56 change from devtools to remotes for install instructions.
- #23 Documentation update pass
- #45 Set up CODEOWNERS
- #42 Apply rename and slightly adjust format of User-Agent
- #41 Fix some remaining references to old repo&pkg names
- #40 Update URL to (renamed) python client package
- #39 Perform package rename from `delphi.epidata` to `epidatr`
- #38 Add rename notice to README.md, remove non-working CRAN install cmd
- #30 Fix `pvt_twitter` and `wiki` fetch_classic bug
- #25 Fix covid_hosp_facility arg requirements
- #27 Minor lints
- #18 Track current documentation in git
- #14 Fix typo in .Rbuildignore blocking doc&install
🚀 Features
- #12 add covidcast meta wrapper
📕 Documentation
- #155 Djm/endpointfun
🧰 Development
- #155 Djm/endpointfun
Thanks to @brookslogan, @capnrefsmmat, @dajmcdon, @dshemetov, @dsweber2, @keanmingtan, @krivard, @lcbrooks, @melange396, @sgratzl, @willtownes and dsweber2