Giter Site home page Giter Site logo

countyfips's People

Contributors

cbgoodman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

countyfips's Issues

Issue when matching on state and county FIPS

I believe that after the latest update, the dataset contains two separate observations for counties named "St. ...": one starting with St. and another one starting with St. This is great, but I believe this is problematic when matching on State and County fips: for instance, when I run

countyfips, statefips(my_state_fips_codes) countyfips(my_two digit_county_fips_codes)

I get the following error:

variables state_fips county_fips do not uniquely identify observations in the using data
r(459)

I was able to verify that the "St. ..." were the problematic observations, by running the following on the master countyfips data:

bysort state_fips county_fips: gen counter = _n
tab counter

I get the that 30 counties have a repeated observation. All of these are indeed counties named "St. ... "

Linux Backstage County Dataset Update

Hi Chris,
(Or person who follows the bugs for countyfips)
I was getting an error in the Linux platform of UGA supercomputer, but not in my personal computer with a sample of the data. After checking my dataset I decided to run something very simple:


clear all
set obs 1
gen fips=1001
countyfips,fips(fips)
*** The output
(all newnames==oldnames)
(variable fips was float, now double to accommodate using data's values)
variable fips does not uniquely identify observations in the using data
r(459);


This does not happen in my laptop running in stata for windows. I solved the issue moving the DS to Linux, but it is a rather cumbersome and it loses the straightforwardness of the command

I hope thought you might want to know.
Best,

Felipe L

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.