pgx
AI 에이전트를 위한 경량 Postgres, Rust로 구현, 하나의 런타임에서 수천 개의 격리된 데이터베이스 제공
Carbon & Place가 영국 전역 지역 탄소 발자국을 지도화하고, 인터랙티브 도구로 배출량을 탐색·비교·지역 행동을 지원한다
Carbon & Place maps neighbourhood carbon footprints across Great Britain, with interactive tools to explore emissions, compare places and support local action.
데이터RGitHub @PlaceBasedCarbonCalculator온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기Parse Energy Performance Certificates and Display Energy Certificates for the UK
저장소 README에서 가져옴
README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
Parse Energy Performance Certificates and Display Energy Certificates for the UK
In the UK, domestic and non-domestic buildings are required to have an Energy Performance Certificate (EPC) when they are sold or rented. Certificates are valid for 10 years, and they are the only dataset in the UK where somebody has visited the building and taken measurements and observations.
Publicly accessible buildings are required to have an annual Display Energy Certificate (DEC).README 전문 보기 ↗In the UK, domestic and non-domestic buildings are required to have an Energy Performance Certificate (EPC) when they are sold or rented. Certificates are valid for 10 years, and they are the only dataset in the UK where somebody has visited the building and taken measurements and observations.
Publicly accessible buildings are required to have an annual Display Energy Certificate (DEC).
While there has been a lot of criticism in the UK of EPCs, in particular, they are not very good at predicting actual energy use. They are an invaluable source of data about much of the building stock.
Data for England and Wales is published as Open Data at https://epc.opendatacommunities.org/
Data for Scotland is published at https://www.scottishepcregister.org.uk/
This repo provides much of the pre-processing of the EPC data that is available on the www.carbon.place website. Specifically, it has 3 functions.
The scripts in R/ are run in this order:
import_epc.R, import_nondom_epc.R, import_dec.R (England & Wales) and
import_epc_scotland.R, import_nondom_epc_scotland.R (Scotland).../inputdata/epc/:
clean_epc.R, clean_nondom_epc.R, clean_decs.R,
clean_epc_scot.R, clean_nondom_epc_scot.R.merge_epcs.R combines the cleaned England & Wales and
Scotland data into single Great Britain datasets
(GB_domestic_epc.Rds, GB_nondomestic_epc.Rds).Two further analysis scripts use the raw/cleaned data:
uprn_classifications.R classifies UPRNs by building type and tenure using
the most recent certificate of any kind lodged against each UPRN.epc_over_time.R produces plots and maps of EPC ratings over time by area
classification.Most of the free-text cleaning is done in clean_epc.R and
clean_epc_scot.R, based on functions defined in functions.R and
translate_welsh.R.
Important cleaning functions include:
fix_wm2k, which converts the many versions of watts per square metre kelvin (a unit of heat loss) into a standard format.standardclean, which removes common errors or inconsistencies (e.g. & vs and)yn2logical, which converts yes/no text variables to logical TRUE/FALSEsplitwelsh; in some EPCs, the text is provided in both English and Welsh, separated by |; this function splits and removes the Welsh version.translatewelsh is used when only the Welsh text is available and translates common Welsh phrases to their English equivalents. E.g. "briciau solet" to "solid brick". I used Google Translate for these, and feedback from Welsh speakers is welcome. Oddly, EPCs in Welsh don't only occur in Wales.validate, which checks that a cleaned column only contains values from a
controlled vocabulary (defined in the clean scripts) and converts it to a
factor, stopping with a report of any unexpected values.While the cleaning is not perfect, it does significantly reduce variation between EPCs, which is useful for analysis. For example, instead of thousands of different Main Fuel Types in the raw data, there are about 40 distinct types in the cleaned data.
merge_epcs.R resolves differences between the Scotland and England/Wales datasets. Specifically, the different age bands used by Scotland are mapped to the English/Welsh version. This can result in minor errors, e.g. "1992-1998" becomes "1991-1995"
Note that these scripts read the whole EPC dataset into memory and so require a PC with a large amount of RAM (e.g. 256 GB).
This repo also works on the assumption that the build and inputdata repos are available on the same drive to provide inputs (the downloaded zip files and UPRN locations) and as a place for exports.
See the website for public downloads.