Learn R Programming

Ecdat (version 0.3-7)

nuclearWeaponStates: Nations with nuclear weapons

Description

Data on the 9 nuclear-weapon states as of April 2019.

Usage

data(nuclearWeaponStates)

Arguments

Format

A dataframe containing :

nation

The name of the country (character). The former USSR is listed here as Russia.

ctry

ISO 31661- alpha-2 two-letter country codes (character).

firstTest

Date of first test of a nuclear weapon.

For Israel, which has not publicly acknowledged that it has nuclear weapons, this uses the Date of the Vela Incident.

firstTestYr

lubridate::decimal_date(firstTest)

yearsSinceLastFirstTest

c(NA, diff(firstTestYr))

nuclearWeapons

number of nuclear weapons

nYieldNA, nLowYield, nMidYield, nHighYield

number of weapons for which the yield in (nYieldNA) = unknown or variable, (nLowYield) = at most 15 kt (kilotons), the size of the Hiroshima bomb, (nMidYield) = greater than 15 but less that 50 kt, and (nHighYield) = at least 50 kt.

popM, popYr

popM = estimated population in millions for year popYr, per the Wikipedia article for the indicated country on 2020-02-05.

GDP_B, GDPyr

GDP_B = nominal Gross Domestic Product in billions of US dollars for year GDPyr, per the Wikipedia article for the indicated country on 2020-02-05.

Examples

Run this code
# NOT RUN {
data(nuclearWeaponStates)
plot(yearsSinceLastFirstTest~firstTest, 
    nuclearWeaponStates, type='h', xlab='', ylab='')
with(nuclearWeaponStates, 
  text(firstTest, yearsSinceLastFirstTest, ctry))
# }

Run the code above in your browser using DataLab