Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to follow example code? #2

Open
darrenkoppel opened this issue Jul 30, 2022 · 0 comments
Open

Unable to follow example code? #2

darrenkoppel opened this issue Jul 30, 2022 · 0 comments

Comments

@darrenkoppel
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant