# Discourse statistics?

**URL:** <https://discourse.julialang.org/t/discourse-statistics/57404>\
**Category:** Meta Discussion\
**Created:** [March 17, 2021, 6:00pm UTC](https://discourse.julialang.org/t/discourse-statistics/57404 "2021-03-17T18:00:42Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![sylvaticus](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sylvaticus/32/203883_2.png) [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Post date:** [March 17, 2021, 6:00pm UTC](https://discourse.julialang.org/t/discourse-statistics/57404/1 "2021-03-17T18:00:42Z")

</div>

Out of curiosity, is there any public stat on discourse activity? Like posts or new users / month or stuff like that?

---

<div class="post-metadata">

**Author:** ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)\
**Post date:** [March 17, 2021, 6:05pm UTC](https://discourse.julialang.org/t/discourse-statistics/57404/2 "2021-03-17T18:05:33Z")

</div>

If you’re a [regular](https://discourse.julialang.org/badges/3/regular) user: [JuliaLang](https://discourse.julialang.org/g/trust_level_3/reports/18)

---

<div class="post-metadata">

**Author:** ![baggepinnen](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/baggepinnen/32/693_2.png) [@baggepinnen](https://discourse.julialang.org/u/baggepinnen)\
**Post date:** [March 17, 2021, 6:28pm UTC](https://discourse.julialang.org/t/discourse-statistics/57404/3 "2021-03-17T18:28:36Z")

</div>

Here’s the data in graphic form

 ![activity](https://global.discourse-cdn.com/julialang/original/3X/4/4/441a15adc041f63fe304d22738635731cf65e9e8.png)  
and here’s some code if you want to play around yourself

```julia
using CSV, DataFrames, DSP, Plots
default(show=false)
data = CSV.read("/home/fredrikb/Downloads/daily_activity.csv", DataFrame)
sort!(data, :date)
data = data[200:end-1, :] # remove the very beginning and the current day

##
function mf(x)
    m = mean(x)
    # filtfilt(df, x .- m) .+ m
    filtfilt(ones(14), [14], x .- m) .+ m
end

fields = ["users", "posts", "pageviews", "likes"]

figs = map(fields) do field
    x = data[!, field]
    x_filt = mf(x)
    fu1 = plot(data.date, [x x_filt], layout=2, sp=1, title="Daily new $field", linewidth=[1 5], lab=["Daily" "2 week mean"])
    plot!(data.date, cumsum(x), sp=2, title="Cumulative $field", lab="")
end

plot(figs..., layout=(length(fields),1)) |> display

```

---

<div class="post-metadata">

**Author:** ![sylvaticus](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sylvaticus/32/203883_2.png) [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Post date:** [January 28, 2022, 3:36pm UTC](https://discourse.julialang.org/t/discourse-statistics/57404/4 "2022-01-28T15:36:43Z")

</div>

Could the trust level to access the stats be lowered to “member” (if not making the stats completely visible to everyone) ? There could be some sensitive data on these stats ?

---

<div class="post-metadata">

**Author:** ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)\
**Post date:** [January 28, 2022, 3:57pm UTC](https://discourse.julialang.org/t/discourse-statistics/57404/5 "2022-01-28T15:57:38Z")

</div>

In any event here’s an update:

 ![image](https://global.discourse-cdn.com/julialang/original/3X/1/e/1e17ccf4698343e278a2e8740461282aabb9fb2c.png)

Note I’m not a signal processing expert like Fredrik so this is a more pedestrian 2-week running mean:

```julia
julia> using CSV, DataFrames, Plots, RollingFunctions

julia> data = sort(CSV.read("discourse.csv", DataFrame), :date)[200:end-1, :];

julia> ps = []
Any[]

julia> for (v, t) ∈ zip(["users", "posts", "pageviews", "likes"], ["Daily new users", "Daily new posts", "Daily new pageviews", "Daily new likes"])
           p = plot(data.date, data[!, v], label = "Daily", lw = 1, alpha = 0.5, title = t)
           plot!(p, data.date, runmean(data[!, v], 14), label = "14-day average")
           push!(ps, p)
       end

julia> plot(ps..., size = (800, 700), xrot = 75)

```

---

<div class="post-metadata">

**Author:** ![tbeason](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tbeason/32/15898_2.png) [@tbeason](https://discourse.julialang.org/u/tbeason)\
**Post date:** [January 28, 2022, 4:00pm UTC](https://discourse.julialang.org/t/discourse-statistics/57404/6 "2022-01-28T16:00:04Z")

</div>

Decreasing trend in likes per day suggests @Tamas_Papp has been less active over the last year…

---

<div class="post-metadata">

**Author:** ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)\
**Post date:** [January 28, 2022, 4:05pm UTC](https://discourse.julialang.org/t/discourse-statistics/57404/7 "2022-01-28T16:05:40Z")

</div>

The one metric missing from the original post and my post above is topics, so here for completeness:

![image](https://global.discourse-cdn.com/julialang/original/3X/d/f/dfcf163d57c501fd8b5737f227524fa3978f14e7.png)

Indeed it seems like likes have declined the most out of all metrics, which is probably the Tamas effect. At the same time pageviews is the only metric with an entirely unbroken upward trend, so maybe there’s more and more people out there who find Discourse through a web search and get the info they need without ever having to sign up, post, or like anything.

---

<div class="post-metadata">

**Author:** ![mbauman](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mbauman/32/31082_2.png) [@mbauman](https://discourse.julialang.org/u/mbauman)\
**Post date:** [January 28, 2022, 4:21pm UTC](https://discourse.julialang.org/t/discourse-statistics/57404/8 "2022-01-28T16:21:55Z")

</div>

> [@sylvaticus](#):
>
> Could the trust level to access the stats be lowered to “member” (if not making the stats completely visible to everyone) ? There could be some sensitive data on these stats ?

There’s no sensitive information here — if there were we wouldn’t make it available to anyone. It does, however, make sense to limit its access for both community and server load reasons. It’s an expensive operation that we don’t want lots of folks to run, and generally the folks who are most curious are those who are most invested in the community.

Edit: there are some basic statistics available in the about page: [About - Julia Programming Language](https://discourse.julialang.org/about)
