Skip to content

as_dataframe_funders doesn't work as expected #91

@lambdamusic

Description

@lambdamusic

User reports:

... I recently came across an issue with the method ".as_dataframe_funders()" presented in the API Cookbook, Section 3. "Extracting Funders" (https://api-lab.dimensions.ai/cookbooks/1-getting-started/3-Working-with-dataframes.html).
I noticed that it no longer works, most likely due to the "funders" field being deprecated....

Indeed, the function is not working as expected, likely for the reason they outlined. In the following code example you'll notice that the output is an empty dataframe:

dsl = dimcli.Dsl()
r = dsl.query("""search grants for "covid-19" return grants[basics] limit 10""")
df = r.as_dataframe_funders()

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions