Git Product home page Git Product logo

Comments (5)

lfaucon avatar lfaucon commented on August 30, 2024

Assigned @jstainer-kleis because I believe you already had such a script laying around. Please unassign yourself otherwise :)

from tournesol-meta.

jstainer-kleis avatar jstainer-kleis commented on August 30, 2024

I have a quick and dirty set of scripts. It allows:

  • importing the public dataset that used to be distributed into the database with the new schema (from tournesol-backend repository)
  • fetching the metadata of referenced videos (for now I only insert the title in DB, but the full metadata is retrieved)
  • dumping SQL commands that could be directly used to fill the DB (without going through the previous steps)
  • exporting a tarball containing the videos metadata

I'm not sure what and how to commit though.

  • should I put the original .csv files somewhere?
  • should I push the scripts to fill the DB from these or just the SQL file?
  • should I put the tarball with the videos metadata somewhere? just the scripts to fetch / export them?
  • should I insert more metadata in the video table (i.e. duration or things like that instead of just the title)?

If the public dataset distribution format is kept as-is for the foreseeable future I guess that the scripts should be made more robust but the SQL file may be more convenient. However, in the current form it contains data crawled from Youtube and I'm not sure we're allowed to distribute that. The same question arises for the videos metadata tarball, maybe even for the script to fetch them using youtube-dl...

IANAL, before pushing anything I'll wait for an informed PoV (@mahdi ?) on this topic.

from tournesol-meta.

lfaucon avatar lfaucon commented on August 30, 2024

Edited:

NOT Blocked by #45

from tournesol-meta.

jstainer-kleis avatar jstainer-kleis commented on August 30, 2024

Blocked by #45

I don't think it's a blocker, migration from the current schema to the future one will be easier than modifying the scripts to adapt them to the new schema.

from tournesol-meta.

lfaucon avatar lfaucon commented on August 30, 2024

Correct! I agree

from tournesol-meta.

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.