DataSrc:T241b: Difference between revisions

    From UNITApedia
    No edit summary
    No edit summary
     
    (25 intermediate revisions by 2 users not shown)
    Line 24: Line 24:
    }}
    }}


    {{#ask:
     
    [[-Has subobject::{{FULLPAGENAME}}]] <!-- or whatever subobject / condition you use -->
    {{#vardefine: t241dateData |
    |?entry_date
    [
    |?participants
      [
    |?status_of_mobility_participant <!-- The property you want to split into different series -->
        "entry_date",
    |format=timeseries
        "Student bachelor",
    |link=none
        "Student master",
    |xprop=entry_date
        "Student doctorate"
    |yprop=participants
      ],
    |group=status_of_mobility_participant  <!-- Group by mobility type, so each type is a separate series -->
     
    |layout=area              <!-- Area chart -->
      [
    |accumulate=true          <!-- Stack the areas -->
        "Nov 2023",
    |sort=entry_date
        {{#ask:
    |order=ascending
          [[-Has subobject::{{FULLPAGENAME}}]]
    |limit=50
          [[entry_date::2023-11-01]]
    |headers=show
          [[type_of_mobility::BIP-student mobility for studies]]
    |charttitle=BIP Mobilities
          [[status_of_mobility_participant::Student bachelor]]
    |zoomarea=bottom
          |?participants
    |tablearea=bottom
          |format=plain
    |class=sortable wikitable smwtable
          |headers=hide
          |link=none
          |mainlabel=-
        }},
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2023-11-01]]
          [[status_of_mobility_participant::Student master]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }},
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2023-11-01]]
          [[status_of_mobility_participant::Student doctorate]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }}
      ],
     
      [
        "Dec 2023",
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2023-12-01]]
          [[status_of_mobility_participant::Student bachelor]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }},
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2023-12-01]]
          [[status_of_mobility_participant::Student master]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }},
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2023-12-01]]
          [[status_of_mobility_participant::Student doctorate]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }}
      ],
     
      [
        "Jan 2024",
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-01-01]]
          [[status_of_mobility_participant::Student bachelor]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }},
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-01-01]]
          [[status_of_mobility_participant::Student master]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }},
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-01-01]]
          [[status_of_mobility_participant::Student doctorate]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }}
      ],
     
       [
        "Feb 2024",
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-02-01]]
          [[status_of_mobility_participant::Student bachelor]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }},
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-02-01]]
          [[status_of_mobility_participant::Student master]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }},
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-02-01]]
          [[status_of_mobility_participant::Student doctorate]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }}
      ],
     
      [
        "Mar 2024",
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-03-01]]
          [[status_of_mobility_participant::Student bachelor]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }},
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-03-01]]
          [[status_of_mobility_participant::Student master]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }},
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-03-01]]
          [[status_of_mobility_participant::Student doctorate]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }}
      ],
     
      [
        "Apr 2024",
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-04-01]]
          [[status_of_mobility_participant::Student bachelor]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }},
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-04-01]]
          [[status_of_mobility_participant::Student master]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }},
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-04-01]]
          [[status_of_mobility_participant::Student doctorate]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }}
      ],
     
      [
        "May 2024",
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-05-01]]
          [[status_of_mobility_participant::Student bachelor]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }},
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-05-01]]
          [[status_of_mobility_participant::Student master]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }},
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-05-01]]
          [[status_of_mobility_participant::Student doctorate]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }}
      ],
     
      [
        "Jun 2024",
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-06-01]]
          [[status_of_mobility_participant::Student bachelor]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }},
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-06-01]]
          [[status_of_mobility_participant::Student master]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }},
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-06-01]]
          [[status_of_mobility_participant::Student doctorate]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }}
      ],
     
      [
        "Jul 2024",
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-07-01]]
          [[status_of_mobility_participant::Student bachelor]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }},
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-07-01]]
          [[status_of_mobility_participant::Student master]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }},
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-07-01]]
          [[status_of_mobility_participant::Student doctorate]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }}
      ],
     
      [
        "Aug 2024",
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-08-01]]
          [[status_of_mobility_participant::Student bachelor]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }},
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-08-01]]
          [[status_of_mobility_participant::Student master]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }},
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-08-01]]
          [[status_of_mobility_participant::Student doctorate]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }}
      ],
     
      [
        "Sep 2024",
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-09-01]]
          [[status_of_mobility_participant::Student bachelor]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }},
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-09-01]]
          [[status_of_mobility_participant::Student master]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }},
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-09-01]]
          [[status_of_mobility_participant::Student doctorate]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }}
      ],
     
      [
        "Oct 2024",
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-10-01]]
          [[status_of_mobility_participant::Student bachelor]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }},
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-10-01]]
          [[status_of_mobility_participant::Student master]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }},
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-10-01]]
          [[status_of_mobility_participant::Student doctorate]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }}
      ],
     
      [
        "Nov 2024",
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-11-01]]
          [[status_of_mobility_participant::Student bachelor]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }},
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-11-01]]
          [[status_of_mobility_participant::Student master]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }},
        {{#ask:
          [[-Has subobject::{{FULLPAGENAME}}]]
          [[entry_date::2024-11-01]]
          [[status_of_mobility_participant::Student doctorate]]
          |?participants
          |format=plain
          |headers=hide
          |link=none
          |mainlabel=-
        }}
      ]
    ]
    }}
    }}
    {{#ask: [[-Has subobject::{{FULLPAGENAME}}]]
     
    |?entry_date
    {{#echarts:
    |?participants
    width=1000px |
    |format=timeseries
    height=600px |
    |link=all
    option = {
    |xprop=entry_date
      title: {
    |yprop=files_created
        text: 'BIP-student mobility for studies'
    |accumulate=true
      },
    |sort=entry_date
      tooltip: {
    |limit=50
        trigger: 'axis',
    |order=ascending
        axisPointer: {
    |headers=show
          type: 'shadow'
    |charttitle=UNITA Files Created
        }
    |layout=line
      },
    |group=property
      toolbox: {
    |zoomarea=bottom
        feature: {
    |tablearea=bottom
          magicType: {
    |class=sortable wikitable smwtable
            type: ["line", "bar","stack"]
          },
          saveAsImage: {},
        }
      },
      legend: {
        data: ['Student bachelor', 'Student master', 'Student doctorate']
      },
      grid: {
        left: '3%',
        right: '4%',
        bottom: '3%',
        containLabel: true
      },
      dataset: {
        source: {{#var:t241dateData}}
      },
      xAxis: {
        type: 'category'
      },
      yAxis: {
        type: 'value'
      },
      series: [
        {
          type: 'bar',
          stack: 'total',
          emphasis: { focus: 'series' }
        },
        {
          type: 'bar',
          stack: 'total',
          emphasis: { focus: 'series' }
        },
        {
          type: 'bar',
          stack: 'total',
          emphasis: { focus: 'series' }
        }
      ]
    }
    }}
    }}

    Latest revision as of 14:50, 2 April 2025