Skip to contents

Load p2 data from api/3/{table}, modified by arguments in ... to the matching table in the local database

Usage

p2_load(
  table,
  offset = NULL,
  max_len = NULL,
  jobs = NULL,
  overwrite = FALSE,
  ...
)

Arguments

table

character, table to update

offset

integer offset from the start of the query to return; default is 0.

max_len

integer maximum number of rows to load, defaults to p2_query_table_length() - offset.

jobs

data.table of jobs to run instead of building a jobs based on offset and max_len

overwrite

logical, whether to overwrite the table in the database

...

additional parameters to pass on to modify_url