cours/interesting stats.md
Oscar Plaisant f91c506a9e update
2025-03-16 18:05:45 +01:00

2.1 KiB

#s/PKM


There are $= dv.pages().length notes in this vault.

  • my notes contain :
    • $= dv.pages("#maths").length #s/maths notes
      • $= dv.pages("#maths/algèbre").length #s/maths/algèbre notes
    • $= dv.pages("#science").length #s/science notes
    • $= dv.pages("#politique").length #s/politique notes
    • $= dv.pages("#informatique").length #s/informatique notes
    • $= dv.pages("#PKM").length #s/PKM notes
    • $= dv.pages("#obsidian").length #s/obsidian notes

Statistics :

  • :obs_links_going_out: average of $= Math.round(eval(dv.pages("").file.map((f)=>f.outlinks.length).join("+")) / (dv.pages("").file.length)*100)/100 outlinks per note
  • :obs_links_coming_in: average of $= Math.round(eval(dv.pages("").file.map((f)=>f.inlinks.length).join("+")) / (dv.pages("").file.length)*100)/100 inlinks per note

[!query]- :obs_links_coming_in: Notes with a lot of inlinks (backlinks)

TABLE length(file.inlinks) as ":obs_links_coming_in:", title, description
FROM ""
WHERE length(file.inlinks) > 10
sort sort(length(file.inlinks)) DESC
LIMIT 20

[!query]- :obs_links_going_out: Notes with a lot of outlinks

TABLE length(file.outlinks) as ":obs_links_going_out:", title, description
FROM -#MOC
WHERE length(file.outlinks) > 8
sort sort(length(file.outlinks)) DESC
LIMIT 20

[!query]- notes with a big inlinks/outlinks ratio I exclude notes with too few outlinks (less than 2)

TABLE round(length(file.inlinks) / length(file.outlinks), 2) AS ":fas_bars_progress:", title, description
FROM ""
WHERE length(file.outlinks) >= 2
SORT length(file.inlinks) / (length(file.outlinks)) DESC
LIMIT 20

[!query]- notes with a big outlinks/inlinks ratio I exclude notes with too few inlinks (less than 2)

TABLE round(length(file.outlinks) / length(file.inlinks), 2) AS ":fas_bars_progress:", title, description
FROM ""
WHERE length(file.inlinks) >= 2
SORT length(file.outlinks) / (length(file.inlinks)) DESC
LIMIT 20
TABLE title, up
FROM #obsidian
WHERE up=[[]]