Jump to content

Exam Timetables?


ADT

Recommended Posts

Step 4

Add and run the macro.  Here is the macro to download.Exam Timetables Excel macro.txt

Watch the video to see where/when to paste this and how to run the macro.  It is important that when you create a new tab for the formatted csv, that you call that tab "Formatted" with a capital F. You must also switch back to the tab with the data on it before you run the macro! Ignore any run-time errors and check the formatted tab.  Do not change then name of any of the column headers as these are used by the frog widget!

Edited by pconkie
Link to comment
Share on other sites

Step 7

By this point the data should be anonymised. Use the online tool at the following site: http://www.convertcsv.com/csv-to-json.htm to convert it from csv to keyed JSON.  Use column 8 (UPN) as the key as shown in this video... Once completed you can use ctrl+a and ctrl+c to copy the JSON ready to paste into the widget.

http://www.convertcsv.com/csv-to-json.htm is a third party (external) site. Paste your csv at your own risk.

Link to comment
Share on other sites

10 hours ago, gbligh said:

Thank you so much Paul, @pconkie, for this. I sat down with our data manager today (Excel wiz) and we worked it out using your instructions. All looks great, and will really help the kids out.

Cheers

@pconkiedoes it again!!!  ;)

Now to persuade our data/exam team it's a good idea and isnt as difficult as it looks.........  its not is it @gbligh!!!! Have you got them to do it or are you doing some of it?

Link to comment
Share on other sites

31 minutes ago, ADT said:

@pconkiedoes it again!!!  ;)

Now to persuade our data/exam team it's a good idea and isnt as difficult as it looks.........  its not is it @gbligh!!!! Have you got them to do it or are you doing some of it?

The only bits I did was converting the CSV to JSON and the copy and paste job!

Link to comment
Share on other sites

1 minute ago, gbligh said:

The only bits I did was converting the CSV to JSON and the copy and paste job!

OK...  so now to work out how to sweet talk the team........  and plan when to do it!! ;)

Link to comment
Share on other sites

16 minutes ago, pconkie said:

It should be so much simpler than it is!  We have already had a few timetables change and so I have had to repeat the process to keep frog up to date.  Only good news is that it gets faster the more times you do it!

Is there a way we can get parents to view it?

  • Like 1
Link to comment
Share on other sites

1 hour ago, ADT said:

See thats why i was hoping the extractor could do it.....  the data is there...  it just needs bringing into Frog in a way it can be used by a widget!!

Just FYI, we've not forgotten about this. I'll keep pushing for it.

Link to comment
Share on other sites

Just now, pconkie said:

Yes, but it would require a new widget!  Only issue is time! Perhaps frog can take the one I've made and make the necessary adjustments?

 

 

Doesnt seam unreasonable.....  what with being in  "The Frog Academy"  launch year!!  ;)

  • Like 1
Link to comment
Share on other sites

Clearly im doing something wrong....  followed it to the letter...  checked your video to make sure the code looks similar to the one im producing..........  when i kid checks the page they get....

Exam.jpg

I quit...............................

Link to comment
Share on other sites

4 minutes ago, pconkie said:

Agreed.  Can you show me a snippet of the final json you pasted into the widget?

{
   " ": {
      "Date": "Fri 01 Feb",
      "Time": " 9:00AM",
      "CompCode": "21117K01",
      "CompTitle": "Health and Wellbeing",
      "Duration": "2h 00m",
      "Room": "215",
      "Seat": "B3        "
   },
   " ": {
      "Date": "Wed 01 May",
      "Time": " 9:00AM",
      "CompCode": "DA20101",
      "CompTitle": "Developing Web Products",
      "Duration": "2h 30m",
      "Room": "GALLERY",
      "Seat": "C10       "
   }
}

Link to comment
Share on other sites

5 minutes ago, pconkie said:

Agreed.  Can you show me a snippet of the final json you pasted into the widget?

Its going to be another one of those dead easy answers..... one of those Doh moments!! O.o

Link to comment
Share on other sites

4 minutes ago, ADT said:

{
   " ": {
      "Date": "Fri 01 Feb",
      "Time": " 9:00AM",
      "CompCode": "21117K01",
      "CompTitle": "Health and Wellbeing",
      "Duration": "2h 00m",
      "Room": "215",
      "Seat": "B3        "
   },
   " ": {
      "Date": "Wed 01 May",
      "Time": " 9:00AM",
      "CompCode": "DA20101",
      "CompTitle": "Developing Web Products",
      "Duration": "2h 30m",
      "Room": "GALLERY",
      "Seat": "C10       "
   }
}

It's not quite the right format (although hard to read on the forum)....

Perhaps not the issue but check that:

{
   "firstupn": [
      {
         "Date": "Mon 14 Jan",
         "Time": " 9:10AM",
         "CompCode": "BOILH",
         "CompTitle": "Biology Higher",
         "Duration": "1h 45m",
         "Room": "Sports Hall",
         "Seat": "R3        "
      },
      {
         "Date": "Mon 14 Jan",
         "Time": " 1:30PM",
         "CompCode": "MUSW",
         "CompTitle": "Music W",
         "Duration": "1h 30m",
         "Room": "DM2",
         "Seat": "G2        "
      }

    ]

}

 

There should be square brackets around each student (red) as well as braces around each exam.  Has your json got this?

Link to comment
Share on other sites

Hmmmm  no.....  

{
   " ": {
      "Date": "Fri 01 Feb",
      "Time": " 9:00AM",
      "CompCode": "21117K01",
      "CompTitle": "Health and Wellbeing",
      "Duration": "2h 00m",
      "Room": "215",
      "Seat": "B3        "
   },
   " ": {
      "Date": "Wed 01 May",
      "Time": " 9:00AM",
      "CompCode": "DA20101",
      "CompTitle": "Developing Web Products",
      "Duration": "2h 30m",
      "Room": "GALLERY",
      "Seat": "C10       "
   }

}

I will retrace my steps!!

Thanks mate!! :D

Link to comment
Share on other sites

I've ran a different exam report.....  it looks ,,,,  as usual... we do things differently to...  well...  everyone else!! I'm going to need to adapt  your macro to fix some issues!!!  

At least this is one thing i can get my head round.........  i get excel!! :P

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...