Skip to content

Commit

Permalink
fix(open-science-policy): Wording
Browse files Browse the repository at this point in the history
  • Loading branch information
annelhote committed Jan 14, 2025
1 parent 0524fbb commit 8ad455b
Show file tree
Hide file tree
Showing 3 changed files with 87 additions and 22 deletions.
71 changes: 65 additions & 6 deletions src/pages/Declinaisons/Policy/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,12 @@ const Policy = () => {
const y = Object.keys(tmp)
.filter((key) => key <= year)
.reduce((acc, curr) => acc + tmp[curr].y, 0);
series1[year] = { name: year, y, y_percent: (y / data.length) * 100 };
series1[year] = {
name: year,
total: data.length,
y,
y_percent: (y / data.length) * 100,
};
});
const options1Tmp = getGraphOptions({ id: id1, intl });
options1Tmp.xAxis.tickInterval = 1;
Expand Down Expand Up @@ -159,6 +164,7 @@ const Policy = () => {
color: colorFromPolicyExists[item?.name] ?? getCSSValue('--g-500'),
name: item?.name ?? 'Pas de réponse',
order: orderFromPolicyExists[item?.name] ?? 0,
total: data.length,
y_percent: (item.y / data.length) * 100,
}))
.sort((a, b) => b.order - a.order);
Expand Down Expand Up @@ -221,7 +227,27 @@ const Policy = () => {
<FormattedMessage
id='other.policy.open-science-policy-contact'
values={{
cta: (chunks) => (
cta0: (chunks) => (
<a
className='external_link'
href='https://hal-lara.archives-ouvertes.fr/hal-04842977'
rel='noreferrer'
target='_blank'
>
{chunks}
</a>
),
cta1: (chunks) => (
<a
className='external_link'
href='https://www.ouvrirlascience.fr'
rel='noreferrer'
target='_blank'
>
{chunks}
</a>
),
cta2: (chunks) => (
<a
className='external_link'
href='mailto:[email protected]'
Expand Down Expand Up @@ -290,10 +316,23 @@ const Policy = () => {
<table>
<thead>
<tr>
<th scope='col'>Établissement</th>
<th scope='col'>Année de publication du document-cadre</th>
<th scope='col'>
Lien vers le document-cadre le plus récent
<FormattedMessage
id='other.policy.institutions'
defaultMessage='Etablissement'
/>
</th>
<th scope='col'>
<FormattedMessage
id='other.policy.publication_year'
defaultMessage='Année de publication du document-cadre'
/>
</th>
<th scope='col'>
<FormattedMessage
id='other.policy.link'
defaultMessage='Lien vers le document-cadre le plus récent'
/>
</th>
</tr>
</thead>
Expand Down Expand Up @@ -332,7 +371,27 @@ const Policy = () => {
<FormattedMessage
id='other.policy.open-science-policy-contact'
values={{
cta: (chunks) => (
cta0: (chunks) => (
<a
className='external_link'
href='https://hal-lara.archives-ouvertes.fr/hal-04842977'
rel='noreferrer'
target='_blank'
>
{chunks}
</a>
),
cta1: (chunks) => (
<a
className='external_link'
href='https://www.ouvrirlascience.fr'
rel='noreferrer'
target='_blank'
>
{chunks}
</a>
),
cta2: (chunks) => (
<a
className='external_link'
href='mailto:[email protected]'
Expand Down
19 changes: 11 additions & 8 deletions src/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -931,15 +931,18 @@
"app.national-publi.others.retractions.chart-by-reason.title": "Reason of retraction for French publications",
"app.national-publi.others.retractions.chart-by-reason.tooltip": "<b>{point.y} retracted publications</b> for reason {point.reason}",
"app.national-other.policy.open-science-policy.title": "Number of institutions with an open science policy",
"other.policy.open-science-policy-contact": "TO_BE_TRANSLATED",
"other.policy.open-science-policy.title": "Evolution of the number of institutions with an open science policy",
"other.policy.open-science-policy.tooltip": "In {point.x}, <b>{point.y}</b> institution(s) had an open science policy whose year of adoption is known,<br>ie. <b>{point.y_percent:.2f}%</b> des respondents.",
"other.policy.open-science-policy.comments": "TO_BE_TRANSLATED",
"other.policy.open-science-policy-contact": "These data come from a survey carried out at the beginning of 2024 by the MESR, the results of which have been published in a report (DOI: <cta0>10.52949/80</cta0>, see also the blog post in <cta1>Ouvrirlascience.fr</cta1>). From 2025 onwards, the dataset presented here will be updated or enriched with new information, through reports made by establishments and through systematic monitoring by the ministry.<linebreak></linebreak>To let us know about the adoption of a document on open science policy by your institution, the update of an existing policy, or a broken link, please write to us at <cta2>[email protected]</cta2>.",
"other.policy.open-science-policy.title": "Evolution of the number of institutions which have adopted an open science policy",
"other.policy.open-science-policy.tooltip": "In {point.x}, <b>{point.y}</b> institution(s) had an open science policy with a known date of adoption,<br>ie. <b>{point.y_percent:.2f}%</b> out of {point.total} institutions",
"other.policy.open-science-policy.comments": "This graph shows the rising number of institutions declaring that they have an open science policy and its year of adoption. The reference year is the year in which the first open science policy was adopted. The green section of the graph represents the period of the first French Plan for Open Science, between 2018 and 2021, and the yellow section, the period of the second French Plan since 2021.",
"app.national-other.policy.open-science-document.title": "Existence of an open science policy document",
"other.policy.open-science-document.title": "Existence of an open science policy document",
"other.policy.open-science-document.tooltip": "<b>{point.y_percent:.2f}%</b> of respondents answered {point.name} to the question<br>of the existence of a document specifying the open science policy either <b>{point.y}</b> institution(s)",
"other.policy.open-science-document.comments": "TO_BE_TRANSLATED",
"other.policy.open-science-document.title": "Existence of a document setting out the open science policy",
"other.policy.open-science-document.tooltip": "<b>{point.y_percent:.2f}%</b> institutions answered {point.name} to the question<br>of the existence of a document specifying the open science policy,<br>either <b>{point.y}</b> institution(s) out of a total of {point.total}",
"other.policy.open-science-document.comments": "This graph represents the proportion of institutions that reported the existence of a document specifying the open science policy.",
"other.policy.open-science-document.label.not_yet": "Not yet,<br/>but we are working on it",
"other.policy.institutions": "Institutions",
"other.policy.publication_year": "Publication year of the framework document",
"other.policy.link": "Link to the most recent framework document",
"app.navigation.objet-recherche": "Research object navigation",
"app.methodologie.publication": "Methodology for monitoring open access to publications",
"app.methodologie.publication.description-fr": "Methodology in French (.pdf)",
Expand Down Expand Up @@ -1503,5 +1506,5 @@
"app.worksmagnet.title": "Works-magnet: a tool for metadata specialists",
"app.worksmagnet.paragraph1": "The works-magnet offers a number of curation functions. The tool is therefore aimed at specialists who can judge the quality of metadata. The tool interrogates various massive databases (OpenAlex, BSO, Datacite) and formats the information to facilitate exploration and correction where necessary. These massive databases each use large-scale automatic processing tools. An expert curatorial eye is needed to continue to improve the quality of the metadata. As far as possible, the corrections resulting from these curations are fed back upstream to ensure that the same errors are not repeated. The aim is to build up a set of high-quality metadata that can be re-used by anyone who wishes to do so. The aim is to propose a new curation paradigm: curation is not carried out in a two-way relationship between a producer and a consumer of data. Instead, a group of data users propose corrections that are visible to all, and that can benefit everyone. As well as correcting the cases reported, in some cases the data collected can also be re-used as learning data for algorithms, so that the models used in the future are more effective.",
"app.worksmagnet.paragraph2": "One of the major features of the works-magnet is the improvement of affiliation metadata. This is of vital importance in the bibliometric analyses carried out by institutions. They are also used to establish the Leiden ranking (open). Improving the quality of this data will enable us to benefit collectively from more reliable monitoring and analysis tools in the future.",
"app.worksmagnet.paragraph3": "The works-magnet aims to fill a gap: at a time when open research information (to use the terms of the Barcelona Declaration) is progressing rapidly, there is a clear need to draw on the knowledge of experts to raise the level of quality of metadata. It is highly likely that in the months and years to come, more structured networks for collecting information will be set up, for example by OpenAlex or following the work of the COMET working group initiated by the California Digital Library. It may take a long time to set up this kind of structure, and the works-magnet is positioning itself to meet this need as of now."
"app.worksmagnet.paragraph3": "The works-magnet aims to fill a gap: at a time when \"open research information\" (to use the terms of the Barcelona Declaration) is progressing rapidly, there is a clear need to draw on the knowledge of experts to raise the level of quality of metadata. It is highly likely that in the months and years to come, more structured networks for collecting information will be set up, for example by OpenAlex or following the work of the COMET working group initiated by the California Digital Library. It may take a long time to set up this kind of structure, and the works-magnet is positioning itself to meet this need as of now."
}
Loading

0 comments on commit 8ad455b

Please sign in to comment.