In the wizard results page, add a new section for ‘Open Data’. Populate this section with open data tools that are relevant. Use the same criteria as we use for products for determining which open data sets to return.
Frontend:
Add a new section in the results page to show open data that are relevant. Create a new paginatedDatasets class to return open data (which will be called datasets in the graphql query)
Update the graphql query that is called to get the wizard results and request datasets. Fields to query for datasets are id, name, slug, imageFile, website
Backend:
Create an datasets type that will return open data. Fields in this type will include id, name, slug, imageFile, website
Add an array of datasets to the wizard results query
Create a resolver for datasets in the wizard code that will identify relevant datasets based on sector, country, and tags. Use the same logic that is currently used for returning products.
Description: The following open data (datasets, content, AI models) may be relevant for the project
Sorting: Same as products (name, tag, sector)
Render this section from the DatasetCard component.
Rafał Stencel
October 24, 2022 at 10:05 AM
(edited)
Can we get database dump from prod (or other) environment so that we can properly test this functionality? Currently there is very few Open Data records.
In the wizard results page, add a new section for ‘Open Data’. Populate this section with open data tools that are relevant. Use the same criteria as we use for products for determining which open data sets to return.
Frontend:
Add a new section in the results page to show open data that are relevant. Create a new paginatedDatasets class to return open data (which will be called datasets in the graphql query)
Update the graphql query that is called to get the wizard results and request datasets. Fields to query for datasets are id, name, slug, imageFile, website
Backend:
Create an datasets type that will return open data. Fields in this type will include id, name, slug, imageFile, website
Add an array of datasets to the wizard results query
Create a resolver for datasets in the wizard code that will identify relevant datasets based on sector, country, and tags. Use the same logic that is currently used for returning products.