wm_records_date: Get records by date

View source: R/wm_records_date.R

wm_records_dateR Documentation

Get records by date

Description

Get records by date

Usage

wm_records_date(
  start_date,
  end_date = NULL,
  marine_only = TRUE,
  offset = 1,
  ...
)

Arguments

start_date

(character) start date. required.

end_date

(character) end date. optional

marine_only

(logical) marine only or not. default: TRUE

offset

(integer) record to start at. default: 1

...

named curl options. see curl::curl_options

Value

A tibble/data.frame

Examples

## Not run: 
a_date <- format(Sys.Date() - 1, "%Y-%m-%dT%H:%M:%S+00:00")
wm_records_date(a_date)

## End(Not run)

ropensci/worrms documentation built on Feb. 5, 2024, 4:59 p.m.