All threads / Create little (parse data, formatting and counting) project

Ask A Question

Notifications

You’re not receiving notifications from this thread.

Create little (parse data, formatting and counting) project

Enterigo asked in General

Hello, friends. I am a total newbie in ruby, I want to try to do the following thing: create a program that will collect vacancies and monitor the number of repeated words from them.
The structure is something like this:

  1. Collect a list of all vacancies in the desired direction. Parse data like this - https://www.indeed.com/jobs?q=museum+curator&l= and write this list of results to the database(It is desirable to be able to enter any request for any vacancy and record in DB).
  2. Collect a description of all the vacancies at the right link(receive from the database a link to each vacancy from the list obtained above and extract from each text a description of the vacancy)
  3. Format each vacancy received, clear of punctuation, special characters, translate into lower case. Having received as a result a huge array of all words
  4. Сount how many times each word occurs. So we can get the following example: Vacancy "museum curator" Word "history" - "n" times

I would be very grateful to those who will spend their time prompting where to start, how to act, what gems to use, what sequence of actions to choose, if you know - a ready-made example of this or that action.

Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 33,665+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2020 GoRails, LLC. All rights reserved.