extract_meta | R Documentation |
Extract Metadata for Specific Documents or Comments
extract_meta(link, key = NULL)
link |
a link of the form https://api.regulations.gov/v4/comments/COMMENT_ID_HERE for the comment endpoint or a link of the form https://api.regulations.gov/v4/comments/DOCUMENT_ID_HERE for the document endpoint. Detailed information will be obtained on the document or comment of the given ID. |
key |
the API key passed in the function call; this may be NULL if the user has
chosen to set up the key as an environmental variable instead with the function
|
a data frame containing the metadata for the comment or document ID, including, if present the attachment links.
## Not run: # get comment metadata for a specific comment result_comment <- extract_meta("https://api.regulations.gov/v4/comments/NOAA-NMFS-2013-0095-0007") # get comment metadata for a specific document result_doc <- extract_meta("https://api.regulations.gov/v4/documents/NIH-2006-0048-0001") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.