View generate_pudl_datadeps.jl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using DataDepsGenerators | |
const RAW_DATASET_TO_DOI = Dict( | |
# {{DATASET}} => https://doi.org/{{DOI}} | |
"censusdp1tract" => "10.5281/zenodo.4127049", | |
"eia860" => "10.5281/zenodo.4127027", | |
"eia860m" => "10.5281/zenodo.4281337", | |
"eia861" => "10.5281/zenodo.4127029", | |
"eia923" => "10.5281/zenodo.4127040", | |
"epacems" => "10.5281/zenodo.4127055", |
View name_search.jl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Functionality for the `names>` repl mode | |
using REPL: moduleusings | |
# search through all accessible names for functionality with a name like `str` | |
names_like(str) = foreach(println, _corrections(str, _accessible_names())) | |
function _accessible_names(mod=Main) # Based on code in stdlib | |
_names(m) = names(m; all=true, imported=true) # include unexported `Base` + `mod` names | |
mod_names = filter!(s -> !Base.isdeprecated(mod, s), _names(mod)) |
View config.fish
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if test -n $_CONDA_ROOT | |
if not contains $_CONDA_ROOT $PATH | |
# add anaconda (or alternatively miniconda) to path so we can use conda | |
set -gx PATH $_CONDA_ROOT $PATH | |
end | |
# make using conda virtual envs possible. Start/stop with | |
# 'conda activate <env>' and 'conda deactivate' | |
source $_CONDA_ROOT/etc/fish/conf.d/conda.fish | |
end |