I14Y 0.2.0
- BREAKING CHANGE: align package with the restructured I14Y API. The upstream
Nomenclatures,DataStructuresandContentConfigurationsendpoints have been removed; in the new data model multi-level “nomenclatures” are split into separate codelist concepts (e.g. NOGA is nowNOGA_SECTION,NOGA_DIVISION,NOGA_GROUP,NOGA_CLASS) and structures are exposed by dataset UUID. - BREAKING CHANGE: remove
i14y_get_nomenclature_level()andi14y_get_nomenclature_level_multiple(). Usei14y_search_concept()to find the relevant per-level codelist concept, theni14y_get_codelist()to download its entries. - BREAKING CHANGE: remove
i14y_search_nomenclature(). Replaced byi14y_search_codelist(id, query, language)which calls/concepts/{conceptId}/codelist-entries/searchon the public API. Takes a concept UUID instead of a string nomenclature identifier. - BREAKING CHANGE: rename
i14y_get_data_structure()toi14y_get_dataset_structure()to match the public API endpoint/datasets/{datasetId}/structures/exports/{format}. Argumentidentifier(string) is replaced byid(UUID), andlanguageis replaced byformat(one of “JsonLd”, “Ttl”, “Rdf”). The endpoint returns a SHACL/RDF graph rather than a tabular variables list. - BREAKING CHANGE: rename
i14y_get_content_information()toi14y_get_dataset()to match the public API endpoint/datasets/{datasetId}. Argumentidentifier(string) is replaced byid(UUID). - BREAKING CHANGE: remove
i14y_get_dataset_metadata(). It targeted the internalinput-backendhost and is superseded byi14y_get_dataset(), which calls the equivalent public API endpoint. - BREAKING CHANGE: remove
i14y_get_concept_all_versions(). It targeted the internalinput-backendhost and the public API exposes no equivalent. If/when/concepts/{id}/versionsbecomes available publicly, it may be reintroduced. - BREAKING CHANGE:
i14y_get_concept()now calls/concepts/{conceptId}on the public API. Thelanguageargument is removed (the public endpoint always returns all four languages, de/en/fr/it). The response is unwrapped from the{data: ...}envelope; a few internal-only fields (responsiblePerson,validTo,codeListId, …) are no longer returned, and the casing ofcodelistEntryValueMaxLengthbecomescodeListEntryValueMaxLength. - New generic search:
i14y_search()exposes the faceted public-API search over all resource types (Dataset, DataService, PublicService, Concept, MappingTable).i14y_search_catalog()andi14y_search_concept()become thin wrappers around it and no longer call the undocumentedinput-backendhost. - New listing functions for every catalog resource:
i14y_list_catalogs(),i14y_list_datasets(),i14y_list_concepts(),i14y_list_dataservices(),i14y_list_publicservices(),i14y_list_mappingtables(). All accept the standardlanguage,publishers,themes,registrationStatuses,pageandpageSizefilters. - New catalog endpoints:
i14y_get_catalog(),i14y_get_catalog_records(),i14y_get_catalog_record()andi14y_get_catalog_dcat()(RDF/TTL export). - New mapping table endpoints:
i14y_get_mappingtable()andi14y_get_mappingtable_relations()(Json/Csv). - New endpoints
i14y_get_dataservice()andi14y_get_publicservice()for single-resource lookups. - New
i14y_get_concept_export()to fetch the full DCAT export of a concept. - New
i14y_export_codelist_search()to download codelist search results as CSV or JSON, with optional annotations. -
i14y_search_codelist()accepts aNULLquery (list-all mode) and afiltersargument, and supports the Rm (Romansh) language. -
i14y_get_codelist()gainswithAnnotations;i14y_get_concept()gainsincludeCodeListEntries. - Internal: all exported functions now share a single HTTP layer (
i14y_request()) with retry on transient statuses, RFC 7807-aware error messages, and consistent{data: ...}envelope unwrapping. - New vignettes: “Getting started”, “Discovering the catalog” and “Codelists with BFS”.
- Update
README.Rmdto reflect the new model and use UUIDs in examples.
I14Y 0.1.7
CRAN release: 2025-10-28
- BREAKING CHANGE: remove
i14y_get_data_service()as it fails test and seems to always return error 404.
I14Y 0.1.5
CRAN release: 2025-07-14
- new contributor
- added and fixed tests for pull request https://github.com/lgnbhl/I14Y/pull/1
- Modification by pull request https://github.com/lgnbhl/I14Y/pull/1 :
- Updated all affected functions to use the new backend API base URL.
- Refactored i14y_search_concept() to align with the new Catalog endpoint, and added support for filtering by conceptValueTypes and registrationStatuses.
- Added a new function,
i14y_get_dataset_metadata(), which now retrieves both dataset descriptions and distributions, since these are handled under a unified endpoint in the updated API. - BREAKING CHANGE:
i14y_get_data_element()removed, as its endpoint seems to have been removed in the API. - Updated and re-rendered the
README.Rmdto reflect the API changes and function modifications.
I14Y 0.1.4
CRAN release: 2025-06-09
- BREAKING CHANGE: remove
i14y_get_data_service_registration()as it fails test.
