Code Monkey home page Code Monkey logo

Comments (1)

aeevrubin avatar aeevrubin commented on June 8, 2024

Status: Created a jupyter notebook and have done the following:

  1. Flattened the consolidated-artworks.json nests into pandas dataframes tables so they can be easily read and edited as tables. The 'property' table is the one that contains the data to be edited.
  2. Fixed typo herf->href which was needed to read html tags with BeautifulSoup
  3. From the 'artist' property: stripped the artist names to keep in 'artist' and URLs to merge into the 'website' property.
  4. From the 'description' property: stripped the text before 'Source' string to keep in 'description' and stripped URLs to put into 'AdditionalURL' if not already in 'website' or 'sourceURL'
  5. Created a loop to output 1st 2 google results for the artist name to find artists' personal websites(or wikipedia if dead/famous) to merge into 'website' property
  6. CURRENTLY: Manually checking those google results and cleaning up any messed up text that I failed to fix with the code.

My cleaning code is available here if anyone wants to check it out: https://github.com/aeevrubin/art_json_cleanup/blob/master/HeartOfValleyEda.ipynb

from heartofthevalley.

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.