verify_xml_integrity {wikkitidy}R Documentation

Check that a Wikimedia XML file has not been corrupted

Description

The Wikimedia Foundation publishes MD5 checksums for all its database dumps. This function looks up the published sha1 checksums based on the file name, then compares them to the locally calcualte has using the openssl package.

Usage

verify_xml_integrity(path)

Arguments

path

The path to the file

Value

True (invisibly) if successful, otherwise error


[Package wikkitidy version 0.1.12 Index]