Skip to contents

Download and read data from opsnap project

Usage

download_and_read(u, remove_nas = FALSE, dir = "raw_data/west-yorkshire")

Arguments

u

URL of data

remove_nas

Remove NA values?

dir

Download directory

Value

Data frame

Examples

if (FALSE) {
u = paste0(
  "https://www.westyorkshire.police.uk/sites/default/files/",
  "2023-10/operation_snap_july-sept_2023.xlsx"
)
download_and_read(, dir = ".")
}