Giter VIP home page Giter VIP logo

Comments (3)

maurolepore avatar maurolepore commented on June 27, 2024

@gonzalezeb,

Here is what I think the process would look like. It seems more difficult to explain than to do. Hopefully what I say here makes sense, but it might be better to practice with a tiny, dummy database with the most important columns and 2-3 rows (e.g. table site with columns site and equation_id, and table equations with columns equation_id and equation_allometry).

  1. If you add a new site, you would add a row in the sites table (sitespecies I believe?).

    1.1. If that new site uses an equation_allometry that already exists in the equations table, then in the sites table add the equation_id corresponding to the relevant equation_allometry (which lives in the equations table).

    1.2. If that new site uses a new equation_allometry -- i.e. not already in the equations table -- then you would add a new row in the equations table: Populate the column equation_allometry with whatever you get from the literature, and populate the column equation_id with a random id from data-raw/available_random_ids.csv (here). (Remove each id that you pick, so you don't assign the same id to two different equations).

  2. If you add a new equation for an already existing site, then the equations table gets a new row as in 1.2.. And the sites table also gets a new row, where the value for the column equation_id matches the equation_id correponding to the relevant equation_allometry in the equaitons table.

Again, I'm afraid my explanation might be unclear or my rationale wrong. Best to practice and check we got it rigth. We could meet online if you want, and try a few things together.

from allodb.

maurolepore avatar maurolepore commented on June 27, 2024

Sorry, I closed accidentally.

from allodb.

maurolepore avatar maurolepore commented on June 27, 2024

Closing because this has been already discussed and we are ok.

from allodb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.