uktrans_get {uklr} | R Documentation |
Get Transaction Data
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
uktrans_get(
item = "totalApplicationCountByRegion",
region = NULL,
regexp = TRUE,
start_date = NULL,
end_date = NULL,
...
)
Arguments
item |
item to select, see |
region |
region to select, see |
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 |
Value
Returns a tibble in long format.
Examples
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())
[Package uklr version 1.0.2 Index]