uktrans_get: Get Transaction Data

Description Usage Arguments Value Examples

View source: R/get.R

Description

Transaction Data is a dataset that shows how many customer applications we completed, in the preceding month for: first registrations, leases, transfers of part, dealings, official copies and searches. This is based on customer and location.

Usage

1
2
3
4
5
6
7
8
uktrans_get(
  item = "totalApplicationCountByRegion",
  region = NULL,
  regexp = TRUE,
  start_date = NULL,
  end_date = NULL,
  ...
)

Arguments

item

item to select, see uktrans_avail_items() for available items.

region

region to select, see uktrans_avail_regions() for available regions.

regexp

use regular expression in sparql to search for regions.

start_date

the start date as YYYY-MM-DD.

end_date

the end date as YYYY-MM-DD.

...

query modifiers passed through rdf_modifiers.

Value

Returns a tibble in long format.

Examples

1
2
3
4
5
6
7
uktrans_get(item = "totalApplicationCountByRegion", region = "East Anglia")

# If `region` is left as NULL then it returns all available regions
uktrans_get(item = "totalApplicationCountByRegion")

# Quering all available transaction data
uktrans_get(item = uktrans_avail_items())

uklr documentation built on May 25, 2021, 1:06 a.m.