test_that("filter_streets works", {
expect_s3_class(
filter_streets(streets, sha_class = "FWY"),
"sf"
)
expect_s3_class(
filter_streets(streets, sha_class = "FWY", union = TRUE),
"sf"
)
expect_s3_class(
filter_streets(streets, street_type = "STRPRD"),
"sf"
)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.