Coder Social home page Coder Social logo

juzraai / cordis-projects-crawler Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 1.39 MB

Retrieves data of all projects on CORDIS

Home Page: https://juzraai.github.io/cordis-projects-crawler/

License: MIT License

Kotlin 96.50% HTML 3.50%
cordis cordis-parser crawler open-data

cordis-projects-crawler's People

Contributors

juzraai avatar

Stargazers

 avatar

Watchers

 avatar  avatar

cordis-projects-crawler's Issues

H2020 compatible

Is this crawler H2020 file format compatible?
Also, some results briefs are published for fp7.

Add seed: RCN list file

What problem this feature would solve (e.g. who needs it and why)

One may collect RCNs by hand into a spreadsheet, it may be difficult to generate a -s rcn1,rcn2,... list.

How would it solve it

It would be easier to export the RCN column or the whole spreadsheet to a text file, then tell the crawler to read RCNs from there.

How do you imagine using the feature (e.g. CLI configuration, output format)

-s file.tsv,1 seed argument would tell the crawler to read file.tsv as a TSV file and search for RCNs in the first column. Let's use 1-based indexes here.

The column index can be optional with default value 1.

We can accept both *.tsv and *.txt file extensions.

The reader would iterate the file line-by-line and would skip non-number values.

v2.0

This is the plan for v2.0. I'll modify this description as something changes/comes up in my mind or in the comments below.


Features (based on 1.x)

  • Crawl project RCNs: single RCN, RCN list, RCN range
  • Crawl RCNs found in output directory
  • Crawl all available RCN
  • Crawl RCNs of search URL
  • CSV/TSV export
  • MySQL export
  • RCN list export + seed? v2.1
  • Java API for developers
  • CLI for users
  • Fancy documentation with Docsify (MySQL docs, extending docs)

Improvements

  • Use CORDIS XML and OpenAIRE API
  • Test old and new projects too
  • Unified view - separate ticket? may need help? v2.1

Under the hood

  • JitPack compatible POM
  • Complete rewrite in Kotlin
  • Batch processing pattern (Kotlin sequences)
  • Parse XML with Simple framework
  • Modular design - interfaces and IoC framework
  • Write in batches for better performance
  • database: use an ORM framework (OrmLite? Hibernate? jOOQ?) - stick with plain JDBC
  • database: should remove relation records before inserting new ones - now I don't think it's needed
  • use Spring Boot framework? would simplify config handling and ORM - keep it simple

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.