This article explains how "Topic Types" and "Role Types" are handled in North Data API queries and how to work with the returned data.
In North Data API calls, there is no option to directly specify a query parameter for "Topic Types" or "Role Types". However, both are included in the API response, allowing you to filter and work with the relevant data.
Handling "Topic Types" in API Queries
When querying publication data, the API does not allow you to restrict the response by "Topic Types". The response will include all topics associated with the publication, as defined in the Publication Structure.
To narrow down results to specific topics, you can filter the response data manually. Sorting by topic type or filtering by topic name or value can help you focus on the information that is most relevant.
For more details about the available "Topic Types," please refer to Appendix E: Topic Types.
Handling "Role Types" in API Queries
The relatedPersons
field in the API response lists individuals associated with a company. The response will include all roles as defined in the Role Structure.
To narrow down results to specific roles, you can filter the response data manually. Sorting by role type or filtering by specific attributes can help you focus on the information that is most relevant.
For more details about the available "Role Types," refer to Appendix F: Role Types.
Conclusion
While you cannot specify query parameters for "Topic Types" or "Role Types" in the North Data API, the responses include all relevant data. You can filter and sort the results based on your needs, focusing on the specific topics or roles that are most important for your analysis.