Description Usage Arguments Value Examples
Return CQC inspection reports, either as a plain text character vector, or by saving a PDF to the chosen directory.
1 2 3 |
inspection_report_link_id |
The ID of the report to return. |
related_document_type |
An optional qualifier to retrieve a document related to the main report. This parameter is the Related Document Type found from the relatedDocuments response object. e.g. "Use for the inspection is returned. |
plain_text |
If |
attempt_pdf |
Set behaviour when attempting to retrieve plain text
of reports. If |
directory |
The directory to save PDF files in. Defaults to current working directory. |
file_name |
A custom file name given to a PDF file being saved locally.
If |
verbose |
If |
Either a PDF of the inspection report saved to the working directory, or a character vector with the plain text of the inspection report, depending on parameters used.
1 | report2 <- cqc_reports("41d035b1-43e7-4857-be33-cf1b57cf4311")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.