commonmeta-ruby 3.5.5 → 3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +16 -5
- data/lib/commonmeta/readers/crossref_xml_reader.rb +1 -1
- data/lib/commonmeta/utils.rb +6 -6
- data/lib/commonmeta/version.rb +1 -1
- data/spec/cli_spec.rb +8 -8
- data/spec/fixtures/vcr_cassettes/Commonmeta_CLI/convert_file/crossref/default.yml +13 -13
- data/spec/fixtures/vcr_cassettes/Commonmeta_CLI/convert_file/crossref/to_bibtex.yml +13 -13
- data/spec/fixtures/vcr_cassettes/Commonmeta_CLI/convert_file/crossref/to_crossref_xml.yml +25 -25
- data/spec/fixtures/vcr_cassettes/Commonmeta_CLI/convert_file/crossref/to_datacite.yml +13 -13
- data/spec/fixtures/vcr_cassettes/Commonmeta_CLI/convert_file/crossref/to_schema_org.yml +13 -13
- data/spec/fixtures/vcr_cassettes/Commonmeta_CLI/convert_file/crossref_xml/default.yml +7 -7
- data/spec/fixtures/vcr_cassettes/Commonmeta_CLI/convert_file/crossref_xml/to_bibtex.yml +7 -7
- data/spec/fixtures/vcr_cassettes/Commonmeta_CLI/convert_file/crossref_xml/to_crossref_xml.yml +7 -59
- data/spec/fixtures/vcr_cassettes/Commonmeta_CLI/convert_file/crossref_xml/to_datacite.yml +7 -7
- data/spec/fixtures/vcr_cassettes/Commonmeta_CLI/convert_file/crossref_xml/to_schema_org.yml +7 -7
- data/spec/fixtures/vcr_cassettes/Commonmeta_CLI/convert_from_id/crossref/default.yml +24 -24
- data/spec/fixtures/vcr_cassettes/Commonmeta_CLI/convert_from_id/crossref/to_bibtex.yml +24 -24
- data/spec/fixtures/vcr_cassettes/Commonmeta_CLI/convert_from_id/crossref/to_citation.yml +24 -24
- data/spec/fixtures/vcr_cassettes/Commonmeta_CLI/convert_from_id/crossref/to_crossref_xml.yml +24 -24
- data/spec/fixtures/vcr_cassettes/Commonmeta_CLI/convert_from_id/crossref/to_datacite.yml +24 -24
- data/spec/fixtures/vcr_cassettes/Commonmeta_CLI/convert_from_id/crossref/to_jats.yml +24 -24
- data/spec/fixtures/vcr_cassettes/Commonmeta_CLI/convert_from_id/crossref/to_schema_org.yml +24 -24
- data/spec/fixtures/vcr_cassettes/Commonmeta_CLI/convert_from_id/datacite/default.yml +16 -16
- data/spec/fixtures/vcr_cassettes/Commonmeta_CLI/convert_from_id/datacite/to_bibtex.yml +16 -16
- data/spec/fixtures/vcr_cassettes/Commonmeta_CLI/convert_from_id/datacite/to_citation.yml +16 -16
- data/spec/fixtures/vcr_cassettes/Commonmeta_CLI/convert_from_id/datacite/to_datacite.yml +16 -16
- data/spec/fixtures/vcr_cassettes/Commonmeta_CLI/convert_from_id/datacite/to_jats.yml +16 -16
- data/spec/fixtures/vcr_cassettes/Commonmeta_CLI/convert_from_id/datacite/to_schema_org.yml +16 -16
- data/spec/fixtures/vcr_cassettes/Commonmeta_CLI/convert_from_id/schema_org/default.yml +479 -946
- data/spec/fixtures/vcr_cassettes/Commonmeta_CLI/convert_from_id/schema_org/to_crossref_xml.yml +957 -1891
- data/spec/fixtures/vcr_cassettes/Commonmeta_CLI/convert_from_id/schema_org/to_datacite.yml +479 -946
- data/spec/fixtures/vcr_cassettes/Commonmeta_CLI/convert_from_id/schema_org/to_schema_org.yml +481 -950
- data/spec/fixtures/vcr_cassettes/Commonmeta_CLI/encode/by_blog.yml +5540 -968
- data/spec/fixtures/vcr_cassettes/Commonmeta_CLI/encode/by_blog_unknown_blog_id.yml +22 -29
- data/spec/fixtures/vcr_cassettes/Commonmeta_CLI/encode/by_id.yml +25 -39
- data/spec/fixtures/vcr_cassettes/Commonmeta_CLI/encode/by_id_unknown_uuid.yml +18 -28
- data/spec/fixtures/vcr_cassettes/Commonmeta_CLI/find_from_format_by_id/crossref.yml +7 -7
- data/spec/fixtures/vcr_cassettes/Commonmeta_CLI/find_from_format_by_id/datacite.yml +7 -7
- data/spec/fixtures/vcr_cassettes/Commonmeta_CLI/find_from_format_by_id/jalc.yml +7 -7
- data/spec/fixtures/vcr_cassettes/Commonmeta_CLI/find_from_format_by_id/kisti.yml +7 -7
- data/spec/fixtures/vcr_cassettes/Commonmeta_CLI/find_from_format_by_id/medra.yml +7 -7
- data/spec/fixtures/vcr_cassettes/Commonmeta_CLI/find_from_format_by_id/op.yml +7 -7
- data/spec/fixtures/vcr_cassettes/Commonmeta_CLI/json_feed/json_feed_blog_id.yml +19 -90
- data/spec/fixtures/vcr_cassettes/Commonmeta_CLI/json_feed/json_feed_by_blog.yml +5578 -246
- data/spec/fixtures/vcr_cassettes/Commonmeta_CLI/json_feed/json_feed_not_indexed.yml +13 -2201
- data/spec/fixtures/vcr_cassettes/Commonmeta_CLI/json_feed/json_feed_unregistered.yml +176 -72
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/change_metadata_as_datacite_xml/with_data_citation.yml +16 -16
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/doi_registration_agency/crossref.yml +6 -6
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/doi_registration_agency/datacite.yml +6 -6
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/doi_registration_agency/jalc.yml +6 -6
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/doi_registration_agency/kisti.yml +6 -6
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/doi_registration_agency/medra.yml +6 -6
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/doi_registration_agency/not_found.yml +6 -6
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/doi_registration_agency/op.yml +6 -6
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/find_from_format_by_ID/crossref.yml +6 -6
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/find_from_format_by_ID/crossref_doi_not_url.yml +6 -6
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/find_from_format_by_ID/datacite.yml +6 -6
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/find_from_format_by_ID/datacite_doi_http.yml +6 -6
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/find_from_format_by_ID/unknown_DOI_registration_agency.yml +6 -6
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_blog_id_for_json_feed_item_id/by_blog_post_id.yml +27 -105
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_blog_id_for_json_feed_item_id/not_found.yml +20 -27
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_cff_metadata/cff-converter-python.yml +51 -25
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_cff_metadata/ruby-cff.yml +12 -12
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_cff_metadata/ruby-cff_repository_url.yml +9 -9
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_codemeta_metadata/maremma.yml +10 -10
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_codemeta_metadata/metadata_reports.yml +11 -11
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_crossref_metadata/DOI_with_ORCID_ID.yml +78 -78
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_crossref_metadata/DOI_with_SICI_DOI.yml +76 -76
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_crossref_metadata/DOI_with_data_citation.yml +35 -35
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_crossref_metadata/JaLC.yml +162 -162
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_crossref_metadata/KISTI.yml +131 -131
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_crossref_metadata/OP.yml +75 -75
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_crossref_metadata/affiliation_is_space.yml +76 -76
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_crossref_metadata/another_book.yml +113 -113
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_crossref_metadata/another_book_chapter.yml +74 -74
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_crossref_metadata/article_id_as_page_number.yml +77 -77
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_crossref_metadata/author_literal.yml +84 -84
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_crossref_metadata/book.yml +77 -77
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_crossref_metadata/book_chapter.yml +75 -75
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_crossref_metadata/book_chapter_with_RDF_for_container.yml +73 -73
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_crossref_metadata/book_oup.yml +72 -72
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_crossref_metadata/component.yml +94 -94
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_crossref_metadata/dataset.yml +104 -104
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_crossref_metadata/dataset_usda.yml +136 -136
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_crossref_metadata/date_in_future.yml +80 -80
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_crossref_metadata/dissertation.yml +103 -103
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_crossref_metadata/empty_given_name.yml +75 -75
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_crossref_metadata/invalid_date.yml +77 -77
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_crossref_metadata/journal_article.yml +76 -76
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_crossref_metadata/journal_article_original_language_title.yml +73 -73
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_crossref_metadata/journal_article_with.yml +128 -210
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_crossref_metadata/journal_article_with_RDF_for_container.yml +74 -74
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_crossref_metadata/journal_article_with_funding.yml +76 -76
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_crossref_metadata/journal_issue.yml +72 -72
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_crossref_metadata/mEDRA.yml +72 -72
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_crossref_metadata/markup.yml +81 -81
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_crossref_metadata/missing_contributor.yml +71 -71
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_crossref_metadata/multiple_issn.yml +75 -75
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_crossref_metadata/multiple_titles.yml +71 -71
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_crossref_metadata/multiple_titles_with_missing.yml +573 -573
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_crossref_metadata/not_found_error.yml +65 -65
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_crossref_metadata/peer_review.yml +77 -77
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_crossref_metadata/posted_content.yml +74 -74
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_crossref_metadata/posted_content_copernicus.yml +76 -76
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_crossref_metadata/report_osti.yml +120 -120
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_crossref_metadata/vor_with_url.yml +78 -78
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_crossref_metadata/yet_another_book.yml +74 -74
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_crossref_metadata/yet_another_book_chapter.yml +73 -73
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_crossref_raw/journal_article.yml +59 -59
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_datacite_metadata/SoftwareSourceCode.yml +4 -4
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_datacite_metadata/dissertation.yml +13 -13
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_datacite_metadata/funding_references.yml +15 -15
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_datacite_metadata/subject_scheme.yml +120 -120
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_doi_prefix_for_blog/by_blog_id.yml +5540 -555
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_doi_prefix_for_blog/by_blog_post_id.yml +31 -42
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_doi_prefix_for_blog/by_blog_post_id_specific_prefix.yml +25 -39
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed/by_blog_id.yml +5540 -247
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed/not_indexed_posts.yml +14 -26
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed/unregistered_posts.yml +176 -72
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed_item_metadata/archived_wordpress_post.yml +27 -95
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed_item_metadata/blog_post_with_non-url_id.yml +28 -106
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed_item_metadata/blogger_post.yml +21 -65
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed_item_metadata/ghost_post_with_author_name_suffix.yml +20 -208
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed_item_metadata/ghost_post_with_doi.yml +26 -97
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed_item_metadata/ghost_post_with_institutional_author.yml +24 -55
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed_item_metadata/ghost_post_with_organizational_author.yml +27 -70
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed_item_metadata/ghost_post_with_related_identifiers.yml +41 -143
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed_item_metadata/ghost_post_with_related_identifiers_and_funding.yml +54 -132
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed_item_metadata/ghost_post_with_related_identifiers_and_link_to_peer-reviewed_article.yml +304 -818
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed_item_metadata/ghost_post_without_doi.yml +24 -169
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed_item_metadata/jekyll_post.yml +24 -63
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed_item_metadata/jekyll_post_with_anonymous_author.yml +25 -40
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed_item_metadata/substack_post_with_broken_reference.yml +278 -591
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed_item_metadata/syldavia_gazette_post_with_references.yml +59 -101
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed_item_metadata/upstream_post_with_references.yml +135 -331
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed_item_metadata/wordpress_post.yml +24 -134
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed_item_metadata/wordpress_post_with_many_references.yml +578 -2967
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed_item_metadata/wordpress_post_with_references.yml +44 -205
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_json_feed_item_metadata/wordpress_post_with_tracking_code_on_url.yml +26 -160
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_one_author/affiliation_is_space.yml +21 -21
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_one_author/has_familyName.yml +15 -15
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_one_author/has_name_in_display-order_with_ORCID.yml +13 -13
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_one_author/name_with_affiliation_crossref.yml +16 -16
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_one_author/only_familyName_and_givenName.yml +66 -61
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_schema_org_metadata/BlogPosting.yml +145 -146
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_schema_org_metadata/BlogPosting_with_new_DOI.yml +149 -150
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_schema_org_metadata/get_schema_org_metadata_front_matter/BlogPosting.yml +114 -115
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_schema_org_metadata/harvard_dataverse.yml +300 -289
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_schema_org_metadata/pangaea.yml +66 -61
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_schema_org_metadata/upstream_blog.yml +64 -57
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_schema_org_metadata/zenodo.yml +27 -24
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/handle_input/DOI_RA_not_Crossref_or_DataCite.yml +6 -6
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/handle_input/unknown_DOI_prefix.yml +6 -6
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/json_schema_errors/is_valid.yml +16 -16
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_bibtex/BlogPosting.yml +10 -10
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_bibtex/Dataset.yml +10 -10
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_bibtex/authors_with_affiliations.yml +16 -16
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_bibtex/climate_data.yml +10 -10
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_bibtex/from_schema_org.yml +145 -146
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_bibtex/keywords_subject_scheme.yml +8 -8
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_bibtex/maremma.yml +12 -12
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_bibtex/text.yml +8 -8
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_bibtex/with_data_citation.yml +16 -16
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_bibtex/with_pages.yml +16 -16
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_cff/Collection_of_Jupyter_notebooks.yml +13 -13
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_cff/SoftwareSourceCode_Zenodo.yml +13 -13
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_cff/SoftwareSourceCode_also_Zenodo.yml +8 -8
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_cff/ruby-cff.yml +10 -10
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_citation/Dataset.yml +10 -10
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_citation/Journal_article.yml +16 -16
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_citation/Journal_article_vancouver_style.yml +21 -21
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_citation/Missing_author.yml +15 -15
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_citation/interactive_resource_without_dates.yml +8 -8
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_citation/software_w/version.yml +8 -8
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_codemeta/SoftwareSourceCode_DataCite.yml +8 -8
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_codemeta/SoftwareSourceCode_DataCite_check_codemeta_v2.yml +8 -8
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_commonmeta/with_data_citation.yml +12 -12
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_crossref/another_schema_org_from_front-matter.yml +32 -32
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_crossref/journal_article.yml +5 -5
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_crossref/journal_article_from_datacite.yml +5 -5
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_crossref/journal_article_plos.yml +16 -16
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_crossref/json_feed_item_from_rogue_scholar_with_anonymous_author.yml +25 -40
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_crossref/json_feed_item_from_rogue_scholar_with_doi.yml +24 -134
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_crossref/json_feed_item_from_rogue_scholar_with_organizational_author.yml +27 -70
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_crossref/json_feed_item_from_rogue_scholar_with_relations.yml +41 -143
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_crossref/json_feed_item_from_rogue_scholar_with_relations_and_funding.yml +55 -133
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_crossref/json_feed_item_from_upstream_blog.yml +21 -224
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_crossref/json_feed_item_with_references.yml +134 -330
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_crossref/posted_content.yml +19 -19
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_crossref/schema_org_from_another_science_blog.yml +9 -9
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_crossref/schema_org_from_front_matter.yml +92 -91
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_crossref/schema_org_from_upstream_blog.yml +6 -6
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_csl/Another_dataset.yml +8 -8
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_csl/BlogPosting.yml +10 -10
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_csl/BlogPosting_schema_org.yml +146 -147
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_csl/Dataset.yml +10 -10
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_csl/container_title.yml +16 -21
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_csl/interactive_resource_without_dates.yml +8 -8
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_csl/journal_article.yml +16 -16
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_csl/keywords_subject_scheme.yml +8 -8
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_csl/maremma.yml +10 -10
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_csl/missing_creator.yml +15 -15
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_csl/multiple_abstracts.yml +8 -8
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_csl/organization_author.yml +22 -22
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_csl/software.yml +8 -8
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_csl/software_w/version.yml +8 -8
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_csl/with_only_first_page.yml +16 -16
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_csl/with_pages.yml +16 -16
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_csv/climate_data.yml +10 -10
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_csv/maremma.yml +10 -10
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_csv/text.yml +8 -8
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_csv/with_data_citation.yml +16 -16
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_csv/with_pages.yml +16 -16
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_datacite/dissertation.yml +20 -20
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_datacite/from_schema_org.yml +146 -147
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_datacite/journal_article.yml +22 -22
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_datacite/maremma.yml +10 -10
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_datacite/with_ORCID_ID.yml +16 -16
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_datacite/with_data_citation.yml +16 -16
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_jats_xml/Dataset_in_schema_4_0.yml +10 -10
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_jats_xml/Text_pass-thru.yml +8 -8
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_jats_xml/book_chapter.yml +15 -15
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_jats_xml/from_schema_org.yml +146 -147
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_jats_xml/interactive_resource_without_dates.yml +8 -8
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_jats_xml/maremma.yml +10 -10
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_jats_xml/with_ORCID_ID.yml +16 -16
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_jats_xml/with_data_citation.yml +16 -16
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_jats_xml/with_editor.yml +17 -17
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_ris/BlogPosting.yml +10 -10
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_ris/BlogPosting_schema_org.yml +145 -146
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_ris/Dataset.yml +10 -10
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_ris/alternate_name.yml +8 -8
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_ris/journal_article.yml +9 -9
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_ris/keywords_with_subject_scheme.yml +8 -8
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_ris/maremma.yml +10 -10
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_ris/with_pages.yml +10 -10
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_schema_org/Another_Schema_org_JSON.yml +10 -10
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_schema_org/Funding.yml +13 -13
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_schema_org/Funding_OpenAIRE.yml +13 -13
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_schema_org/Schema_org_JSON.yml +8 -8
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_schema_org/Schema_org_JSON_Cyark.yml +13 -13
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_schema_org/alternate_identifiers.yml +13 -13
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_schema_org/data_catalog.yml +13 -13
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_schema_org/geo_location_box.yml +13 -13
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_schema_org/interactive_resource_without_dates.yml +13 -13
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_schema_org/journal_article.yml +16 -16
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_schema_org/maremma_schema_org_JSON.yml +11 -11
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_schema_org/series_information.yml +17 -16
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_schema_org/subject_scheme.yml +15 -15
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_schema_org/subject_scheme_multiple_keywords.yml +13 -13
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_turtle/BlogPosting.yml +10 -10
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_turtle/Dataset.yml +10 -10
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_turtle/journal_article.yml +16 -16
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_turtle/with_pages.yml +16 -16
- data/spec/readers/cff_reader_spec.rb +2 -20
- data/spec/readers/crossref_reader_spec.rb +10 -16
- data/spec/readers/crossref_xml_reader_spec.rb +61 -64
- data/spec/readers/json_feed_reader_spec.rb +56 -56
- data/spec/readers/schema_org_reader_spec.rb +1 -1
- data/spec/utils_spec.rb +1 -1
- data/spec/writers/crossref_xml_writer_spec.rb +9 -8
- data/spec/writers/csv_writer_spec.rb +1 -1
- data/spec/writers/ris_writer_spec.rb +2 -2
- metadata +2 -11
- data/spec/fixtures/vcr_cassettes/Commonmeta_CLI/convert_file/crossref_xml/to_crossref_xml_refresh.yml +0 -107
- data/spec/fixtures/vcr_cassettes/Commonmeta_CLI/doi_prefix/doi_prefix_by_blog.yml +0 -997
- data/spec/fixtures/vcr_cassettes/Commonmeta_CLI/doi_prefix/doi_prefix_by_uuid.yml +0 -256
- data/spec/fixtures/vcr_cassettes/Commonmeta_CLI/encode/by_uuid.yml +0 -256
- data/spec/fixtures/vcr_cassettes/Commonmeta_CLI/encode/by_uuid_unknown_uuid.yml +0 -49
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_crossref_metadata/missing_creator.yml +0 -307
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_doi_prefix_for_blog/by_blog_post_uuid.yml +0 -136
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/get_doi_prefix_for_blog/by_blog_post_uuid_specific_prefix.yml +0 -256
- data/spec/fixtures/vcr_cassettes/Commonmeta_Metadata/write_metadata_as_crossref/book_oup.yml +0 -107
@@ -1,10 +1,108 @@
|
|
1
1
|
---
|
2
2
|
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.crossref.org/works/10.2172/972169/transform/application/vnd.crossref.unixsd+xml
|
6
|
+
body:
|
7
|
+
encoding: ASCII-8BIT
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Connection:
|
11
|
+
- close
|
12
|
+
Host:
|
13
|
+
- api.crossref.org
|
14
|
+
User-Agent:
|
15
|
+
- http.rb/5.1.1
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Date:
|
22
|
+
- Thu, 05 Oct 2023 19:46:34 GMT
|
23
|
+
Transfer-Encoding:
|
24
|
+
- chunked
|
25
|
+
Link:
|
26
|
+
- <http://dx.doi.org/10.2172/972169>; rel="canonical"
|
27
|
+
Access-Control-Expose-Headers:
|
28
|
+
- Link
|
29
|
+
Access-Control-Allow-Headers:
|
30
|
+
- X-Requested-With, Accept, Accept-Encoding, Accept-Charset, Accept-Language,
|
31
|
+
Accept-Ranges, Cache-Control
|
32
|
+
Access-Control-Allow-Origin:
|
33
|
+
- "*"
|
34
|
+
Server:
|
35
|
+
- Jetty(9.4.40.v20210413)
|
36
|
+
X-Ratelimit-Limit:
|
37
|
+
- '50'
|
38
|
+
X-Ratelimit-Interval:
|
39
|
+
- 1s
|
40
|
+
X-Api-Pool:
|
41
|
+
- public
|
42
|
+
X-Rate-Limit-Limit:
|
43
|
+
- '50'
|
44
|
+
X-Rate-Limit-Interval:
|
45
|
+
- 1s
|
46
|
+
Permissions-Policy:
|
47
|
+
- interest-cohort=()
|
48
|
+
Connection:
|
49
|
+
- close
|
50
|
+
body:
|
51
|
+
encoding: ASCII-8BIT
|
52
|
+
string: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<crossref_result xmlns=\"http://www.crossref.org/qrschema/3.0\"
|
53
|
+
version=\"3.0\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.crossref.org/qrschema/3.0
|
54
|
+
http://www.crossref.org/schemas/crossref_query_output3.0.xsd\">\r\n <query_result>\r\n
|
55
|
+
\ <head>\r\n <doi_batch_id>none</doi_batch_id>\r\n </head>\r\n <body>\r\n
|
56
|
+
\ <query status=\"resolved\">\r\n <doi type=\"report-paper_title\">10.2172/972169</doi>\r\n
|
57
|
+
\ <crm-item name=\"publisher-name\" type=\"string\">Office of Scientific
|
58
|
+
and Technical Information (OSTI)</crm-item>\r\n <crm-item name=\"prefix-name\"
|
59
|
+
type=\"string\">US Department of Energy</crm-item>\r\n <crm-item name=\"member-id\"
|
60
|
+
type=\"number\">960</crm-item>\r\n <crm-item name=\"citation-id\" type=\"number\">41225045</crm-item>\r\n
|
61
|
+
\ <crm-item name=\"book-id\" type=\"number\">584445</crm-item>\r\n <crm-item
|
62
|
+
name=\"deposit-timestamp\" type=\"number\">20100218105553</crm-item>\r\n <crm-item
|
63
|
+
name=\"owner-prefix\" type=\"string\">10.2172</crm-item>\r\n <crm-item
|
64
|
+
name=\"last-update\" type=\"date\">2010-02-19T03:56:05Z</crm-item>\r\n <crm-item
|
65
|
+
name=\"created\" type=\"date\">2010-02-19T03:56:03Z</crm-item>\r\n <crm-item
|
66
|
+
name=\"citedby-count\" type=\"number\">266</crm-item>\r\n <doi_record>\r\n
|
67
|
+
\ <crossref xmlns=\"http://www.crossref.org/xschema/1.0\" xsi:schemaLocation=\"http://www.crossref.org/xschema/1.0
|
68
|
+
http://doi.crossref.org/schemas/unixref1.0.xsd\">\r\n <report-paper
|
69
|
+
publication_type=\"full_text\">\r\n <report-paper_metadata language=\"en\">\r\n
|
70
|
+
\ <contributors>\r\n <person_name sequence=\"first\"
|
71
|
+
contributor_role=\"author\">\r\n <given_name>P.</given_name>\r\n
|
72
|
+
\ <surname>Denholm</surname>\r\n </person_name>\r\n
|
73
|
+
\ <person_name sequence=\"additional\" contributor_role=\"author\">\r\n
|
74
|
+
\ <given_name>E.</given_name>\r\n <surname>Ela</surname>\r\n
|
75
|
+
\ </person_name>\r\n <person_name sequence=\"additional\"
|
76
|
+
contributor_role=\"author\">\r\n <given_name>B.</given_name>\r\n
|
77
|
+
\ <surname>Kirby</surname>\r\n </person_name>\r\n
|
78
|
+
\ <person_name sequence=\"additional\" contributor_role=\"author\">\r\n
|
79
|
+
\ <given_name>M.</given_name>\r\n <surname>Milligan</surname>\r\n
|
80
|
+
\ </person_name>\r\n </contributors>\r\n <titles>\r\n
|
81
|
+
\ <title>Role of Energy Storage with Renewable Electricity
|
82
|
+
Generation</title>\r\n </titles>\r\n <publication_date
|
83
|
+
media_type=\"online\">\r\n <month>01</month>\r\n <day>01</day>\r\n
|
84
|
+
\ <year>2010</year>\r\n </publication_date>\r\n
|
85
|
+
\ <approval_date>\r\n <month>02</month>\r\n
|
86
|
+
\ <day>18</day>\r\n <year>2010</year>\r\n
|
87
|
+
\ </approval_date>\r\n <institution>\r\n <institution_name>National
|
88
|
+
Renewable Energy Laboratory (NREL)</institution_name>\r\n <institution_acronym>NREL</institution_acronym>\r\n
|
89
|
+
\ <institution_place>Golden, CO (United States)</institution_place>\r\n
|
90
|
+
\ </institution>\r\n <institution>\r\n <institution_name>USDOE</institution_name>\r\n
|
91
|
+
\ </institution>\r\n <publisher_item>\r\n <item_number
|
92
|
+
item_number_type=\"report-number\">NREL/TP-6A2-47187</item_number>\r\n <item_number
|
93
|
+
item_number_type=\"sequence-number\">972169</item_number>\r\n </publisher_item>\r\n
|
94
|
+
\ <contract_number>AC36-99-GO10337</contract_number>\r\n <doi_data>\r\n
|
95
|
+
\ <doi>10.2172/972169</doi>\r\n <timestamp>20100218105553</timestamp>\r\n
|
96
|
+
\ <resource>http://www.osti.gov/servlets/purl/972169-1QXROM/</resource>\r\n
|
97
|
+
\ </doi_data>\r\n </report-paper_metadata>\r\n
|
98
|
+
\ </report-paper>\r\n </crossref>\r\n </doi_record>\r\n
|
99
|
+
\ </query>\r\n </body>\r\n </query_result>\r\n</crossref_result>"
|
100
|
+
recorded_at: Thu, 05 Oct 2023 19:46:34 GMT
|
3
101
|
- request:
|
4
102
|
method: get
|
5
103
|
uri: https://doi.org/ra/10.2172
|
6
104
|
body:
|
7
|
-
encoding:
|
105
|
+
encoding: ASCII-8BIT
|
8
106
|
string: ''
|
9
107
|
headers:
|
10
108
|
Connection:
|
@@ -19,7 +117,7 @@ http_interactions:
|
|
19
117
|
message: OK
|
20
118
|
headers:
|
21
119
|
Date:
|
22
|
-
-
|
120
|
+
- Thu, 05 Oct 2023 19:46:35 GMT
|
23
121
|
Content-Type:
|
24
122
|
- application/json;charset=UTF-8
|
25
123
|
Transfer-Encoding:
|
@@ -31,7 +129,7 @@ http_interactions:
|
|
31
129
|
Cf-Cache-Status:
|
32
130
|
- DYNAMIC
|
33
131
|
Report-To:
|
34
|
-
- '{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=
|
132
|
+
- '{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=UWaV%2FM3ooNlB0L2NCLeviEhGKhAxKrau7e9TnryXkpUeFMGo7FVCT3NbBTVx0Y1%2BlvV8dcLSHVDNu5KZ4IhaEVBeCOJmz6TU9i21uIrwnUklgOIt5TdEYWWo1HK2R8nU%2F9MarTw%3D"}],"group":"cf-nel","max_age":604800}'
|
35
133
|
Nel:
|
36
134
|
- '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}'
|
37
135
|
Strict-Transport-Security:
|
@@ -39,7 +137,7 @@ http_interactions:
|
|
39
137
|
Server:
|
40
138
|
- cloudflare
|
41
139
|
Cf-Ray:
|
42
|
-
-
|
140
|
+
- 81182be80d870a67-AMS
|
43
141
|
Alt-Svc:
|
44
142
|
- h3=":443"; ma=86400
|
45
143
|
body:
|
@@ -51,12 +149,12 @@ http_interactions:
|
|
51
149
|
"RA": "Crossref"
|
52
150
|
}
|
53
151
|
]
|
54
|
-
recorded_at:
|
152
|
+
recorded_at: Thu, 05 Oct 2023 19:46:34 GMT
|
55
153
|
- request:
|
56
154
|
method: get
|
57
155
|
uri: https://api.crossref.org/works/10.2172/972169
|
58
156
|
body:
|
59
|
-
encoding:
|
157
|
+
encoding: ASCII-8BIT
|
60
158
|
string: ''
|
61
159
|
headers:
|
62
160
|
Connection:
|
@@ -71,7 +169,7 @@ http_interactions:
|
|
71
169
|
message: OK
|
72
170
|
headers:
|
73
171
|
Date:
|
74
|
-
-
|
172
|
+
- Thu, 05 Oct 2023 19:49:08 GMT
|
75
173
|
Content-Type:
|
76
174
|
- application/json
|
77
175
|
Transfer-Encoding:
|
@@ -103,15 +201,15 @@ http_interactions:
|
|
103
201
|
encoding: UTF-8
|
104
202
|
string: '{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"institution":[{"name":"National
|
105
203
|
Renewable Energy Laboratory (NREL)","acronym":["NREL"],"place":["Golden, CO
|
106
|
-
(United States)"]},{"name":"USDOE"}],"indexed":{"date-parts":[[2023,
|
107
|
-
of Scientific and Technical Information (OSTI)","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":[],"DOI":"10.2172\/972169","type":"report","created":{"date-parts":[[2010,2,19]],"date-time":"2010-02-19T03:56:03Z","timestamp":1266551763000},"approved":{"date-parts":[[2010,2,18]]},"source":"Crossref","is-referenced-by-count":
|
204
|
+
(United States)"]},{"name":"USDOE"}],"indexed":{"date-parts":[[2023,10,5]],"date-time":"2023-10-05T16:02:29Z","timestamp":1696521749783},"reference-count":0,"publisher":"Office
|
205
|
+
of Scientific and Technical Information (OSTI)","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":[],"DOI":"10.2172\/972169","type":"report","created":{"date-parts":[[2010,2,19]],"date-time":"2010-02-19T03:56:03Z","timestamp":1266551763000},"approved":{"date-parts":[[2010,2,18]]},"source":"Crossref","is-referenced-by-count":266,"title":["Role
|
108
206
|
of Energy Storage with Renewable Electricity Generation"],"prefix":"10.2172","author":[{"given":"P.","family":"Denholm","sequence":"first","affiliation":[]},{"given":"E.","family":"Ela","sequence":"additional","affiliation":[]},{"given":"B.","family":"Kirby","sequence":"additional","affiliation":[]},{"given":"M.","family":"Milligan","sequence":"additional","affiliation":[]}],"member":"960","published-online":{"date-parts":[[2010,1,1]]},"container-title":[],"original-title":[],"deposited":{"date-parts":[[2010,2,19]],"date-time":"2010-02-19T03:56:05Z","timestamp":1266551765000},"score":1,"resource":{"primary":{"URL":"http:\/\/www.osti.gov\/servlets\/purl\/972169-1QXROM\/"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2010,1,1]]},"references-count":0,"URL":"http:\/\/dx.doi.org\/10.2172\/972169","relation":{},"published":{"date-parts":[[2010,1,1]]}}}'
|
109
|
-
recorded_at:
|
207
|
+
recorded_at: Thu, 05 Oct 2023 19:49:08 GMT
|
110
208
|
- request:
|
111
209
|
method: get
|
112
210
|
uri: https://api.crossref.org/members/960
|
113
211
|
body:
|
114
|
-
encoding:
|
212
|
+
encoding: ASCII-8BIT
|
115
213
|
string: ''
|
116
214
|
headers:
|
117
215
|
Connection:
|
@@ -126,7 +224,7 @@ http_interactions:
|
|
126
224
|
message: OK
|
127
225
|
headers:
|
128
226
|
Date:
|
129
|
-
-
|
227
|
+
- Thu, 05 Oct 2023 19:49:09 GMT
|
130
228
|
Content-Type:
|
131
229
|
- application/json
|
132
230
|
Transfer-Encoding:
|
@@ -156,17 +254,17 @@ http_interactions:
|
|
156
254
|
- close
|
157
255
|
body:
|
158
256
|
encoding: UTF-8
|
159
|
-
string: '{"status":"ok","message-type":"member","message-version":"1.0.0","message":{"last-status-check-time":
|
160
|
-
of Scientific and Technical Information (OSTI)","counts":{"current-dois":
|
161
|
-
Department of Energy","value":"10.2172"},{"name":"US Department of Energy","value":"10.46936"}],"id":960,"tokens":["office","of","scientific","and","technical","information","osti"],"counts-type":{"all":{"report":
|
257
|
+
string: '{"status":"ok","message-type":"member","message-version":"1.0.0","message":{"last-status-check-time":1696462626946,"primary-name":"Office
|
258
|
+
of Scientific and Technical Information (OSTI)","counts":{"current-dois":19072,"backfile-dois":298961,"total-dois":318033},"breakdowns":{"dois-by-issued-year":[[1995,9394],[1992,9161],[1980,8608],[1993,8386],[1994,8343],[1979,8241],[1996,8169],[1978,7605],[2021,7542],[1997,7353],[1977,6898],[1998,6617],[2022,6611],[2020,6250],[1990,5896],[2015,5805],[2003,5805],[1999,5795],[2012,5626],[2013,5623],[1991,5618],[2018,5597],[1989,5595],[2017,5511],[2016,5494],[2000,5438],[2004,5423],[1981,5417],[1976,5386],[2014,5383],[2005,5122],[2019,5097],[2023,4918],[2002,4808],[2001,4762],[2006,4619],[2011,4379],[2010,4176],[2009,4064],[1982,3826],[1972,3796],[2007,3784],[1975,3767],[2008,3588],[1974,3047],[1971,2997],[1973,2941],[1970,2893],[1983,2817],[1988,2735],[1984,2559],[1987,2329],[1986,2295],[1965,2284],[1969,2258],[1968,2255],[1964,2242],[1967,2226],[1985,2179],[1963,1958],[1966,1895],[1962,1764],[1961,1618],[1960,1565],[1959,1486],[1958,1362],[1956,1295],[1957,1200],[1954,947],[1955,925],[1953,895],[1952,719],[1951,636],[1950,502],[1949,387],[1948,347],[1900,346],[1945,243],[1946,187],[1947,185],[1944,128],[1943,60],[1942,17],[1941,6],[1940,2],[2024,1],[1924,1],[1918,1],[1916,1],[1478,1]]},"prefixes":["10.2172","10.46936"],"coverage":{"affiliations-current":0.8427537751677852,"similarity-checking-current":0.0,"descriptions-current":0.1838296979865772,"ror-ids-current":0.1860843120805369,"funders-backfile":0.02714735366820421,"licenses-backfile":0.0,"funders-current":0.2078963926174497,"affiliations-backfile":0.1647673107863567,"resource-links-backfile":0.0,"orcids-backfile":0.01498857710537495,"update-policies-current":0.0,"ror-ids-backfile":0.0,"orcids-current":0.4386010906040268,"similarity-checking-backfile":0.0,"references-backfile":0.0,"descriptions-backfile":0.0,"award-numbers-backfile":0.02714735366820421,"update-policies-backfile":0.0,"licenses-current":0.0,"award-numbers-current":0.2078963926174497,"abstracts-backfile":0.0,"resource-links-current":0.0,"abstracts-current":0.0,"references-current":0.0},"prefix":[{"name":"US
|
259
|
+
Department of Energy","value":"10.2172"},{"name":"US Department of Energy","value":"10.46936"}],"id":960,"tokens":["office","of","scientific","and","technical","information","osti"],"counts-type":{"all":{"report":300102,"journal-article":3,"proceedings-article":5847,"grant":12173},"backfile":{"report":288463,"journal-article":3,"proceedings-article":2379,"grant":8116},"current":{"report":11639,"proceedings-article":3468,"grant":3965}},"coverage-type":{"all":{"report":{"last-status-check-time":1696462626946,"affiliations":0.195883399644121,"abstracts":0.0,"orcids":0.02990649845719122,"licenses":0.0,"references":0.0,"funders":0.0,"similarity-checking":0.0,"award-numbers":0.0,"ror-ids":0.0,"update-policies":0.0,"resource-links":0.0,"descriptions":0.0},"journal-article":{"last-status-check-time":1696462626946,"affiliations":0.0,"abstracts":0.0,"orcids":0.0,"licenses":0.0,"references":0.0,"funders":0.0,"similarity-checking":0.0,"award-numbers":0.0,"ror-ids":0.0,"update-policies":0.0,"resource-links":0.0,"descriptions":0.0},"proceedings-article":{"last-status-check-time":1696462626946,"affiliations":0.4799042243885753,"abstracts":0.0,"orcids":0.0405336069779374,"licenses":0.0,"references":0.0,"funders":0.0,"similarity-checking":0.0,"award-numbers":0.0,"ror-ids":0.0,"update-policies":0.0,"resource-links":0.0,"descriptions":0.0},"grant":{"last-status-check-time":1696462626946,"affiliations":0.3081409677154358,"abstracts":0.0,"orcids":0.2991045757003204,"licenses":0.0,"references":0.0,"funders":1.0,"similarity-checking":0.0,"award-numbers":1.0,"ror-ids":0.2923683561981434,"update-policies":0.0,"resource-links":0.0,"descriptions":0.2880144582272242}},"backfile":{"report":{"last-status-check-time":1696462626946,"affiliations":0.1659380925803309,"abstracts":0.0,"orcids":0.01515618987530463,"licenses":0.0,"references":0.0,"funders":0.0,"similarity-checking":0.0,"award-numbers":0.0,"ror-ids":0.0,"update-policies":0.0,"resource-links":0.0,"descriptions":0.0},"journal-article":{"last-status-check-time":1696462626946,"affiliations":0.0,"abstracts":0.0,"orcids":0.0,"licenses":0.0,"references":0.0,"funders":0.0,"similarity-checking":0.0,"award-numbers":0.0,"ror-ids":0.0,"update-policies":0.0,"resource-links":0.0,"descriptions":0.0},"proceedings-article":{"last-status-check-time":1696462626946,"affiliations":0.5834384195039933,"abstracts":0.0,"orcids":0.04497688104245481,"licenses":0.0,"references":0.0,"funders":0.0,"similarity-checking":0.0,"award-numbers":0.0,"ror-ids":0.0,"update-policies":0.0,"resource-links":0.0,"descriptions":0.0},"grant":{"last-status-check-time":1696462626946,"affiliations":4.928536224741252E-4,"abstracts":0.0,"orcids":2.464268112370626E-4,"licenses":0.0,"references":0.0,"funders":1.0,"similarity-checking":0.0,"award-numbers":1.0,"ror-ids":0.0,"update-policies":0.0,"resource-links":0.0,"descriptions":0.0}},"current":{"report":{"last-status-check-time":1696462626946,"affiliations":0.9380530973451326,"abstracts":0.0,"orcids":0.3954807114013231,"licenses":0.0,"references":0.0,"funders":0.0,"similarity-checking":0.0,"award-numbers":0.0,"ror-ids":0.0,"update-policies":0.0,"resource-links":0.0,"descriptions":0.0},"proceedings-article":{"last-status-check-time":1696462626946,"affiliations":0.408881199538639,"abstracts":0.0,"orcids":0.03748558246828143,"licenses":0.0,"references":0.0,"funders":0.0,"similarity-checking":0.0,"award-numbers":0.0,"ror-ids":0.0,"update-policies":0.0,"resource-links":0.0,"descriptions":0.0},"grant":{"last-status-check-time":1696462626946,"affiliations":0.9424968474148802,"abstracts":0.0,"orcids":0.916015132408575,"licenses":0.0,"references":0.0,"funders":1.0,"similarity-checking":0.0,"award-numbers":1.0,"ror-ids":0.8950819672131148,"update-policies":0.0,"resource-links":0.0,"descriptions":0.8842370744010088}}},"flags":{"deposits-abstracts-current":false,"deposits-orcids-current":true,"deposits":true,"deposits-affiliations-backfile":true,"deposits-update-policies-backfile":false,"deposits-similarity-checking-backfile":false,"deposits-award-numbers-current":true,"deposits-resource-links-current":false,"deposits-ror-ids-current":true,"deposits-articles":true,"deposits-affiliations-current":true,"deposits-funders-current":true,"deposits-references-backfile":false,"deposits-ror-ids-backfile":false,"deposits-abstracts-backfile":false,"deposits-licenses-backfile":false,"deposits-award-numbers-backfile":true,"deposits-descriptions-current":true,"deposits-references-current":false,"deposits-resource-links-backfile":false,"deposits-descriptions-backfile":false,"deposits-orcids-backfile":true,"deposits-funders-backfile":true,"deposits-update-policies-current":false,"deposits-similarity-checking-current":false,"deposits-licenses-current":false},"location":"Oak
|
162
260
|
Ridge, TX, United States","names":["Office of Scientific and Technical Information
|
163
261
|
(OSTI)","US Department of Energy"]}}'
|
164
|
-
recorded_at:
|
262
|
+
recorded_at: Thu, 05 Oct 2023 19:49:09 GMT
|
165
263
|
- request:
|
166
264
|
method: get
|
167
265
|
uri: https://doi.org/ra/10.2172
|
168
266
|
body:
|
169
|
-
encoding:
|
267
|
+
encoding: ASCII-8BIT
|
170
268
|
string: ''
|
171
269
|
headers:
|
172
270
|
Connection:
|
@@ -181,7 +279,7 @@ http_interactions:
|
|
181
279
|
message: OK
|
182
280
|
headers:
|
183
281
|
Date:
|
184
|
-
-
|
282
|
+
- Thu, 05 Oct 2023 19:49:09 GMT
|
185
283
|
Content-Type:
|
186
284
|
- application/json;charset=UTF-8
|
187
285
|
Transfer-Encoding:
|
@@ -193,7 +291,7 @@ http_interactions:
|
|
193
291
|
Cf-Cache-Status:
|
194
292
|
- DYNAMIC
|
195
293
|
Report-To:
|
196
|
-
- '{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=
|
294
|
+
- '{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=b6dTab5OQt2OKyhSIY7jOq11tjJ0wYrTZSqY5%2B8PpzrlAPKQTlbh1Nm5%2BK4WQqU8gvfHWgBFsPfFN5DrmpQZf0N7JIumQ7i4JV2yxK1PlQCF%2Fzd9pT%2BRcDDYQSHnW8BPOFLS39E%3D"}],"group":"cf-nel","max_age":604800}'
|
197
295
|
Nel:
|
198
296
|
- '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}'
|
199
297
|
Strict-Transport-Security:
|
@@ -201,7 +299,7 @@ http_interactions:
|
|
201
299
|
Server:
|
202
300
|
- cloudflare
|
203
301
|
Cf-Ray:
|
204
|
-
-
|
302
|
+
- 81182fad3bb30a54-AMS
|
205
303
|
Alt-Svc:
|
206
304
|
- h3=":443"; ma=86400
|
207
305
|
body:
|
@@ -213,103 +311,5 @@ http_interactions:
|
|
213
311
|
"RA": "Crossref"
|
214
312
|
}
|
215
313
|
]
|
216
|
-
recorded_at:
|
217
|
-
|
218
|
-
method: get
|
219
|
-
uri: https://api.crossref.org/works/10.2172/972169/transform/application/vnd.crossref.unixsd+xml
|
220
|
-
body:
|
221
|
-
encoding: UTF-8
|
222
|
-
string: ''
|
223
|
-
headers:
|
224
|
-
Connection:
|
225
|
-
- close
|
226
|
-
Host:
|
227
|
-
- api.crossref.org
|
228
|
-
User-Agent:
|
229
|
-
- http.rb/5.1.1
|
230
|
-
response:
|
231
|
-
status:
|
232
|
-
code: 200
|
233
|
-
message: OK
|
234
|
-
headers:
|
235
|
-
Date:
|
236
|
-
- Sun, 18 Jun 2023 15:25:12 GMT
|
237
|
-
Transfer-Encoding:
|
238
|
-
- chunked
|
239
|
-
Link:
|
240
|
-
- <http://dx.doi.org/10.2172/972169>; rel="canonical"
|
241
|
-
Access-Control-Expose-Headers:
|
242
|
-
- Link
|
243
|
-
Access-Control-Allow-Headers:
|
244
|
-
- X-Requested-With, Accept, Accept-Encoding, Accept-Charset, Accept-Language,
|
245
|
-
Accept-Ranges, Cache-Control
|
246
|
-
Access-Control-Allow-Origin:
|
247
|
-
- "*"
|
248
|
-
Server:
|
249
|
-
- Jetty(9.4.40.v20210413)
|
250
|
-
X-Ratelimit-Limit:
|
251
|
-
- '50'
|
252
|
-
X-Ratelimit-Interval:
|
253
|
-
- 1s
|
254
|
-
X-Api-Pool:
|
255
|
-
- public
|
256
|
-
X-Rate-Limit-Limit:
|
257
|
-
- '50'
|
258
|
-
X-Rate-Limit-Interval:
|
259
|
-
- 1s
|
260
|
-
Permissions-Policy:
|
261
|
-
- interest-cohort=()
|
262
|
-
Connection:
|
263
|
-
- close
|
264
|
-
body:
|
265
|
-
encoding: ASCII-8BIT
|
266
|
-
string: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<crossref_result xmlns=\"http://www.crossref.org/qrschema/3.0\"
|
267
|
-
version=\"3.0\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.crossref.org/qrschema/3.0
|
268
|
-
http://www.crossref.org/schemas/crossref_query_output3.0.xsd\">\r\n <query_result>\r\n
|
269
|
-
\ <head>\r\n <doi_batch_id>none</doi_batch_id>\r\n </head>\r\n <body>\r\n
|
270
|
-
\ <query status=\"resolved\">\r\n <doi type=\"report-paper_title\">10.2172/972169</doi>\r\n
|
271
|
-
\ <crm-item name=\"publisher-name\" type=\"string\">Office of Scientific
|
272
|
-
and Technical Information (OSTI)</crm-item>\r\n <crm-item name=\"prefix-name\"
|
273
|
-
type=\"string\">US Department of Energy</crm-item>\r\n <crm-item name=\"member-id\"
|
274
|
-
type=\"number\">960</crm-item>\r\n <crm-item name=\"citation-id\" type=\"number\">41225045</crm-item>\r\n
|
275
|
-
\ <crm-item name=\"book-id\" type=\"number\">584445</crm-item>\r\n <crm-item
|
276
|
-
name=\"deposit-timestamp\" type=\"number\">20100218105553</crm-item>\r\n <crm-item
|
277
|
-
name=\"owner-prefix\" type=\"string\">10.2172</crm-item>\r\n <crm-item
|
278
|
-
name=\"last-update\" type=\"date\">2010-02-18T22:56:05Z</crm-item>\r\n <crm-item
|
279
|
-
name=\"created\" type=\"date\">2010-02-18T22:56:03Z</crm-item>\r\n <crm-item
|
280
|
-
name=\"citedby-count\" type=\"number\">260</crm-item>\r\n <doi_record>\r\n
|
281
|
-
\ <crossref xmlns=\"http://www.crossref.org/xschema/1.0\" xsi:schemaLocation=\"http://www.crossref.org/xschema/1.0
|
282
|
-
http://doi.crossref.org/schemas/unixref1.0.xsd\">\r\n <report-paper
|
283
|
-
publication_type=\"full_text\">\r\n <report-paper_metadata language=\"en\">\r\n
|
284
|
-
\ <contributors>\r\n <person_name sequence=\"first\"
|
285
|
-
contributor_role=\"author\">\r\n <given_name>P.</given_name>\r\n
|
286
|
-
\ <surname>Denholm</surname>\r\n </person_name>\r\n
|
287
|
-
\ <person_name sequence=\"additional\" contributor_role=\"author\">\r\n
|
288
|
-
\ <given_name>E.</given_name>\r\n <surname>Ela</surname>\r\n
|
289
|
-
\ </person_name>\r\n <person_name sequence=\"additional\"
|
290
|
-
contributor_role=\"author\">\r\n <given_name>B.</given_name>\r\n
|
291
|
-
\ <surname>Kirby</surname>\r\n </person_name>\r\n
|
292
|
-
\ <person_name sequence=\"additional\" contributor_role=\"author\">\r\n
|
293
|
-
\ <given_name>M.</given_name>\r\n <surname>Milligan</surname>\r\n
|
294
|
-
\ </person_name>\r\n </contributors>\r\n <titles>\r\n
|
295
|
-
\ <title>Role of Energy Storage with Renewable Electricity
|
296
|
-
Generation</title>\r\n </titles>\r\n <publication_date
|
297
|
-
media_type=\"online\">\r\n <month>01</month>\r\n <day>01</day>\r\n
|
298
|
-
\ <year>2010</year>\r\n </publication_date>\r\n
|
299
|
-
\ <approval_date>\r\n <month>02</month>\r\n
|
300
|
-
\ <day>18</day>\r\n <year>2010</year>\r\n
|
301
|
-
\ </approval_date>\r\n <institution>\r\n <institution_name>National
|
302
|
-
Renewable Energy Laboratory (NREL)</institution_name>\r\n <institution_acronym>NREL</institution_acronym>\r\n
|
303
|
-
\ <institution_place>Golden, CO (United States)</institution_place>\r\n
|
304
|
-
\ </institution>\r\n <institution>\r\n <institution_name>USDOE</institution_name>\r\n
|
305
|
-
\ </institution>\r\n <publisher_item>\r\n <item_number
|
306
|
-
item_number_type=\"report-number\">NREL/TP-6A2-47187</item_number>\r\n <item_number
|
307
|
-
item_number_type=\"sequence-number\">972169</item_number>\r\n </publisher_item>\r\n
|
308
|
-
\ <contract_number>AC36-99-GO10337</contract_number>\r\n <doi_data>\r\n
|
309
|
-
\ <doi>10.2172/972169</doi>\r\n <timestamp>20100218105553</timestamp>\r\n
|
310
|
-
\ <resource>http://www.osti.gov/servlets/purl/972169-1QXROM/</resource>\r\n
|
311
|
-
\ </doi_data>\r\n </report-paper_metadata>\r\n
|
312
|
-
\ </report-paper>\r\n </crossref>\r\n </doi_record>\r\n
|
313
|
-
\ </query>\r\n </body>\r\n </query_result>\r\n</crossref_result>"
|
314
|
-
recorded_at: Sun, 18 Jun 2023 15:25:12 GMT
|
315
|
-
recorded_with: VCR 6.1.0
|
314
|
+
recorded_at: Thu, 05 Oct 2023 19:49:09 GMT
|
315
|
+
recorded_with: VCR 6.2.0
|