0%

Exercise 1: getting familiar with the core

We will be working with the genotype-phenotype core. To familiarise yourself with the data, request everything from this core using the solr_request function and the q parameter.

Go to Exercise 1 in the Google Colab.

Once you’ve finished Exercise 1 in the Google Colab, return here to continue the tutorial but keep the Colab open as it contains the other exercises you will complete during this tutorial.

Show the correct answer
num_found, df = solr_request(
    core='genotype-phenotype',
    params={
        'q': '*:*'
    }
)

Here we specify the core name and use an asterisk (*) to get all the data from the genotype-phenotype core.