This page provides guidance on writing good video scripts.
From Putting stringr together in "String Manipulation in R with stringr". This gradually builds up code to generate the lyrics to the song "Old MacDonald had a farm". The novelty value (including a singing instructor) and use of pop culture make it highly memorable. The way that a complex output is generated from repeated use of a single, simple function is also rather powerful.
From Tidying Shakespearean Plays in "Sentiment Analysis: The Tidy Way". This has an attention seeking opener (quoting Shakespeare; that dress) to get students engaged.
From What is code profiling in "Writing Efficient R Code". As well as having the instructor dressed up to match the dataset being discussed, this also makes good use of images and screenshots.
How long should the script be?
300 to 400 words is best, and there is an upper limit of 600 words. Most people speak at around 100 to 120 words per minute.
In the rush to cut down the number of words, you may be tempted to stick to plain facts. This risk is that you end up with a really boring video. Try to save some space to provide motivation for what problem you are trying to solve.
Tell a story
People are evolutionarily wired to remember stories. They are also more fun to listen to than plain facts. Try to work a narrative into the script.
Use the ADEPT pattern
ADEPT is a useful pattern for structuring explanations of technical concepts. The steps are as follows.
- Use an Analogy.
- Draw a Diagram.
- Provide a concrete Example.
- Describe it in Plain English.
- Provide a Technical definition.
Common problems and their solutions
Too many tongue twisters
You have to speak the script out loud, all the way through, preferably in one or two takes. For your own sake, try to limit the number of words with seven syllables.
Unlike the coding and multiple choice exercises that students can take at their own pace, video exercises run at a fixed speed, so they have to be understandable in real-time. (You can't assume that students will watch videos multiple times.) This means that they need to be kept fairly simple.
Being too formal
When you write the script, it is easy to slip into a "technical writing voice" that is more formal than your spoken voice. Then when you come to say the words out loud, it can come across as unnatural. Try saying your script out loud to another person (or rubber duck, if no-one is available).
Using local phrases without explanation
If you are a native English speaker, you need to bear in mind that the DataCamp audience is international, and that many students will not understand slang phrases or idioms without explanation. If you want to say "red herring", you need to explain that term.