Comments (3)
(c) A cross-reference table
DataSetID integer NOT NULL,
pub_id varchar NOT NULL,
relationship varchar NOT NULL,
notes text,
CONSTRAINT data_pub_xref_pk PRIMARY KEY ("DataSetID",pub_id,relationship)
- I include relationship in the pk because, theoretically, a paper could appear in more than one of those elements. Not likely, and I will entertain argument to remove that from pk.
- All three of those pk columns must be a controlled vocab. The relationships can be in a CHECK constraint for the three elements you mentioned, plus 'undefined' for wiggle room. Obviously the parent for DataSetID table DataSet. The parent for pub_id will be whatever that site uses locally. That does present an install challenge.
- Because we want to keep our core-mb at 4th normal form.
- Because the biblio schema already supports pub_id (although I forget the name of that column, but you get the idea.) A site may have another schema for pubs, as MCR does, but still want to use that schema together with core-mb.
- How the citation text string or pieces are stored is outside the scope of core-mb and within scope of a biblio schema. Ideally that biblio schema is within the same database as core-mb so it is accessible to VIEWs and and FKs.
from lter-core-metabase.
Side comment: usageCitation
within the EML is not how I want to manage that information. External tools allow us to add such relationships after a revision of a dataset gets its doi minted. You can see how, otherwise, one has a chicken-and-egg conundrum.
from lter-core-metabase.
I see your point about usageCitation.
How would you enforce (0, 1) between a dataset and a publication for referencePublication?
from lter-core-metabase.
Related Issues (20)
- The keywords EML view (mb2eml_r.vw_eml_keyword) joins all instances of a keyword, regardless of ThesaurusID HOT 4
- Update docs to indicate which tables are required
- remove public schema from OBF HOT 1
- change "DataSetMethodSteps" table name to "DataSetMethod" HOT 3
- implement boilerplate `SubtractFromID` idea to allow same IDs on different scope HOT 10
- compare original eml to MetaEgres eml from mb
- diff OBF from Gastil's mac mini to OBF from BLE HOT 2
- dataset_archive_id not matching DataSetID in example rows
- suggest ListTaxonomicProviders rename EMLTaxonomicProviders HOT 2
- suggested list of taxonomic ID providers HOT 3
- add "docbook" to be an abstract and method description type HOT 4
- ListSites.AltitudeUnits char limit too short HOT 4
- varchar limit temporal_type column in pkg_sort is too short
- FK in DataSetAttributeAnnotation references wrong columns in DataSetAttributes HOT 2
- content for a scratch table of EML 2.2 units
- use ListMissingCodes for enumeration codes as well HOT 14
- Patch 41 causes problems in an EML view (mb2eml_r.vw_eml_attributecodedefinition) HOT 6
- README.md wrong url for quick overview metabase schema hyperlink ? HOT 2
- The keywords view (mb2eml_r.vw_eml_keyword) merges in all instances of a keyword, regardless of ThesaurusID HOT 1
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.
from lter-core-metabase.