Skip to content

Commit

Permalink
Update starting year for publications
Browse files Browse the repository at this point in the history
  • Loading branch information
bherr2 committed May 28, 2024
1 parent 2664a86 commit a0aeb95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions data/data/hra-growth.csv
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ experts,2023-08-18,1,2
experts,2023-12-01,6,2
experts,2023-12-05,1,2
experts,2023-12-15,8,2
publications,2019-01-01,211480,3
publications,2020-01-01,228935,3
publications,2021-01-01,242865,3
publications,2022-01-01,234436,3
Expand Down
2 changes: 1 addition & 1 deletion src/data/combine-growth-data.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ function parseAtlas() {

function parseHraLit() {
const entries = readCsv(HRAlit)
.filter((row) => row.pubyear && row.pubyear > 2019)
.filter((row) => row.pubyear && row.pubyear >= 2019)
.map((row) => [`${row.pubyear || '0000'}-01-01`, 1]);
return accumulate('publications', 3, entries);
}
Expand Down

0 comments on commit a0aeb95

Please sign in to comment.