Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Roll out Dataset schema to more types #1635

Merged
merged 5 commits into from
Jan 27, 2020
Merged

Roll out Dataset schema to more types #1635

merged 5 commits into from
Jan 27, 2020

Conversation

sihugh
Copy link
Contributor

@sihugh sihugh commented Jan 26, 2020

We want to use the correct schema.org type as much as possible. National statistics, Official statistics and Transparency types contain things of interest to people searching for open data.

I've fixed a bunch of gds-api-adapter deprecation warnings as part of this PR, so reviewing by commit might be advised.

I also discovered a === comparison which I'm not sure is intended, so I've flipped it back to ==.

Example pages:

Resolves:

> #content_store_has_item is deprecated on GdsApi::TestHelpers::ContentStore
> and will be removed in a future version. Use #stub_content_store_has_item instead
Resolves:

> #content_store_does_not_have_item is deprecated on GdsApi::TestHelpers::ContentStore
> and will be removed in a future version. Use #stub_content_store_does_not_have_item
> instead
Resolves:

> #content_store_has_gone_item is deprecated on GdsApi::TestHelpers::ContentStore
> and will be removed in a future version. Use #stub_content_store_has_gone_item
> instead
@bevanloon bevanloon temporarily deployed to government-f-stats-2-675loifr4 January 26, 2020 22:36 Inactive
I think this was probably a typo from someone who had been writing a lot of
javascript. It's almost certainly not the intention.
@bevanloon bevanloon temporarily deployed to government-f-stats-2-675loifr4 January 26, 2020 23:20 Inactive
The national_statistics, official_statistics and transparency document types
also contain datasets so will benefit from better structured data.
@bevanloon bevanloon temporarily deployed to government-f-stats-2-675loifr4 January 27, 2020 09:07 Inactive
@sihugh sihugh changed the title Roll out Dataset schema to more statistics types Roll out Dataset schema to more types Jan 27, 2020
Copy link
Contributor

@Tetrino Tetrino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All sensible 👍

@sihugh sihugh merged commit 0b56cd7 into master Jan 27, 2020
@sihugh sihugh deleted the stats-2 branch January 27, 2020 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants