earthcube / facetsearch

This is the main code base for the EarthCube GeoCODES search interface. Issues with UI operation should be posted in the issue tracker here.
3 stars 2 forks source link

Repository summaries for about page #109

Closed valentinedwv closed 10 months ago

valentinedwv commented 1 year ago

Is your feature request related to a problem? Please describe. Need to have a more dynamic summary system in place. After a repository is loaded, we need to generate a static summary of the information that can be used to generate summary reports accessible

step on it last loaded, and item counts, (type counts?)

this needs to be rendered based on a gleaner config file. I would a list of the repos for an all graph stats.

valentinedwv commented 1 year ago

https://github.com/earthcube/earthcube_utilities/issues/83

Do we do this an almost static page where some jsonobject or html frgment is generate weekly?

In Earthcube Utilities, the script generate_repo_stats uploads a summary to s3. as[ /reports/all/graph report.json](ttps://oss.geocodes-1.earthcube.org/gleaner/reports/all/graph report.json)

The organizaton quads do not have enough detail for now. Need to upload something from the gleaner config

The org info at nqads is in /orgs/ this will need to be queried using ec listpaths... but for magic, this can be found /orgs/magic.nq use jsonld library in the javascript to convert to json-ld

Update the about vue with Cards for the items.... logos be damned for now.

if an org is a re3, or and ro organization, the pull some information from them.

logic:

Gleaner issue

Later:

valentinedwv commented 1 year ago

More complex than I think... Need the org information from the sources (aka gleaner) combined with the statistics. So it may mean modify gleaner to upload a sources.json file that could be used combined with this or add to the graph report to read and upload that information from earthcube utilities (branch off the dev code)

https://oss.geocodes-dev.earthcube.org/gleaner-wf/reports/all/latest/graph-report.json

valentinedwv commented 1 year ago

This should be simpler... Already read an embedded json object.

So staring point is: title, website, image, description, record_count

repositories: [
            {
                title: 'Environmental Data Initiative',
                website: 'https://edirepository.org/',
                image: 'edi.png',
                description: "The Environmental Data Initiative is an NSF-funded project meant to accelerate curation and  archive of environmental data, emphasizing data from projects funded by the NSF Division of Environmental Biology. Aside from hosting the LTER data repository and collaborating with the LTER Information Managers, EDI serves the ecological research community including but not limited to research funded by the Long TermResearch in Environmental Biology (LTREB), Organization for Biological Field Stations (OBFS), and Macrosystems Biology (MSB). The Environmental Data Initiative maintains and develops the PASTA infrastructure for its data repositories, and has recently become DataONE’s 40th member node.",
                record_count: 28248
            },