Nothing
test_that("fredr_series()", {
skip_if_no_key()
series <- fredr_series(series_id = "GNPCA")
expect_s3_class(series, c("tbl_df", "tbl", "data.frame"))
expect_true(ncol(series) == 15)
expect_true(nrow(series) == 1)
})
test_that("input is validated", {
expect_error(fredr_series())
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.