Skip to content

R package with many properties of the chemical elements collected from various public sources

License

Notifications You must be signed in to change notification settings

solarchemist/periodicdata

Repository files navigation

DOI Vignettes

Periodic data

We have scraped a dataset consisting of all chemical elements and around 80 properties and placed them in a more easily accessible format.

This R package includes two vignettes that demonstrate a few different approaches to construct the periodic table and how to plot a property. Our hope is that this package will make it easier for chemists and others interested in the chemical sciences to generate periodic tables of whatever trend they wish to visualise.

This package was based on some of my old projects (see Earlier work below). But I reworked most of the code in honour of the #IYPT2019 and released it as an R package.

IUPAC periodic table

Read the vignette

If that piqued your curiosity, you might also like to read these blog posts that provide some more examples of working with the periodic data:

Install this package

To install this package on your system, I suggest:

install.packages("remotes")
remotes::install_github("solarchemist/periodicdata")

To also build the vignette locally on your computer when installing this package, modify the last line to:

remotes::install_github("solarchemist/periodicdata", build_opts = c("--no-resave-data", "--no-manual"), build_vignettes = TRUE)

Develop this package

Check out the source code from this repo:

git clone https://github.com/solarchemist/periodicdata.git

I suggest the following package rebuild procedure:

  • Run devtools::check(). Should complete with no errors, warnings, or notes:
── R CMD check results ──────────────────────────── periodicdata 0.2.2.9000 ────
Duration: 19.1s

0 errors ✔ | 0 warnings ✔ | 0 notes ✔
  • Run devtools::build_vignettes() in the console. This recompiles the vignette and populates the doc/ directory.
  • Manually remove the line doc from .gitignore (the build step keeps adding it).

Contributions are welcome, no matter whether code, bug reports or suggestions!

Contributions welcome!

To correct or extend this dataset please open an issue or a create a pull request. Other contributions or feedback are also welcome via this repo or contact me directly.

Data sources

Related periodic table datasets

Properties in this dataset

A list of every property in this dataset. If comment does not mention source then it was sourced from periodictable.com.

Property Comment
Name
Symbol
Atomic_Number Atomic_number (Wikipedia)
Atomic_Weight given for the longest lived isotope
Density
Melting_Point
Boiling_Point
Phase at NTP
Absolute_Melting_Point
Absolute_Boiling_Point
Critical_Pressure
Critical_Temperature
Heat_of_Fusion
Heat_of_Vaporization
Specific_Heat
Adiabatic_Index
Neel_Point Neel temperature (Wikipedia)
Thermal_Conductivity
Thermal_Expansion
Density_Liquid
Molar_Volume
Brinell_Hardness
Mohs_Hardness
Vickers_Hardness
Bulk_Modulus
Shear_Modulus
Young_Modulus
Poisson_Ratio
Refractive_Index
Speed_of_Sound
Valence
Electronegativity Electronegativity by Pauling scale
ElectronAffinity Wiki article, Wiki data page
DOT_Hazard_Class US DOT Hazard class (Wikipedia)
DOT_Numbers US DOT number
RTECS_Number Registry of Toxic Effects of Chemical Substances
Alternate_Names
Block s, p, d and so on
Group
Period
Series Series and IUPAC_Series should perhaps be remade and more rigorously sourced
Electron_Configuration
Color
Gas_phase Mono- or diatomic gas in its natural state
CAS_Number CAS registry number (Wikipedia)
CID_Number Compound identification number (PubChem?)
Electrical_Type
Electrical_Conductivity
Resistivity
Superconducting_Point
Magnetic_Type
Curie_Point Curie temperature (Wikipedia)
Mass_Magnetic_Susceptibility
Molar_Magnetic_Susceptibility
Volume_Magnetic_Susceptibility
Percent_in_Universe
Percent_in_Sun
Percent_in_Meteorites
Percent_in_Earths_Crust
Percent_in_Oceans
Percent_in_Humans
Atomic_Radius corresponds well to radii computed from theoretical models by Clementi et al.
Covalent_Radius not sure what source periodictable.com got this property from... Atomic radius (Wikipedia)
Van_der_Waals_Radius correspond to published vdW radii in literature
Space_Group_Name
Space_Group_Number
HalfLife
Lifetime
Decay_Mode
Quantum_Numbers
Neutron_Cross_Section
Neutron_Mass_Absorption
Autoignition_Point
Flashpoint
Heat_of_Combustion
Gmelin_Number
Production global primary production in 2010, kg/yr (Vesborg & Jaramillo, 2012)
Price price in 2010, USD/kg (Vesborg & Jaramillo, 2012)
IUPAC_Period period numbers re-defined to produce IUPAC-style table
IUPAC_Group group numbers re-defined to produce IUPAC-style table
IUPAC_Number atomic numbers as shown in IUPAC-style table
IUPAC_Series

Footnotes

  1. http://www.data-explorer.com/content/data/periodic-table-of-elements-csv.zip

About

R package with many properties of the chemical elements collected from various public sources

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published