meta_info
, a tibble created in data-raw/data_creation.R
data-raw/data_creation.R
and then
re-load the functions/packageRequired and extra fields returned by the API are expected and treated, respectively, as follows:
Function | API Entry Point | Required fields | Extra fields
------------------ |-------------------------- | -------------------------- | ------------
nc_count()
| data/list_collections
| collection
, nrecords
| Ignored
nc_count()
| data/list_permissions
| collection
, akn_level
| Ignored
nc_count()
| metadata/collections
| collection
, akn_level
| Ignored
nc_permissions()
| data/list_permissions
| collection
, akn_level
| Ignored
srv_auth()
| data/authenticate
| token
| Ignored
nc_data_dl()
| data/release_request_id
| None (close request only) | Ignored
nc_data_dl()
| data/get_data
| Any | Added
meta_XXX()
| metadata/XXX
| Any | Added
Missing/renamed "container" Some API entry points return data in a container, for example,
data/get_data
-> results
(holds main data)
data/list_collections
-> results
(holds counts); request_id
(holds request id)data/list_requests
-> requests
(holds details on individual requests)If these "containers" change names, the package will break.
select()
the fields/columns expected. This way extra fields won't break existing code nc_single_dl()
under nc_data_dl()
) or metadata downloads (i.e. meta_XXX()
)meta_XXX()
download internally. Then always select()
the fields requiredAdd the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.