species_page_md5: Calculate the MD5 digest for an ECOS page

Description Usage Arguments Note Examples

Description

Calculate the MD5 digest for an ECOS page

Usage

1

Arguments

f

Path to a species' ECOS page (either local or URL)

Note

Apparently, FWS does not serve the same version of a species' page up twice in a row. Instead, the same information will be presented in different orders. We have to use strsplit along with str_trim to get clean lines, then sort before doing the MD5 hash.

Examples

1
2
3
4
## Not run: 
  md5 <- species_page_md5("https://goo.gl/kvIcH9")

## End(Not run)

jacob-ogre/ecosdata documentation built on May 18, 2019, 8 a.m.