Learn R Programming

finch (version 0.4.0)

dwca_validate: Validate a Darwin Core Archive

Description

Validate a Darwin Core Archive

Usage

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

Run this code
# NOT RUN {
x <- "http://rs.gbif.org/datasets/german_sl.zip"
dwca_validate(x)
# }

Run the code above in your browser using DataLab