vaxscience's People
Forkers
nsmgr8vaxscience's Issues
TODO: MeSH tutorial
Complete this tutorial:
https://www.nlm.nih.gov/bsd/disted/meshtutorial/introduction/index.html
Widen the Abstract and Affiliation fields
Widen the Abstract and Affiliation fields
Replace list format with semicolons in the table
In the table, replace the display of the list with semicolons
{{ cell.value | replace('", "','; ') | replace('[\"','') | replace('\"]','')}}
Dedupe Affiliations
Dedupe affiliations
Aggregate Main Topics
How to convert
Purpura, Thrombocytopenic, Idiopathic/*chemically induced
Purpura, Thrombocytopenic, Idiopathic/*complications/pathology/therapy
Purpura, Thrombocytopenic, Idiopathic/blood/*chemically induced/immunology/therapy
Purpura, Thrombocytopenic, Idiopathic/blood/*etiology
Purpura, Thrombocytopenic, Idiopathic/blood/*etiology/immunology
Purpura, Thrombocytopenic, Idiopathic/blood/*etiology/therapy
to just "Purpura, Thrombocytopenic, Idiopathic"
Somewhere in here:
row['Main_Topic'] = [item for item in mesh if '*' in item]
Link Spreadsheet to Live site
enable updating the Spreadsheet to update the website
Enable live website
theme the website
theme the website to React19.org header
Add general search
Move Spreadsheet to new format;
Add permissions on New Sheet
remove link field. replace with linked ID fields
rename database and change associated documentation
so that url will be ../research/articles.. instead of ../articles/articles...
Remove column SQL builder
Just as in #1, some asterisked items didn't move over to the Main_Topic field
Parallel to #1
Run transform.py
on articles.json
as follows
% brew install jq
% python3 transform.py | jq --monochrome-output . >articles2.transformed.json
Note that in this sample record, one of the Demographic entries ( "*Peripheral Nervous System Diseases") didn't move over from the MeSH field to the Main_Topic field. In some records they all properly move over, but sometimes they don't. There's seemingly no consistently about which items are missed.
"MeSH": [
"*COVID-19/prevention & control",
"COVID-19 Vaccines/adverse effects",
"*Peripheral Nervous System Diseases",
"SARS-CoV-2"
],
"Main_Topic": [
"*COVID-19"
],
transform.py does not consistently create Demographics field correctly
Run transform.py
on articles.json
as follows
% brew install jq
% python3 transform.py | jq --monochrome-output . >articles2.transformed.json
Note that in this sample record ("PMID": 34668274), two of the Demographic entries ("Aged" and "Middle Aged") didn't move over from the MeSH field to the Demographics field. In some records they all properly move over, but sometimes they don't. There's seemingly no consistently about which items are missed.
"MeSH": [
"2019-nCoV Vaccine mRNA-1273",
"Aged",
"BNT162 Vaccine",
"*COVID-19",
"COVID-19 Vaccines",
"*Guillain-Barre Syndrome",
"Middle Aged",
"*Peripheral Nervous System Diseases",
"SARS-CoV-2",
"Vaccination/adverse effects"
],
"Demographics": [
"Adult",
"Aged, 80 and over",
"Female",
"Humans",
"Young Adult"
]
The goal is that each item in MeSH that appears in demographic_list
should move to Demographics
(be removed from MeSH and appended to Demographics).
Once we figure this out, I'll be exploring more ways to break up the MeSH terms into more manageable fields.
remove the original title
Plugin to remove unwanted Suggested Facets
By default, Datasette is offering these suggested facets in the following order.
Main_Topic, Title, Link(s), Demographics, Abstract, MeSH, Author(s), Affiliation, PMID, PMCID, PubDate, article_title, Section, Subsection, PubType, PubDate (date), Main_Topic (array), Demographics (array), MeSH (array), Author(s) (array), Affiliation (array)
Replace this with
Main_Topic*, Demographics*, MeSH*, Author(s)*, Section, Subsection, PubType
- Asterisked fields (the first four facets) should be displayed in the Array version. Remove the asterisks before displaying.
there may be some model code (though by a relative newbie coder) here:
https://github.com/mroswell/list-N/tree/main/plugins
or
https://datasette.io/plugins
Create subdomain: research.react19.org
Create subdomain: research.react19.org
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.