Nothing
context("npn_datasets")
test_that("datasets endpoint working", {
npn_set_env(get_test_env())
if(!check_service()){
skip("Service is down")
}
vcr::use_cassette("npn_datasets_1", {
datasets <- npn_datasets()
})
expect_is(datasets, "data.frame")
expect_is(datasets$dataset_name, "character")
expect_gt(nrow(datasets), 5)
})
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.