mot_get_regs: Download multiple pages of MOT data

Description Usage Arguments Details

View source: R/dl_reg.R

Description

Download one page of MOT data

Usage

1
2
3
4
5
6
7
mot_get_regs(
  registrations,
  key = Sys.getenv("MOT_key"),
  ncores = 8L,
  get_comments = TRUE,
  ...
)

Arguments

registrations

a range o page numberspage number

key

API Key

ncores

Now many cores to use

get_comments

logical, should comments be downloaded, default TRUE

...

extra variaibles passed to 'mot_get_page()'

Details

This function wraps 'mot_get_reg()' for bulk downloading of data, by default it is multicore optimised and will run with 8 cores as this is the upper limit allowed by the API.


ITSLeeds/motCarData documentation built on March 5, 2020, 3:17 a.m.