Giter Site home page Giter Site logo

alm's People

Contributors

ashander avatar diana-ly avatar jasonpriem avatar maelle avatar sckott avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

alm's Issues

Readme xhtml

From kurt hornik

These have README.md files which when converted to (X)HTML using a
current version of pandoc show problems when validated using W3C Markup
Validator, see below.

Most of these problems are caused by using images without giving a name
(so the required alt attribute for <img> is not provided), or using <br>
instead of <br/>.

Pls fix these problems in your README.md files for your next release: in
all cases I inspected, the fixes were obvious and confirmation using
pandoc and W3C markup validator seemed unnecessary.

Please also visit your package check web page at http://cran.r-project.org/web/checks/check_results_PACKAGENAME.html to see if other problems need to be addressed as well.

Parse new events sources

  • datacite
  • [] copernicus Don't see any events data for this source, prob only relavant for folks getting data from copernicus installation
  • articlecoverage
  • articlecoveragecurated

Put DESCRIPTION field in DESCRIPTION file for rCharts

From Kurt Hornik

These seem to include packages not in the mainstream repositories in
their Suggests or Enhances. For such cases, the CRAN Repository Policy
now says

Packages on which a CRAN package depends should be available from a
mainstream repository: if any mentioned in Suggests or Enhances fields
are not from such a repository, where to obtain them should be
mentioned in the Description field of the DESCRIPTION file.

Pls check that your package meets this requirement, and if not provide
the necessary updates.

$alm ([email protected])
[1] "rCharts"

ALM API v5 coming

Changes:

  • JSON only (no more XML)
  • no more days, months, year parameter
  • we include the group name with sources
  • signposts are renamed to group names: viewed, cited, saved, discussed, recommended
  • pagination (50 per page)
  • results are in data object, there is an error object with every response

e.g, call with new format:

http://almhack.crowdometer.org/api/v5/articles?api_key=cBYJpjzC5fNwmvVJPJeE&source=mendeley&order=mendeley

ggplot2 new version fix

ggplot2 now imports and exports unit() and arrow() from grid, and
alpha() from scales. Many packages seem to have unused unqualified import
statements which now generates a warning on package install. (You could argue
that this is a false positive since the conflicting names both point to the
same object.). This affects:

readme fixes

These packages contain README.md files with invalid HTML output created
by pandoc 1.12.4.2 according to W3C-validator.

I attach the HTML errors and warnings found below, and will put copies
of the corresponding HTML files up at
http://www.r-project.org/nosvn/pandoc.

Please investigate the problems and fix as needed.

Afaics, many of the problems are caused by adding "raw" HTML elements in
the README.md files and not realizing that the default output format
"html" is XHTML 1 (and not HTML 5). E.g., a raw
results in an

end tag for "br" omitted, but OMITTAG NO was specified

error.

Best
-k


alm.html:
  Valid: FALSE (errors: 1, warnings: 0)
  Errors:
    line  col  message
     430   98  required attribute "alt" not specified

alm_signposts fxn

There's no longer a signposts slot in data output from Lagotto applicatino, update fxn

Updates for ALM v.2.7

  • added signpost numbers (aggregate metrics) that are also part of the info=summary response: views, shares, bookmarks, citations. Helpful for writing ALM widgets
  • added by day (first 30 days), by month and by year metrics to info=detail and info=history for those sources that have date information (e.g. CrossRef only for year)

remove rcharts from egs, description, etc.

These have Suggests or Enhances in non-mainstream repositories as listed
below. The CRAN Policy has

Packages on which a CRAN package depends should be available from a
mainstream repository: if any mentioned in ‘Suggests’ or ‘Enhances’
fields are not from such a repository, where to obtain them at a
repository should be specified in an ‘Additional_repositories’ field
of the DESCRIPTION file (as a comma-separated list of repository URLs)
or for other means of access, described in the ‘Description’ field.

(where in any case, the packages mentioned should be available for
installation using the standard R package management tools).

Can you pls update your packages accordingly?

Ideally, all Suggests or Enhances in non-mainstream repositories would
be available from repositories in Additional_repositories fields. In
most cases, the mentioned packages seem to be available from either
R-Forge or Omegahat, so updating is straightforward.

Vignettes now need to be in a vignettes directory

Directory 'vignettes' has been the preferred location for vignette sources since 2.14.0 (long before non-Sweave vignettes were supported) and will shortly become obligatory. They will not be recognized as having vignettes in future, so need to be updated now to use a 'vignettes' directory.

v6 api update

martin says a new version is upcoming, to go live at least with plos service at end of april

api docs http://labs.lagotto.io/api

running on labs.lagotto.io and software.lagotto.io so far

Error on using mdid

alm(mdid="35791700-6d00-11df-a2b2-0026b95e3eb7")[,-c(6:8)]
Error : client error: (404) Not Found
NULL

Procedure for obtaining API keys has changed

API key generation has been integrated into the ALM application in release 2.8. For PLOS it means going to http://alm.plos.org, and signing in via your PLOS accounts.

Other installations of the ALM application might use Mozilla Persona or Github OAuth as signin options.

Reminder from Kurt Hornik to fix readme

/data/Repositories/CRAN/web/packages/alm/README.html:
  Valid: FALSE (errors: 1, warnings: 0)
  Errors:
    line  col  message
     431   98  required attribute "alt" not specified

cran folks want change on rcharts stuff

Passes its tests for me as well, but I see

Suggests or Enhances not in mainstream repositories:
  rCharts

and

* checking R code for possible problems ... NOTE
plot_signposts: no visible global function definition for ‘nPlot’

Can you pls fix the latter as necessary.  For the former, the Policy has

 Packages on which a CRAN package depends should be available from a
  mainstream repository: if any mentioned in Suggests or Enhances fields
  are not from such a repository, where to obtain them should be
  specified in the Additional_repositories field of the DESCRIPTION file
  as a comma-separated list of repository URLs.

So pls fix accordingly.

Add paging parameters

Add rows parameter, call it per_page. And add page parameter, called page.

Only used i think when only source parameter used so that the user is essentially querying ALM data based on the type of source alm data, in which case paging takes effect (50 max), and then per_page param comes in.

May want to create a separate fxn for this, hmmm

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.