Draft#

Results of the draft lottery held December 1, 1969 to determine the order in which young men would be drafted in 1970 for service in the Vietnam war.

undefined

Initialization#

library(fosdata)
data <- fosdata::draft

Accessing fields#

data <- fosdata::draft
DayofYear <- data$DayofYear # Just a random field in the dataset

Interactive R Sample#

You can use the R editor below to interactively explore the dataset and generate plots. This contains a fully self-contained R environment with fosdata, ggplot2, and dplyr loaded.

webR + fosdata Test

Console
Plot

    
No plot generated yet.
scatterplot

LLM instructions#

If using an LLM, you can copy-paste the following instructions to accompany your prompt to inform the model of the fields and their types in the dataset.

LLM Instructions
The fosdata::draft dataset containing the following fields:

fields[5]{name,type,values}:
  Day,numeric,n/a
  Month,factor,n/a
  MonthNo,numeric,n/a
  DayofYear,numeric,n/a
  DraftNo,numeric,n/a

Fields#

Name Description Type Min Max Values
Day Day of the month. numeric 1 31 -
Month Month abbreviation. factor - - -
MonthNo Month number 1-12. numeric 1 12 -
DayofYear Day of year from 1-366. numeric 1 366 -
DraftNo Draft number from 1-366. Lowest numbers were drafted first. numeric 1 366 -

Source#

United States Government Selective Service System. https://www.sss.gov/history-and-records/vietnam-lotteries/