tests/testthat/test-census_tables.R

test_that("Basic parsing check for census tables", {
  skip_on_cran()

  d <- get_cansim("98-10-0036-01")
  expect_equal(nrow(d),336)
})

Try the cansim package in your browser

Any scripts or data that you put into this service are public.

cansim documentation built on April 3, 2025, 10:26 p.m.