Skip to content

Unable to follow example code? #2

@darrenkoppel

Description

@darrenkoppel

Hi,

I'm trying to use this approach including getting profile data from googlescholar. I'm struggling to follow the code and have run into a few issues:

  1. Step four has a different function name to the one defined in the uploaded code 'getProfiledatFunc' vs 'getProfileFunc'
    `iv. Define an input file that the epsilon.index.func will use, e.g.,

example.dat <- getProfiledatFunc(ids, genders)`

  1. The package "scholar" is required for the function 'get_profile' defined in the function. It may be worth adding that package to the example code.

  2. When addressing the above two, I still get the error: Error in getProfileFunc(ids, genders) : unused argument (genders). When I pass a vector of only ids to the function I get the error Error in gsdata[, 1] : incorrect number of dimensions

That's where my R knowledge ends!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions