dwca_validate: Validate a Darwin Core Archive

Description Usage Arguments Details Examples

View source: R/dwca_validate.R

Description

Validate a Darwin Core Archive

Usage

1
dwca_validate(x, ifModifiedSince = NULL, browse = FALSE, ...)

Arguments

x

(character) A url for a Darwin Core Archive. If you have a local Darwin Core Archive, put it up online somewhere. Required.

ifModifiedSince

(character) An optional ISO date (yyyy-mm-dd) to enable conditional get requests, validating archives only if they have been modified since the given date. This feature requires the archive url to honor the if-modified-since http header. Apache webservers for example do this out of the box for static files, but if you use dynamic scripts to generate the archive on the fly this might not be recognised. Optional.

browse

(logical) Browse to generated report or not. Default: FALSE

...

Curl options passed to crul::HttpClient

Details

Uses the GBIF DCA validator (http://tools.gbif.org/dwca-validator/)

Examples

1
2
3
4
5
## Not run: 
x <- "http://rs.gbif.org/datasets/german_sl.zip"
dwca_validate(x)

## End(Not run)

finch documentation built on Aug. 11, 2020, 9:06 a.m.