Description Usage Arguments Value Examples
Get NCoV data
1 2 3 4 5 6 |
method |
character. |
port |
character. The port(s). Valid only for the 'api' method |
base |
character. The link of the database api. |
a list
1 2 3 4 5 6 7 8 9 10 | get_ncov("overall")
us_current <- ncovr::get_ncov(method = "api", port = "v1/states/current.json",
base = "https://covidtracking.com/api/")
ports <- c("v1/states/current.json", "v1/states/daily.json",
"v1/states/info.json", "v1/us/current.json", "v1/us/daily.json",
"v1/urls.json", "v1/states/screenshots.json")
us <- ncovr::get_ncov(method = "api", port = ports,
base = "https://covidtracking.com/api/")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.