doc_getlink: Generate Document Download Link

View source: R/doc_getlink_function.R

doc_getlinkR Documentation

Generate Document Download Link

Description

This function generates the download link for a particular document. Use with doc_meta_extract for best results

Usage

doc_getlink(doc_id, mkey, doc_type)

Arguments

doc_id

Document number

mkey

Authorisation key

doc_type

The filetype of the document. Should be one of 'application/pdf', 'application/json', 'application/xml', 'application/xhtml+xml' or 'text/csv'

Value

Character vector of document location


MatthewSmith430/CompaniesHouse documentation built on Jan. 28, 2024, 3:08 a.m.