Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
haskell-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
153
Issues
153
List
Board
Labels
Milestones
Merge Requests
9
Merge Requests
9
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
haskell-gargantext
Commits
027ffede
Commit
027ffede
authored
Jun 30, 2023
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Plain Diff
merge
parents
ab9bfe88
0090ff30
Pipeline
#4332
failed with stages
in 125 minutes and 19 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
10 deletions
+6
-10
cabal.project
cabal.project
+1
-1
gargantext.cabal
gargantext.cabal
+2
-6
OpenAlex.hs
src/Gargantext/Core/Text/Corpus/API/OpenAlex.hs
+2
-2
stack.yaml
stack.yaml
+1
-1
No files found.
cabal.project
View file @
027ffede
...
...
@@ -99,7 +99,7 @@ source-repository-package
source
-
repository
-
package
type
:
git
location
:
https
://
gitlab
.
iscpif
.
fr
/
gargantext
/
crawlers
/
openalex
.
git
tag
:
0083
c02d62441d73f3616409c6453c87302c698f
tag
:
d7aeb1144fce77f60d94a159b4c40329cb6d1960
source
-
repository
-
package
type
:
git
...
...
gargantext.cabal
View file @
027ffede
cabal-version: 1.12
-- This file has been generated from package.yaml by hpack version 0.35.1.
--
-- see: https://github.com/sol/hpack
name: gargantext
version: 0.0.6.9.9.7
synopsis: Search, map, share
...
...
@@ -59,12 +55,13 @@ library
Gargantext.Core.Text.Context
Gargantext.Core.Text.Corpus.API
Gargantext.Core.Text.Corpus.API.Arxiv
Gargantext.Core.Text.Corpus.API.Pubmed
Gargantext.Core.Text.Corpus.API.OpenAlex
Gargantext.Core.Text.Corpus.API.Pubmed
Gargantext.Core.Text.Corpus.Query
Gargantext.Core.Text.Corpus.Parsers
Gargantext.Core.Text.Corpus.Parsers.CSV
Gargantext.Core.Text.Corpus.Parsers.Date.Parsec
Gargantext.Core.Text.Corpus.Parsers.JSON
Gargantext.Core.Text.List.Formats.CSV
Gargantext.Core.Text.Metrics
Gargantext.Core.Text.Metrics.CharByChar
...
...
@@ -203,7 +200,6 @@ library
Gargantext.Core.Text.Corpus.Parsers.GrandDebat
Gargantext.Core.Text.Corpus.Parsers.Iramuteq
Gargantext.Core.Text.Corpus.Parsers.Isidore
Gargantext.Core.Text.Corpus.Parsers.JSON
Gargantext.Core.Text.Corpus.Parsers.Json2Csv
Gargantext.Core.Text.Corpus.Parsers.RIS
Gargantext.Core.Text.Corpus.Parsers.RIS.Presse
...
...
src/Gargantext/Core/Text/Corpus/API/OpenAlex.hs
View file @
027ffede
...
...
@@ -54,9 +54,9 @@ toDoc (OA.Work { .. } ) =
authors
::
[
OA
.
Authorship
]
->
Maybe
Text
authors
[]
=
Nothing
authors
aus
=
Just
$
T
.
intercalate
", "
(
getDisplayName
<$>
aus
)
authors
aus
=
Just
$
T
.
intercalate
", "
$
catMaybes
(
getDisplayName
<$>
aus
)
where
getDisplayName
::
OA
.
Authorship
->
Text
getDisplayName
::
OA
.
Authorship
->
Maybe
Text
getDisplayName
OA
.
Authorship
{
author
=
OA
.
DehydratedAuthor
{
display_name
=
dn
}
}
=
dn
institutes
::
[
OA
.
Authorship
]
->
Maybe
Text
...
...
stack.yaml
View file @
027ffede
...
...
@@ -60,7 +60,7 @@ extra-deps:
-
git
:
https://gitlab.iscpif.fr/gargantext/crawlers/arxiv-api.git
commit
:
2d7e5753cbbce248b860b571a0e9885415c846f7
-
git
:
https://gitlab.iscpif.fr/gargantext/crawlers/openalex.git
commit
:
0083c02d62441d73f3616409c6453c87302c698f
commit
:
d7aeb1144fce77f60d94a159b4c40329cb6d1960
# NP libs
-
git
:
https://github.com/alpmestan/servant-job.git
commit
:
b4182487cfe479777c11ca19f3c0d47840b376f6
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment