

{"id":12735,"date":"2020-04-11T12:46:03","date_gmt":"2020-04-11T17:46:03","guid":{"rendered":"https:\/\/rud.is\/b\/?p=12735"},"modified":"2020-04-11T12:46:03","modified_gmt":"2020-04-11T17:46:03","slug":"new-package-cdccovidview-to-work-with-the-u-s-cdcs-new-covid-19-trackers-covidview-and-covid-net","status":"publish","type":"post","link":"https:\/\/rud.is\/b\/2020\/04\/11\/new-package-cdccovidview-to-work-with-the-u-s-cdcs-new-covid-19-trackers-covidview-and-covid-net\/","title":{"rendered":"New Package \u2014\u00a0{cdccovidview} \u2014 To Work with the U.S. CDC&#8217;s New COVID-19 Trackers: COVIDView and COVID-NET"},"content":{"rendered":"<p>The United States Centers for Disease Control (CDC from now on) has setup two new public surveillance resources for COVID-19. Together, <a href=\"https:\/\/www.cdc.gov\/coronavirus\/2019-ncov\/covid-data\/covidview\/index.html\">COVIDView<\/a> and <a href=\"https:\/\/gis.cdc.gov\/grasp\/COVIDNet\/COVID19_3.html\">COVID-NET<\/a> provide similar weekly surveillance data as <a href=\"https:\/\/www.cdc.gov\/flu\/weekly\/index.htm\">FluView<\/a> does for influenza-like illnesses (ILI).<\/p>\n<p>The COVIDView resources are HTML tables (O_O) and, while the COVID-NET interface provides a &#8220;download&#8221; button, there is no exposed API to make it easier for the epidemiological community to work with these datasets.<\/p>\n<p>Enter {cdccovidview} \u2014 https:\/\/cinc.rud.is\/web\/packages\/cdccovidview\/ \u2014 which scrapes the tables and uses the hidden API in the same way {cdcfluview}(https:\/\/cran.rstudio.com\/web\/packages\/cdcfluview\/index.html) does for the FluView data.<\/p>\n<p>Weekly case, hospitalization, and mortality data is available at the national, state and regional levels (where provided) and I tried to normalize the fields across each of the tables\/datasets (I hate to pick on them when they&#8217;re down, but these two sites are seriously sub-optimal from a UX and just general usage perspective).<\/p>\n<p>After you follow the above URL for information on how to install the package, it should &#8220;just work&#8221;. No API keys are needed, but the CDC may change the layout of tables and fields structure of the hidden API at any time, so keep an eye out for updates.<\/p>\n<p>Using it is pretty simple, just use one of the functions to grab the data you want and then work with it.<\/p>\n<pre><code class=\"language-r\">library(cdccovidview)\nlibrary(hrbrthemes)\nlibrary(tidyverse)\n\nhosp &lt;- laboratory_confirmed_hospitalizations()\n\nhosp\n## # A tibble: 4,590 x 8\n##    catchment      network   year  mmwr_year mmwr_week age_category cumulative_rate weekly_rate\n##    &lt;chr&gt;          &lt;chr&gt;     &lt;chr&gt; &lt;chr&gt;     &lt;chr&gt;     &lt;chr&gt;                  &lt;dbl&gt;       &lt;dbl&gt;\n##  1 Entire Network COVID-NET 2020  2020      10        0-4 yr                   0           0  \n##  2 Entire Network COVID-NET 2020  2020      11        0-4 yr                   0           0  \n##  3 Entire Network COVID-NET 2020  2020      12        0-4 yr                   0           0  \n##  4 Entire Network COVID-NET 2020  2020      13        0-4 yr                   0.3         0.3\n##  5 Entire Network COVID-NET 2020  2020      14        0-4 yr                   0.6         0.3\n##  6 Entire Network COVID-NET 2020  2020      15        0-4 yr                  NA          NA  \n##  7 Entire Network COVID-NET 2020  2020      16        0-4 yr                  NA          NA  \n##  8 Entire Network COVID-NET 2020  2020      17        0-4 yr                  NA          NA  \n##  9 Entire Network COVID-NET 2020  2020      18        0-4 yr                  NA          NA  \n## 10 Entire Network COVID-NET 2020  2020      19        0-4 yr                  NA          NA  \n## # \u2026 with 4,580 more rows\n\nc(\n  \"0-4 yr\", \"5-17 yr\", \"18-49 yr\", \"50-64 yr\", \"65+ yr\", \"65-74 yr\", \"75-84 yr\", \"85+\"\n) -&gt; age_f\n\nmutate(hosp, start = mmwr_week_to_date(mmwr_year, mmwr_week)) %&gt;%\n  filter(!is.na(weekly_rate)) %&gt;%\n  filter(catchment == \"Entire Network\") %&gt;%\n  select(start, network, age_category, weekly_rate) %&gt;%\n  filter(age_category != \"Overall\") %&gt;%\n  mutate(age_category = factor(age_category, levels = age_f)) %&gt;%\n  ggplot() +\n  geom_line(\n    aes(start, weekly_rate)\n  ) +\n  scale_x_date(\n    date_breaks = \"2 weeks\", date_labels = \"%b\\n%d\"\n  ) +\n  facet_grid(network~age_category) +\n  labs(\n    x = NULL, y = \"Rates per 100,000 pop\",\n    title = \"COVID-NET Weekly Rates by Network and Age Group\",\n    caption = sprintf(\"Source: COVID-NET: COVID-19-Associated Hospitalization Surveillance Network, Centers for Disease Control and Prevention.\\n&lt;https:\/\/gis.cdc.gov\/grasp\/COVIDNet\/COVID19_3.html&gt;; Accessed on %s\", Sys.Date())\n  ) +\n  theme_ipsum_es(grid=\"XY\")\n<\/code><\/pre>\n<p><a href=\"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2020\/04\/cdccovidview-ex.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"12736\" data-permalink=\"https:\/\/rud.is\/b\/2020\/04\/11\/new-package-cdccovidview-to-work-with-the-u-s-cdcs-new-covid-19-trackers-covidview-and-covid-net\/cdccovidview-ex\/\" data-orig-file=\"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2020\/04\/cdccovidview-ex.png?fit=1920%2C1344&amp;ssl=1\" data-orig-size=\"1920,1344\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"cdccovidview-ex\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2020\/04\/cdccovidview-ex.png?fit=510%2C357&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2020\/04\/cdccovidview-ex.png?resize=510%2C357&#038;ssl=1\" alt=\"\" width=\"510\" height=\"357\" class=\"aligncenter size-full wp-image-12736\" srcset=\"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2020\/04\/cdccovidview-ex.png?w=1920&amp;ssl=1 1920w, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2020\/04\/cdccovidview-ex.png?resize=300%2C210&amp;ssl=1 300w, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2020\/04\/cdccovidview-ex.png?resize=530%2C371&amp;ssl=1 530w, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2020\/04\/cdccovidview-ex.png?resize=150%2C105&amp;ssl=1 150w, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2020\/04\/cdccovidview-ex.png?resize=768%2C538&amp;ssl=1 768w, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2020\/04\/cdccovidview-ex.png?resize=1536%2C1075&amp;ssl=1 1536w, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2020\/04\/cdccovidview-ex.png?resize=500%2C350&amp;ssl=1 500w, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2020\/04\/cdccovidview-ex.png?resize=1200%2C840&amp;ssl=1 1200w, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2020\/04\/cdccovidview-ex.png?resize=400%2C280&amp;ssl=1 400w, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2020\/04\/cdccovidview-ex.png?resize=800%2C560&amp;ssl=1 800w, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2020\/04\/cdccovidview-ex.png?resize=200%2C140&amp;ssl=1 200w, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2020\/04\/cdccovidview-ex.png?w=1020&amp;ssl=1 1020w\" sizes=\"auto, (max-width: 510px) 100vw, 510px\" \/><\/a><\/p>\n<h3>FIN<\/h3>\n<p>This is brand new and &#8212; as noted &#8212; things may change or break due to CDC site changes. I may have also missed a table or two (it&#8217;s a truly terrible site).<\/p>\n<p>If you notice things are missing or would like a different interface to various data endpoints, drop an issue or PR wherever you&#8217;re most comfortable.<\/p>\n<p>Stay safe!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The United States Centers for Disease Control (CDC from now on) has setup two new public surveillance resources for COVID-19. Together, COVIDView and COVID-NET provide similar weekly surveillance data as FluView does for influenza-like illnesses (ILI). The COVIDView resources are HTML tables (O_O) and, while the COVID-NET interface provides a &#8220;download&#8221; button, there is no [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":3,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":""},"categories":[91],"tags":[],"class_list":["post-12735","post","type-post","status-publish","format-standard","hentry","category-r"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>New Package \u2014\u00a0{cdccovidview} \u2014 To Work with the U.S. CDC&#039;s New COVID-19 Trackers: COVIDView and COVID-NET - rud.is<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/rud.is\/b\/2020\/04\/11\/new-package-cdccovidview-to-work-with-the-u-s-cdcs-new-covid-19-trackers-covidview-and-covid-net\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"New Package \u2014\u00a0{cdccovidview} \u2014 To Work with the U.S. CDC&#039;s New COVID-19 Trackers: COVIDView and COVID-NET - rud.is\" \/>\n<meta property=\"og:description\" content=\"The United States Centers for Disease Control (CDC from now on) has setup two new public surveillance resources for COVID-19. Together, COVIDView and COVID-NET provide similar weekly surveillance data as FluView does for influenza-like illnesses (ILI). The COVIDView resources are HTML tables (O_O) and, while the COVID-NET interface provides a &#8220;download&#8221; button, there is no [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/rud.is\/b\/2020\/04\/11\/new-package-cdccovidview-to-work-with-the-u-s-cdcs-new-covid-19-trackers-covidview-and-covid-net\/\" \/>\n<meta property=\"og:site_name\" content=\"rud.is\" \/>\n<meta property=\"article:published_time\" content=\"2020-04-11T17:46:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/rud.is\/b\/wp-content\/uploads\/2020\/04\/cdccovidview-ex.png\" \/>\n<meta name=\"author\" content=\"hrbrmstr\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"hrbrmstr\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2020\\\/04\\\/11\\\/new-package-cdccovidview-to-work-with-the-u-s-cdcs-new-covid-19-trackers-covidview-and-covid-net\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2020\\\/04\\\/11\\\/new-package-cdccovidview-to-work-with-the-u-s-cdcs-new-covid-19-trackers-covidview-and-covid-net\\\/\"},\"author\":{\"name\":\"hrbrmstr\",\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/#\\\/schema\\\/person\\\/d7cb7487ab0527447f7fda5c423ff886\"},\"headline\":\"New Package \u2014\u00a0{cdccovidview} \u2014 To Work with the U.S. CDC&#8217;s New COVID-19 Trackers: COVIDView and COVID-NET\",\"datePublished\":\"2020-04-11T17:46:03+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2020\\\/04\\\/11\\\/new-package-cdccovidview-to-work-with-the-u-s-cdcs-new-covid-19-trackers-covidview-and-covid-net\\\/\"},\"wordCount\":314,\"commentCount\":9,\"publisher\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/#\\\/schema\\\/person\\\/d7cb7487ab0527447f7fda5c423ff886\"},\"image\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2020\\\/04\\\/11\\\/new-package-cdccovidview-to-work-with-the-u-s-cdcs-new-covid-19-trackers-covidview-and-covid-net\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/rud.is\\\/b\\\/wp-content\\\/uploads\\\/2020\\\/04\\\/cdccovidview-ex.png\",\"articleSection\":[\"R\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/rud.is\\\/b\\\/2020\\\/04\\\/11\\\/new-package-cdccovidview-to-work-with-the-u-s-cdcs-new-covid-19-trackers-covidview-and-covid-net\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2020\\\/04\\\/11\\\/new-package-cdccovidview-to-work-with-the-u-s-cdcs-new-covid-19-trackers-covidview-and-covid-net\\\/\",\"url\":\"https:\\\/\\\/rud.is\\\/b\\\/2020\\\/04\\\/11\\\/new-package-cdccovidview-to-work-with-the-u-s-cdcs-new-covid-19-trackers-covidview-and-covid-net\\\/\",\"name\":\"New Package \u2014\u00a0{cdccovidview} \u2014 To Work with the U.S. CDC's New COVID-19 Trackers: COVIDView and COVID-NET - rud.is\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2020\\\/04\\\/11\\\/new-package-cdccovidview-to-work-with-the-u-s-cdcs-new-covid-19-trackers-covidview-and-covid-net\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2020\\\/04\\\/11\\\/new-package-cdccovidview-to-work-with-the-u-s-cdcs-new-covid-19-trackers-covidview-and-covid-net\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/rud.is\\\/b\\\/wp-content\\\/uploads\\\/2020\\\/04\\\/cdccovidview-ex.png\",\"datePublished\":\"2020-04-11T17:46:03+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2020\\\/04\\\/11\\\/new-package-cdccovidview-to-work-with-the-u-s-cdcs-new-covid-19-trackers-covidview-and-covid-net\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/rud.is\\\/b\\\/2020\\\/04\\\/11\\\/new-package-cdccovidview-to-work-with-the-u-s-cdcs-new-covid-19-trackers-covidview-and-covid-net\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2020\\\/04\\\/11\\\/new-package-cdccovidview-to-work-with-the-u-s-cdcs-new-covid-19-trackers-covidview-and-covid-net\\\/#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/rud.is\\\/b\\\/wp-content\\\/uploads\\\/2020\\\/04\\\/cdccovidview-ex.png?fit=1920%2C1344&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/rud.is\\\/b\\\/wp-content\\\/uploads\\\/2020\\\/04\\\/cdccovidview-ex.png?fit=1920%2C1344&ssl=1\",\"width\":1920,\"height\":1344},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/2020\\\/04\\\/11\\\/new-package-cdccovidview-to-work-with-the-u-s-cdcs-new-covid-19-trackers-covidview-and-covid-net\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/rud.is\\\/b\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"New Package \u2014\u00a0{cdccovidview} \u2014 To Work with the U.S. CDC&#8217;s New COVID-19 Trackers: COVIDView and COVID-NET\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/#website\",\"url\":\"https:\\\/\\\/rud.is\\\/b\\\/\",\"name\":\"rud.is\",\"description\":\"&quot;In God we trust. All others must bring data&quot;\",\"publisher\":{\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/#\\\/schema\\\/person\\\/d7cb7487ab0527447f7fda5c423ff886\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/rud.is\\\/b\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/rud.is\\\/b\\\/#\\\/schema\\\/person\\\/d7cb7487ab0527447f7fda5c423ff886\",\"name\":\"hrbrmstr\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/i0.wp.com\\\/rud.is\\\/b\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/ukr-shield.png?fit=460%2C460&ssl=1\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/rud.is\\\/b\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/ukr-shield.png?fit=460%2C460&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/rud.is\\\/b\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/ukr-shield.png?fit=460%2C460&ssl=1\",\"width\":460,\"height\":460,\"caption\":\"hrbrmstr\"},\"logo\":{\"@id\":\"https:\\\/\\\/i0.wp.com\\\/rud.is\\\/b\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/ukr-shield.png?fit=460%2C460&ssl=1\"},\"description\":\"Don't look at me\u2026I do what he does \u2014 just slower. #rstats avuncular \u2022 ?Resistance Fighter \u2022 Cook \u2022 Christian \u2022 [Master] Chef des Donn\u00e9es de S\u00e9curit\u00e9 @ @rapid7\",\"sameAs\":[\"http:\\\/\\\/rud.is\"],\"url\":\"https:\\\/\\\/rud.is\\\/b\\\/author\\\/hrbrmstr\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"New Package \u2014\u00a0{cdccovidview} \u2014 To Work with the U.S. CDC's New COVID-19 Trackers: COVIDView and COVID-NET - rud.is","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/rud.is\/b\/2020\/04\/11\/new-package-cdccovidview-to-work-with-the-u-s-cdcs-new-covid-19-trackers-covidview-and-covid-net\/","og_locale":"en_US","og_type":"article","og_title":"New Package \u2014\u00a0{cdccovidview} \u2014 To Work with the U.S. CDC's New COVID-19 Trackers: COVIDView and COVID-NET - rud.is","og_description":"The United States Centers for Disease Control (CDC from now on) has setup two new public surveillance resources for COVID-19. Together, COVIDView and COVID-NET provide similar weekly surveillance data as FluView does for influenza-like illnesses (ILI). The COVIDView resources are HTML tables (O_O) and, while the COVID-NET interface provides a &#8220;download&#8221; button, there is no [&hellip;]","og_url":"https:\/\/rud.is\/b\/2020\/04\/11\/new-package-cdccovidview-to-work-with-the-u-s-cdcs-new-covid-19-trackers-covidview-and-covid-net\/","og_site_name":"rud.is","article_published_time":"2020-04-11T17:46:03+00:00","og_image":[{"url":"https:\/\/rud.is\/b\/wp-content\/uploads\/2020\/04\/cdccovidview-ex.png","type":"","width":"","height":""}],"author":"hrbrmstr","twitter_card":"summary_large_image","twitter_misc":{"Written by":"hrbrmstr","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/rud.is\/b\/2020\/04\/11\/new-package-cdccovidview-to-work-with-the-u-s-cdcs-new-covid-19-trackers-covidview-and-covid-net\/#article","isPartOf":{"@id":"https:\/\/rud.is\/b\/2020\/04\/11\/new-package-cdccovidview-to-work-with-the-u-s-cdcs-new-covid-19-trackers-covidview-and-covid-net\/"},"author":{"name":"hrbrmstr","@id":"https:\/\/rud.is\/b\/#\/schema\/person\/d7cb7487ab0527447f7fda5c423ff886"},"headline":"New Package \u2014\u00a0{cdccovidview} \u2014 To Work with the U.S. CDC&#8217;s New COVID-19 Trackers: COVIDView and COVID-NET","datePublished":"2020-04-11T17:46:03+00:00","mainEntityOfPage":{"@id":"https:\/\/rud.is\/b\/2020\/04\/11\/new-package-cdccovidview-to-work-with-the-u-s-cdcs-new-covid-19-trackers-covidview-and-covid-net\/"},"wordCount":314,"commentCount":9,"publisher":{"@id":"https:\/\/rud.is\/b\/#\/schema\/person\/d7cb7487ab0527447f7fda5c423ff886"},"image":{"@id":"https:\/\/rud.is\/b\/2020\/04\/11\/new-package-cdccovidview-to-work-with-the-u-s-cdcs-new-covid-19-trackers-covidview-and-covid-net\/#primaryimage"},"thumbnailUrl":"https:\/\/rud.is\/b\/wp-content\/uploads\/2020\/04\/cdccovidview-ex.png","articleSection":["R"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/rud.is\/b\/2020\/04\/11\/new-package-cdccovidview-to-work-with-the-u-s-cdcs-new-covid-19-trackers-covidview-and-covid-net\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/rud.is\/b\/2020\/04\/11\/new-package-cdccovidview-to-work-with-the-u-s-cdcs-new-covid-19-trackers-covidview-and-covid-net\/","url":"https:\/\/rud.is\/b\/2020\/04\/11\/new-package-cdccovidview-to-work-with-the-u-s-cdcs-new-covid-19-trackers-covidview-and-covid-net\/","name":"New Package \u2014\u00a0{cdccovidview} \u2014 To Work with the U.S. CDC's New COVID-19 Trackers: COVIDView and COVID-NET - rud.is","isPartOf":{"@id":"https:\/\/rud.is\/b\/#website"},"primaryImageOfPage":{"@id":"https:\/\/rud.is\/b\/2020\/04\/11\/new-package-cdccovidview-to-work-with-the-u-s-cdcs-new-covid-19-trackers-covidview-and-covid-net\/#primaryimage"},"image":{"@id":"https:\/\/rud.is\/b\/2020\/04\/11\/new-package-cdccovidview-to-work-with-the-u-s-cdcs-new-covid-19-trackers-covidview-and-covid-net\/#primaryimage"},"thumbnailUrl":"https:\/\/rud.is\/b\/wp-content\/uploads\/2020\/04\/cdccovidview-ex.png","datePublished":"2020-04-11T17:46:03+00:00","breadcrumb":{"@id":"https:\/\/rud.is\/b\/2020\/04\/11\/new-package-cdccovidview-to-work-with-the-u-s-cdcs-new-covid-19-trackers-covidview-and-covid-net\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/rud.is\/b\/2020\/04\/11\/new-package-cdccovidview-to-work-with-the-u-s-cdcs-new-covid-19-trackers-covidview-and-covid-net\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/rud.is\/b\/2020\/04\/11\/new-package-cdccovidview-to-work-with-the-u-s-cdcs-new-covid-19-trackers-covidview-and-covid-net\/#primaryimage","url":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2020\/04\/cdccovidview-ex.png?fit=1920%2C1344&ssl=1","contentUrl":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2020\/04\/cdccovidview-ex.png?fit=1920%2C1344&ssl=1","width":1920,"height":1344},{"@type":"BreadcrumbList","@id":"https:\/\/rud.is\/b\/2020\/04\/11\/new-package-cdccovidview-to-work-with-the-u-s-cdcs-new-covid-19-trackers-covidview-and-covid-net\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/rud.is\/b\/"},{"@type":"ListItem","position":2,"name":"New Package \u2014\u00a0{cdccovidview} \u2014 To Work with the U.S. CDC&#8217;s New COVID-19 Trackers: COVIDView and COVID-NET"}]},{"@type":"WebSite","@id":"https:\/\/rud.is\/b\/#website","url":"https:\/\/rud.is\/b\/","name":"rud.is","description":"&quot;In God we trust. All others must bring data&quot;","publisher":{"@id":"https:\/\/rud.is\/b\/#\/schema\/person\/d7cb7487ab0527447f7fda5c423ff886"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/rud.is\/b\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/rud.is\/b\/#\/schema\/person\/d7cb7487ab0527447f7fda5c423ff886","name":"hrbrmstr","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2023\/10\/ukr-shield.png?fit=460%2C460&ssl=1","url":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2023\/10\/ukr-shield.png?fit=460%2C460&ssl=1","contentUrl":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2023\/10\/ukr-shield.png?fit=460%2C460&ssl=1","width":460,"height":460,"caption":"hrbrmstr"},"logo":{"@id":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2023\/10\/ukr-shield.png?fit=460%2C460&ssl=1"},"description":"Don't look at me\u2026I do what he does \u2014 just slower. #rstats avuncular \u2022 ?Resistance Fighter \u2022 Cook \u2022 Christian \u2022 [Master] Chef des Donn\u00e9es de S\u00e9curit\u00e9 @ @rapid7","sameAs":["http:\/\/rud.is"],"url":"https:\/\/rud.is\/b\/author\/hrbrmstr\/"}]}},"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p23idr-3jp","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":3610,"url":"https:\/\/rud.is\/b\/2015\/08\/09\/cdcfluview-on-the-way-to-cran-7k\/","url_meta":{"origin":12735,"position":0},"title":"cdcfluview &#8211; On The Way to &#8220;CRAN 7K&#8221;","author":"hrbrmstr","date":"2015-08-09","format":false,"excerpt":"I like to turn coincidence into convergence whenever possible. This weekend, a user of [cdcfluview](http:\/\/github.com\/hrbrmstr\/cdcfluview) had a question that caused me to notice a difference in behaviour between the package was interacting with CDC FluView API, so I updated the package to accommodate the change and the user. Around the\u2026","rel":"","context":"In &quot;Data Analysis&quot;","block_context":{"text":"Data Analysis","link":"https:\/\/rud.is\/b\/category\/data-analysis-2\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3215,"url":"https:\/\/rud.is\/b\/2015\/01\/10\/new-r-package-cdcfluview-retrieve-flu-data-from-cdcs-fluview-portal\/","url_meta":{"origin":12735,"position":1},"title":"New R Package: cdcfluview \u2014 Retrieve Flu Data from CDC&#8217;s FluView Portal","author":"hrbrmstr","date":"2015-01-10","format":false,"excerpt":"**NOTE** If there's a particular data set from http:\/\/www.cdc.gov\/flu\/weekly\/fluviewinteractive.htm that you want and that isn't in the pacakge, please file it as an issue and be as specific as you can (screen shot if possible). ----- Towards the end of 2014 I had been tinkering with flu data from the\u2026","rel":"","context":"In &quot;DataVis&quot;","block_context":{"text":"DataVis","link":"https:\/\/rud.is\/b\/category\/datavis-2\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":7020,"url":"https:\/\/rud.is\/b\/2017\/11\/06\/taking-a-shot-at-cdcfluview-v0-7-0-a-k-a-the-dangers-of-relying-on-hidden-apis\/","url_meta":{"origin":12735,"position":2},"title":"Taking a Shot at cdcfluview v0.7.0 (a.k.a. The Dangers of Relying on &#8216;Hidden&#8217; APIs)","author":"hrbrmstr","date":"2017-11-06","format":false,"excerpt":"Unlike @noamross, I am not an epidemiologist (NOTE: Noam battles pandemics before breakfast, so be super nice to him) but I do like to find kindred methodologies in other disciplines to help foster the growth of cybersecurity into something beyond it's current Barnum & Bailey state. I also love finding\u2026","rel":"","context":"In &quot;R&quot;","block_context":{"text":"R","link":"https:\/\/rud.is\/b\/category\/r\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2017\/11\/unnamed-chunk-5-4.png?fit=672%2C480&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2017\/11\/unnamed-chunk-5-4.png?fit=672%2C480&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2017\/11\/unnamed-chunk-5-4.png?fit=672%2C480&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":3262,"url":"https:\/\/rud.is\/b\/2015\/02\/04\/a-step-to-the-right-in-r-assignments\/","url_meta":{"origin":12735,"position":3},"title":"A Step to the Right in R Assignments","author":"hrbrmstr","date":"2015-02-04","format":false,"excerpt":"I received an out-of-band question on the use of `%%` in my [CDC FluView](rud.is\/b\/2015\/01\/10\/new-r-package-cdcfluview-retrieve-flu-data-from-cdcs-fluview-portal\/) post, and took the opportunity to address it in a broader, public fashion. Anyone using R knows that the two most common methods of assignment are the venerable (and sensible) left arrow `` RHS assignment operator.\u2026","rel":"","context":"In &quot;Programming&quot;","block_context":{"text":"Programming","link":"https:\/\/rud.is\/b\/category\/programming\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4852,"url":"https:\/\/rud.is\/b\/2017\/01\/08\/2017-01-authored-package-updates\/","url_meta":{"origin":12735,"position":4},"title":"2017-01 Authored Package Updates","author":"hrbrmstr","date":"2017-01-08","format":false,"excerpt":"The rest of the month is going to be super-hectic and it's unlikely I'll be able to do any more to help the push to CRAN 10K, so here's a breakdown of CRAN and GitHub new packages & package updates that I felt were worth raising awareness on: epidata I\u2026","rel":"","context":"In &quot;dplyr&quot;","block_context":{"text":"dplyr","link":"https:\/\/rud.is\/b\/category\/dplyr\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2017\/01\/epi2.png?fit=982%2C1200&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2017\/01\/epi2.png?fit=982%2C1200&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2017\/01\/epi2.png?fit=982%2C1200&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2017\/01\/epi2.png?fit=982%2C1200&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":4805,"url":"https:\/\/rud.is\/b\/2017\/01\/02\/removing-personal-bias-from-flu-severity-estimation-a-k-a-misery-loves-data\/","url_meta":{"origin":12735,"position":5},"title":"Removing Personal Bias From Flu Severity Estimation (a.k.a. Misery Loves Data)","author":"hrbrmstr","date":"2017-01-02","format":false,"excerpt":"The family got hit pretty hard with the flu right as the Christmas festivities started and we were all pretty much bed-ridden zombies up until today (2017-01-02). When in the throes of a very bad ILI it's easy to imagine that you're a victim of a severe outbreak, especially with\u2026","rel":"","context":"In &quot;ggplot&quot;","block_context":{"text":"ggplot","link":"https:\/\/rud.is\/b\/category\/ggplot\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2017\/01\/Cursor_and___Development_cdcfluview_-_master_-_RStudio-1.png?fit=1200%2C610&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2017\/01\/Cursor_and___Development_cdcfluview_-_master_-_RStudio-1.png?fit=1200%2C610&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2017\/01\/Cursor_and___Development_cdcfluview_-_master_-_RStudio-1.png?fit=1200%2C610&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2017\/01\/Cursor_and___Development_cdcfluview_-_master_-_RStudio-1.png?fit=1200%2C610&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/rud.is\/b\/wp-content\/uploads\/2017\/01\/Cursor_and___Development_cdcfluview_-_master_-_RStudio-1.png?fit=1200%2C610&ssl=1&resize=1050%2C600 3x"},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/posts\/12735","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/comments?post=12735"}],"version-history":[{"count":0,"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/posts\/12735\/revisions"}],"wp:attachment":[{"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/media?parent=12735"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/categories?post=12735"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rud.is\/b\/wp-json\/wp\/v2\/tags?post=12735"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}