library(tidyverse)
library(janitor)
library(lubridate)
# load data --------------------------------------------------------------------
seattlepets_raw <- read_csv("data-raw/seattlepets/Seattle_Pet_Licenses.csv")
# clean names and fix date format ----------------------------------------------
seattlepets <- seattlepets_raw |>
janitor::clean_names() |>
rename(animal_name = animals_name) |>
mutate(license_issue_date = mdy(license_issue_date))
# Save -------------------------------------------------------------------------
use_data(seattlepets, overwrite = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.